ID: 40180 User updated by: develar at gmail dot com Reported By: develar at gmail dot com -Status: Assigned +Status: Closed Bug Type: Unknown/Other Function Operating System: Windows XP SP2 PHP Version: 5.2.1RC3 Assigned To: iliaa New Comment:
I use 5.2.1RC3-dev. I install last snapshot and now use 5.2.1RC4-dev. Bug fixed. Thanks. Previous Comments: ------------------------------------------------------------------------ [2007-01-20 12:05:48] php_lists at realplain dot com No, actually that fixed it. :-) The previous code was from a patch of mine, and it was modifying yytext (following HEAD's lead! I had since discovered another bug where changing yytext was causing characters to be dropped, which was fixed). Then I realized this hex bug existed too, and Ilia applied my fix before releasing RC3. The "Reproduce code" posted works as expected in RC3, so the reporter was not using RC3 as indicated. Only RC2 had this problem. ------------------------------------------------------------------------ [2007-01-20 09:39:36] [EMAIL PROTECTED] ilia, your last scanner commit broke it: http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_language_scanner.l?r1=1.131.2.11.2.6&r2=1.131.2.11.2.7&pathrev=PHP_5_2&view=patch Can you have a look? ------------------------------------------------------------------------ [2007-01-20 09:20:51] develar at gmail dot com Description: ------------ php_strip_whitespace produce invalid code Reproduce code: --------------- // test.php <?php echo php_strip_whitespace('stripme.php') ?> // stripme.php <?php $foo = 0x9E3779B9; ?> Expected result: ---------------- <?php $foo = 0x9E3779B9; ?> Actual result: -------------- <?php $foo = 9E3779B9; ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40180&edit=1