php-src/ext/standard/tests/strings/bug42208.phpt
Steph Fox 87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00

16 lines
253 B
PHP

--TEST--
Bug #42208 (substr_replace() crashes when the same array is passed more than once)
--FILE--
<?php
$a = array(1, 2);
$c = $a;
var_dump(substr_replace($a, 1, 1, $c));
?>
--EXPECT--
array(2) {
[0]=>
unicode(2) "11"
[1]=>
unicode(2) "21"
}