ID:               42272
 Updated by:       [EMAIL PROTECTED]
 Reported By:      pilots at rambler dot ru
-Status:           Open
+Status:           Assigned
 Bug Type:         Variables related
 Operating System: WindowsXP
 PHP Version:      5.2.4RC1
-Assigned To:      
+Assigned To:      derick


Previous Comments:
------------------------------------------------------------------------

[2007-08-11 15:50:22] pilots at rambler dot ru

Description:
------------
var_export() incorrectly escapes char(0) in strings. It returns '\000'
in single quotes, therefore then this string can not be imported
correctly.


Reproduce code:
---------------
eval('echo '.var_export("\0",true).';');

Expected result:
----------------
// chr(0)

Actual result:
--------------
\000


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42272&edit=1

Reply via email to