3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = ""; for ($t=0; $t<2; $t++) $input .= chr($t); echo "input = ".$input."\n\n"; var_dump(strpos($input, ".")); for ($t=0; $t<strlen($input); $t++) echo "[".ord(substr($input, $t, 1))."] ";
Output for 4.3.0 - 7.1.0
input =  bool(false) [0] [1]