/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
generators
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/generators/bug76427.phpt
--TEST-- Bug #76427 (Segfault in zend_objects_store_put) --FILE-- <?php $func = function () { yield 2; }; $a = new stdclass(); $b = new stdclass(); $a->b = $b; $b->a = $a; $func = $a->func = $func(); unset($b); unset($a); unset($func); var_dump(gc_collect_cycles()); ?> --EXPECT-- int(2)
Copyright ©2k19 -
Hexid
|
Tex7ure