mirror of
https://github.com/php/php-src.git
synced 2026-04-24 16:38:25 +02:00
New test
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
--TEST--
|
||||
Bug #44191 (preg_grep messes up array index)
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
$array = range(1, 10);
|
||||
|
||||
preg_grep('/asdf/', $array));
|
||||
|
||||
var_dump($array);
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
0123456789
|
||||
Reference in New Issue
Block a user