From 7ab8fd9c0a5695a2936f2f4064519faec518e150 Mon Sep 17 00:00:00 2001 From: Felipe Pena <felipe@php.net> Date: Mon, 26 Apr 2010 13:41:00 +0000 Subject: [PATCH] - Fix test --- Zend/tests/gc_022.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/tests/gc_022.phpt b/Zend/tests/gc_022.phpt index 5d7bb8494b..cb9e50a43e 100644 --- a/Zend/tests/gc_022.phpt +++ b/Zend/tests/gc_022.phpt @@ -7,7 +7,7 @@ zend.enable_gc=1 <?php $a = array(array()); $a[0][0] =& $a[0]; -$s = array(1) + unserialize(serialize(&$a[0])); +$s = array(1) + unserialize(serialize($a[0])); var_dump(gc_collect_cycles()); echo "ok\n" ?> -- 2.40.0