mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
87fac43ac0
- html_translation_table and setlocale tests are no longer relevant - there are a number of ANSI-encoded files. Is this deliberate?
15 lines
232 B
PHP
15 lines
232 B
PHP
--TEST--
|
|
Bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
|
|
--FILE--
|
|
<?php
|
|
|
|
$value = str_ireplace("t", "bz", "Text");
|
|
|
|
var_dump($value);
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECT--
|
|
unicode(6) "bzexbz"
|
|
Done
|