/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/bug78335.phpt
--TEST-- Bug #78335: Static properties/variables containing cycles report as leak --FILE-- <?php class Test { public static $test; public static function method() { static $foo; $foo = [&$foo]; } } function test() { static $foo; $foo = [&$foo]; } $foo = [&$foo]; Test::$test = $foo; test(); Test::method(); ?> ===DONE=== --EXPECT-- ===DONE===
Copyright ©2k19 -
Hexid
|
Tex7ure