diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-02-22 08:31:50 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-02-22 08:31:50 +0000 |
commit | e8718dfe67a7b9f185a46640382031ddbed032b6 (patch) | |
tree | 5b3ee24fbf82bbd0db01ffacd25aeadfebe7f9fd | |
parent | ce9bce1fa782375a23c5f26dd66632365613cced (diff) | |
download | php-git-e8718dfe67a7b9f185a46640382031ddbed032b6.tar.gz |
Fixed test
-rw-r--r-- | ext/pcre/tests/bug44191.phpt | 5 |
1 files changed, 4 insertions, 1 deletions
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-- |