mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
Fix test
This commit is contained in:
@@ -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--
|
||||
|
||||
Reference in New Issue
Block a user