mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
11 lines
197 B
PHP
Executable File
11 lines
197 B
PHP
Executable File
--TEST--
|
|
Bug #34879 (str_replace, array_map corrupt negative array indexes on 64-bit platforms)
|
|
--FILE--
|
|
<?php
|
|
print_r(str_replace('a', 'b', array(-1 =>-1)));
|
|
?>
|
|
--EXPECT--
|
|
Array
|
|
(
|
|
[-1] => -1
|
|
)
|