3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = "ab"; $s1 = "cAbfAbe"; $s2 = $s; do { $s2 = stristr($s1,$s2); echo $s2."\n"; echo substr($s2,0,count($s)+1).".\n"; } while ($s2 != false); echo str_ireplace($s,$s,$s1);