ID:               37262
 Updated by:       [EMAIL PROTECTED]
 Reported By:      idiom at mail dot ru
-Status:           Open
+Status:           Assigned
 Bug Type:         Unknown/Other Function
 Operating System: Windows
 PHP Version:      4.4.2
-Assigned To:      
+Assigned To:      derick
 New Comment:

I'll have a look


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

[2006-05-01 15:15:41] idiom at mail dot ru

Description:
------------
var_export() outputs \0 in variables as is, messing browser

Reproduce code:
---------------
$func = create_function('$a', 'return $a;');
var_export($func);

Expected result:
----------------
identical to:
$func = create_function('$a', 'return $a;');
$output = addcslashes(var_export($func, true), "\0");
echo $output;




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


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

Reply via email to