php-src/Zend/tests/bug34879.phpt
Steph Fox 6d8760677d - killed off UEXPECT
- altered EXPECT for parser errors. This may or may not be a Good Thing.
2008-05-26 14:33:44 +00:00

12 lines
198 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
)