1--TEST-- 2Bug #27675 (str_ireplace segfaults when shrinking string) 3--FILE-- 4<?php 5echo str_ireplace('/*<B>', '<B>', '/*<b> I am a comment</b>*/'); 6?> 7--EXPECT-- 8<B> I am a comment</b>*/ 9