1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00
Files
archived-php-src/ext/pcre/tests/bug44191.phpt
Felipe Pena 3fd8ccb092 Fix test
2008-02-21 14:22:41 +00:00

17 lines
197 B
PHP

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