3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = ""; for ($t=0; $t<10; $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.4.34 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
input =  bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.32
input = 5.4.32KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.31
input = 5.4.31KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.30
input = 5.4.30KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.29
input = 5.4.29KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.28
input = 5.4.28KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.27
input = 5.4.27KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.26
input = 5.4.26KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.25
input = 5.4.25KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.24
input = 5.4.24KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.23
input = 5.4.23KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.22
input = 5.4.22KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.21
input = 5.4.21KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.20
input = 5.4.20KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.19
input = 5.4.19KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.18
input = 5.4.18KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.17
input = 5.4.17KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.16
input = 5.4.16KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.15
input = 5.4.15KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.14
input = 5.4.14KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.13
input = 5.4.13KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.12
input = 5.4.12KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.11
input = 5.4.11KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.10
input = 5.4.10KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.9
input = 5.4.9KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.8
input = 5.4.8KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.7
input = 5.4.7KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.6
input = 5.4.6KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.5
input = 5.4.5KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.4
input = 5.4.4KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.3
input = 5.4.3KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.2
input = 5.4.2KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.1
input = 5.4.1KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.4.0
input = 5.4.0KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.29
input = 5.3.29KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.28
input = 5.3.28KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.27
input = 5.3.27KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.26
input = 5.3.26KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.25
input = 5.3.25KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.24
input = 5.3.24KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.23
input = 5.3.23KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.22
input = 5.3.22KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.21
input = 5.3.21KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.20
input = 5.3.20KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.19
input = 5.3.19KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.18
input = 5.3.18KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.17
input = 5.3.17KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.16
input = 5.3.16KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.15
input = 5.3.15KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.14
input = 5.3.14KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.13
input = 5.3.13KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.12
input = 5.3.12KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.11
input = 5.3.11KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.10
input = 5.3.10KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.9
input = 5.3.9KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.8
input = 5.3.8KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.7
input = 5.3.7KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.6
input = 5.3.6KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.5
input = 5.3.5KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.4
input = 5.3.4KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.3
input = 5.3.3KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.2
input = 5.3.2KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.1
input = 5.3.1KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.3.0
input = 5.3.0KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.17
input = 5.2.17KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.16
input = 5.2.16KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.15
input = 5.2.15KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.14
input = 5.2.14KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.13
input = 5.2.13KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.12
input = 5.2.12KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.11
input = 5.2.11KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.10
input = 5.2.10KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.9
input = 5.2.9KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.8
input = 5.2.8KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.7
input = 5.2.7KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.6
input = 5.2.6KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.5
input = 5.2.5KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.4
input = 5.2.4KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.3
input = 5.2.3KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.2
input = 5.2.2KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.1
input = 5.2.1KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.2.0
input = 5.2.0KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.1.6
input = 5.1.6KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.1.5
input = 5.1.5KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.1.4
input = 5.1.4KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.1.3
input = 5.1.3KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.1.2
input = 5.1.2KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.1.1
input = 5.1.1KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.1.0
input = 5.1.0KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.0.5
input = 5.0.5KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.0.4
input = 5.0.4KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.0.3
input = 5.0.3KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.0.2
input = 5.0.2KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.0.1
input = 5.0.1KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 5.0.0
input = 5.0.0KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.4.9
input = 4.4.9KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.4.8
input = 4.4.8KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.4.7
input = 4.4.7KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.4.6
input = 4.4.6KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.4.5
input = 4.4.5KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.4.4
input = 4.4.4KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.4.3
input = 4.4.3KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.4.2
input = 4.4.2KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.4.1
input = 4.4.1KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.4.0
input = 4.4.0KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.11
input = 4.3.11KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.10
input = 4.3.10KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.9
input = 4.3.9KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.8
input = 4.3.8KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.7
input = 4.3.7KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.6
input = 4.3.6KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.5
input = 4.3.5KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.4
input = 4.3.4KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.3
input = 4.3.3KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.2
input = 4.3.2KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
Output for 4.3.1
input = 4.3.1KBos7 bool(false) [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]