xref: /PHP-5.5/Zend/tests/bug34879.phpt (revision 610c7fbe)
1--TEST--
2Bug #34879 (str_replace, array_map corrupt negative array indexes on 64-bit platforms)
3--FILE--
4<?php
5print_r(str_replace('a', 'b', array(-1 =>-1)));
6?>
7--EXPECT--
8Array
9(
10    [-1] => -1
11)