3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = "ab"; $s1 = "cAbfAbe"; $s2 = $s1; do { $s2 = stristr($s,$s2); echo $s2."\n"; echo substr($s2,0,count($s)+1).".\n"; } while ($s2 != false);
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/4etAS on line 9 .
Output for 4.3.0 - 7.1.10
.