Browse Source

Fix test

PHP-5.2.1RC1
Felipe Pena 19 years ago
parent
commit
3ed933811b
  1. 6
      ext/pcre/tests/bug44191.phpt

6
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--

Loading…
Cancel
Save