1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
This commit is contained in:
Felipe Pena
2008-02-21 14:22:41 +00:00
parent 1fa1bd7ac8
commit 3fd8ccb092

View File

@@ -4,8 +4,12 @@ Bug #44191 (preg_grep messes up array index)
<?php
$array = range(1, 10);
preg_grep('/asdf/', $array);
var_dump($array);
while (list($x) = each($array)) {
print $x;
}
?>
--EXPECT--