Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpc_get_int() don't remove spaces in middle of string
Keep using preg_match() instead of calling filter_var() as the latter's interpretation of what an integer is is too strict for our purposes (e.g. `01` is not considered as an integer). Remove unnecessary capturing group in number validation regex. Fixes #35525
- Loading branch information