xref: /PHP-8.0/Zend/tests/gc_026.phpt (revision 71592cec)
1--TEST--
2GC 026: Automatic GC on request shutdown (GC enabled at run-time)
3--INI--
4zend.enable_gc=0
5--FILE--
6<?php
7gc_enable();
8$a = array(array());
9$a[0][0] =& $a[0];
10unset($a);
11echo "ok\n"
12?>
13--EXPECT--
14ok
15