mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
9 lines
186 B
PHP
9 lines
186 B
PHP
--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>*/
|