3v4l.org

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