3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "test1"; $b = strpos($a, "b"); if($b!=FALSE) { $c = substr($a, $b, $b+2); echo $c; } else { echo "not found"; } ?>
Output for 4.3.0 - 7.1.0
not found