php-src/Zend/tests/gc_026.phpt

15 lines
208 B
Plaintext
Raw Normal View History

2008-01-22 17:29:29 +08:00
--TEST--
GC 026: Automatic GC on request shutdown (GC enabled at run-time)
--INI--
zend.enable_gc=0
--FILE--
<?php
gc_enable();
$a = array(array());
$a[0][0] =& $a[0];
unset($a);
echo "ok\n"
?>
--EXPECT--
ok