Annotation of embedaddon/php/ext/standard/tests/strings/bug33076.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #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: 
        !             8: var_dump($value);
        !             9: 
        !            10: echo "Done\n";
        !            11: ?>
        !            12: --EXPECT--     
        !            13: string(6) "bzexbz"
        !            14: Done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>