/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
array
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/array/bug26458.phpt
--TEST-- Bug #26458 (var_dump(), var_export() & debug_zval_dump() are not binary safe for array keys) --FILE-- <?php $test = array("A\x00B" => "Hello world"); var_dump($test); var_export($test); debug_zval_dump($test); ?> --EXPECTF-- array(1) { ["A B"]=> string(11) "Hello world" } array ( 'A' . "\0" . 'B' => 'Hello world', )array(1) refcount(%d){ ["A B"]=> string(11) "Hello world" refcount(%d) }
Copyright ©2k19 -
Hexid
|
Tex7ure