mirror of
https://github.com/php/php-src.git
synced 2024-09-26 20:37:29 +00:00
15 lines
221 B
Plaintext
15 lines
221 B
Plaintext
|
--TEST--
|
||
|
Bug #69227 (Use after free in zval_scan caused by spl_object_storage_get_gc)
|
||
|
--INI--
|
||
|
zend.enable_gc=1
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$s = new SplObjectStorage();
|
||
|
$s->attach($s);
|
||
|
gc_collect_cycles();
|
||
|
echo "ok";
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
ok
|