mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
15 lines
208 B
PHP
15 lines
208 B
PHP
--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
|