/
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/bug43505.phpt
--TEST-- Bug #43505 (Assign by reference bug) --INI-- error_reporting=0 --FILE-- <?php class Test implements Countable { public function count() { return $some; } } $obj = new Test(); $a = array(); $b =& $a['test']; var_dump($a); $t = count($obj); $a = array(); $b =& $a['test']; var_dump($a); ?> --EXPECT-- array(1) { ["test"]=> &NULL } array(1) { ["test"]=> &NULL }
Copyright ©2k19 -
Hexid
|
Tex7ure