blob: 5a455d725793b67474d4103e5e3b8c1506615462 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--TEST--
Bug #42272: var_export() incorrectly escapes char(0).
--FILE--
<?php
$foo = var_export("\0", true );
echo $foo, "\n";
var_export("a\0b");
?>
--EXPECT--
'' . "\0" . ''
'a' . "\0" . 'b'
|