From: Dmitry Stogov Date: Fri, 22 Feb 2008 08:31:50 +0000 (+0000) Subject: Fixed test X-Git-Tag: RELEASE_2_0_0a1~388 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8718dfe67a7b9f185a46640382031ddbed032b6;p=php Fixed test --- 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--