1--TEST--
2Bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
3--FILE--
4<?php
5
6$value = str_ireplace("t", "bz", "Text");
7
8var_dump($value);
9
10echo "Done\n";
11?>
12--EXPECT--
13string(6) "bzexbz"
14Done
15