summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorTheodore Brown <theodorejb@outlook.com>2019-05-09 14:19:52 -0500
committerNikita Popov <nikita.ppv@gmail.com>2019-05-13 11:04:56 +0200
commitb6b15fc65cc7898bc1ea992ec607ddb7f94e8eb8 (patch)
tree90e4f4bd0087ba514898ea0c99bad7a4adebd379 /ext/reflection/php_reflection.c
parentf95b27c6f63eaa0d580180f34643c35f8bbc5ddd (diff)
downloadphp-git-b6b15fc65cc7898bc1ea992ec607ddb7f94e8eb8.tar.gz
Fix #77993: Wrong parse error for invalid hex literal on Windows
If a PHP file contains an invalid hex literal such as `0x_10`, the expected error is `Parse error: syntax error, unexpected 'x_10' (T_STRING) in %s on line %d`. This already worked correctly on Linux, but on Windows prior to this patch a different error was produced: `Parse error: Invalid numeric literal in %s on line %d`.
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions