/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
reflection
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/reflection/tests/ReflectionReference_bug78263.phpt
--TEST-- Bug #78263: Handling of self-referential array special case --FILE-- <?php // The case of a directly self-referential array is special and will // be treated as a proper reference despite rc=1 during array copying. $a = [&$a]; $b = [$a]; unset($a); var_dump(ReflectionReference::fromArrayElement($b[0], 0)); ?> --EXPECT-- object(ReflectionReference)#1 (0) { }
Copyright ©2k19 -
Hexid
|
Tex7ure