3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "<b>ayat</b><br /><b>ollah</b>"; echo $str; $str = preg_replace( "/</u", "/ </u", $str ); echo $str; ?>
Output for 4.3.0 - 7.1.0
<b>ayat</b><br /><b>ollah</b>/ </ub>ayat/ </u/b>/ </ubr />/ </ub>ollah/ </u/b>