From: Felipe Pena Date: Thu, 21 Feb 2008 14:22:04 +0000 (+0000) Subject: Fix test X-Git-Tag: php-5.2.6RC1~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ed933811bc6adf323c8131aca607c9661153d97;p=php Fix test --- diff --git a/ext/pcre/tests/bug44191.phpt b/ext/pcre/tests/bug44191.phpt index eaffaaad2b..52b449091b 100644 --- a/ext/pcre/tests/bug44191.phpt +++ b/ext/pcre/tests/bug44191.phpt @@ -5,9 +5,11 @@ Bug #44191 (preg_grep messes up array index) $array = range(1, 10); -preg_grep('/asdf/', $array)); +preg_grep('/asdf/', $array); -var_dump($array); +while (list($x) = each($array)) { + print $x; +} ?> --EXPECT--