<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/Zend/tests/bug77993.phpt, branch php-7.2.31</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Fix #77993: Wrong parse error for invalid hex literal on Windows</title>
<updated>2019-05-13T09:04:56+00:00</updated>
<author>
<name>Theodore Brown</name>
<email>theodorejb@outlook.com</email>
</author>
<published>2019-05-09T19:19:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b6b15fc65cc7898bc1ea992ec607ddb7f94e8eb8'/>
<id>b6b15fc65cc7898bc1ea992ec607ddb7f94e8eb8</id>
<content type='text'>
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`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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`.
</pre>
</div>
</content>
</entry>
</feed>
