#40180 [Opn->Asn]: php_strip_whitespace break hexadecimal int
| From: | johannes@php.net | Date: | Sat, 20 Jan 2007 09:39:37 +0000 |
| Subject: | #40180 [Opn->Asn]: php_strip_whitespace break hexadecimal int | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107814@lists.php.net to get a copy of this message | ||
ID: 40180
Updated by: johannes@php.net
Reported By: develar at gmail dot com
-Status: Open
+Status: Assigned
Bug Type: Unknown/Other Function
Operating System: Windows XP SP2
PHP Version: 5.2.1RC3
-Assigned To:
+Assigned To: iliaa
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[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