
| Path : /usr/src/php/ext/pcre/tests/ |
| Current File : //usr/src/php/ext/pcre/tests/bug44191.phpt |
--TEST--
Bug #44191 (preg_grep messes up array index)
--FILE--
<?php
$array = range(1, 10);
preg_grep('/asdf/', $array);
while (list($x) = each($array)) {
print $x;
}
?>
--EXPECT--
0123456789