summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug27675.phpt
blob: a5d4294b2ce65f801afefba3f7d5863217fd0246 (plain)
1
2
3
4
5
6
7
8
--TEST--
Bug #27675 (str_ireplace segfaults when shrinking string)
--FILE--
<?php
echo str_ireplace('/*<B>', '<B>', '/*<b> I am a comment</b>*/');
?>
--EXPECT--
<B> I am a comment</b>*/