From 08b9702f8a190876a23f75844978831dd563853e Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Thu, 18 Oct 2012 16:06:20 +0800 Subject: [PATCH] Add comments --- Zend/tests/bug63055.phpt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Zend/tests/bug63055.phpt b/Zend/tests/bug63055.phpt index 0901e5b34e..16c50b54e5 100644 --- a/Zend/tests/bug63055.phpt +++ b/Zend/tests/bug63055.phpt @@ -2,20 +2,20 @@ Bug #63055 (Segfault in zend_gc with SF2 testsuite) --FILE-- "bar"); -$dummy = array("dummy"); +$matches = array("foo" => "bar"); /* this bucket will trigger the segfault */ +$dummy = array("dummy"); /* used to trigger gc_collect_cycles */ $dummy[1] = &$dummy; $matches[1] = &$matches; $matches[2] = $dummy; -$ma = $matches; preg_match_all("/(\d)+/", "foo123456bar", $matches); echo "okey"; ?> -- 2.40.0