diff options
author | Theodore Brown <theodorejb@outlook.com> | 2019-05-09 14:19:52 -0500 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-13 11:04:56 +0200 |
commit | b6b15fc65cc7898bc1ea992ec607ddb7f94e8eb8 (patch) | |
tree | 90e4f4bd0087ba514898ea0c99bad7a4adebd379 /ext/reflection/php_reflection.c | |
parent | f95b27c6f63eaa0d580180f34643c35f8bbc5ddd (diff) | |
download | php-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