From e8718dfe67a7b9f185a46640382031ddbed032b6 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 22 Feb 2008 08:31:50 +0000 Subject: [PATCH] Fixed test --- ext/pcre/tests/bug44191.phpt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ext/pcre/tests/bug44191.phpt b/ext/pcre/tests/bug44191.phpt index 200fb78a8f..39f7a84528 100644 --- a/ext/pcre/tests/bug44191.phpt +++ b/ext/pcre/tests/bug44191.phpt @@ -5,7 +5,10 @@ Bug #44191 (preg_grep messes up array index) $array = range(1, 10); preg_grep('/asdf/', $array); -var_dump($array); + +while (list($x) = each($array)) { + print $x; +} ?> --EXPECT-- -- 2.50.1