summaryrefslogtreecommitdiff
path: root/Zend/tests/gc_025.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/gc_025.phpt')
-rw-r--r--Zend/tests/gc_025.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/gc_025.phpt b/Zend/tests/gc_025.phpt
new file mode 100644
index 0000000000..5ae6527257
--- /dev/null
+++ b/Zend/tests/gc_025.phpt
@@ -0,0 +1,11 @@
+--TEST--
+GC 025: Automatic GC on request shutdown
+--FILE--
+<?php
+$a = array(array());
+$a[0][0] =& $a[0];
+unset($a);
+echo "ok\n"
+?>
+--EXPECT--
+ok