3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = ""; for ($t=0; $t<8; $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 - 5.3.28, 5.4.0 - 5.4.27, 5.4.34 - 7.1.10
input =  bool(false) [0] [1] [2] [3] [4] [5] [6] [7]
Output for 5.4.32
input = 5.4.32JBovq bool(false) [0] [1] [2] [3] [4] [5] [6] [7]
Output for 5.4.31
input = 5.4.31JBovq bool(false) [0] [1] [2] [3] [4] [5] [6] [7]
Output for 5.4.30
input = 5.4.30JBovq bool(false) [0] [1] [2] [3] [4] [5] [6] [7]
Output for 5.4.29
input = 5.4.29JBovq bool(false) [0] [1] [2] [3] [4] [5] [6] [7]
Output for 5.4.28
input = 5.4.28JBovq bool(false) [0] [1] [2] [3] [4] [5] [6] [7]
Output for 5.3.29
input = 5.3.29JBovq bool(false) [0] [1] [2] [3] [4] [5] [6] [7]