3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = microtime(true); for($i = 0; $i < 100000; $i++) { $a = 100; $b = 200; $c = $a === $b; } echo sprintf("%f seconds", microtime(true) - $s);
Output for 7.1.0
0.002065 seconds
Output for 7.0.14
0.003575 seconds
Output for 7.0.6
0.001978 seconds
Output for 7.0.5
0.003264 seconds
Output for 7.0.4
0.003582 seconds
Output for 7.0.3
0.003257 seconds
Output for 7.0.2
0.003499 seconds
Output for 7.0.1
0.002789 seconds
Output for 7.0.0
0.002796 seconds
Output for hhvm-3.12.0
0.008513 seconds
Output for hhvm-3.10.0
0.011618 seconds
Output for 5.6.28
0.011377 seconds
Output for 5.6.21
0.006307 seconds
Output for 5.6.20
0.004167 seconds
Output for 5.6.19
0.006873 seconds
Output for 5.6.18
0.004366 seconds
Output for 5.6.17
0.004731 seconds
Output for 5.6.16
0.006249 seconds
Output for 5.6.15
0.005687 seconds
Output for 5.6.14
0.004853 seconds
Output for 5.6.13
0.005665 seconds
Output for 5.6.12
0.004369 seconds
Output for 5.6.11
0.005908 seconds
Output for 5.6.10
0.005422 seconds
Output for 5.6.9
0.006979 seconds
Output for 5.6.8
0.004338 seconds
Output for 5.6.5, 5.6.7
0.004128 seconds
Output for 5.6.6
0.004154 seconds
Output for 5.5.13, 5.5.23, 5.6.4
0.004050 seconds
Output for 5.6.3
0.005022 seconds
Output for 5.6.2
0.004088 seconds
Output for 5.6.1
0.005084 seconds
Output for 5.6.0
0.004104 seconds
Output for 5.5.35
0.004103 seconds
Output for 5.5.34
0.005703 seconds
Output for 5.5.33
0.006783 seconds
Output for 5.5.32
0.005887 seconds
Output for 5.5.31
0.006558 seconds
Output for 5.5.30
0.006497 seconds
Output for 5.5.29
0.007443 seconds
Output for 5.5.28
0.006642 seconds
Output for 5.5.27
0.006831 seconds
Output for 5.5.26
0.006805 seconds
Output for 5.5.25
0.004312 seconds
Output for 5.5.24
0.004124 seconds
Output for 5.5.22
0.004091 seconds
Output for 5.5.21
0.004302 seconds
Output for 5.5.20
0.004133 seconds
Output for 5.5.19
0.006607 seconds
Output for 5.5.18
0.004242 seconds
Output for 5.5.16
0.004090 seconds
Output for 5.5.15
0.004106 seconds
Output for 5.5.14
0.004294 seconds
Output for 5.5.12
0.004007 seconds
Output for 5.5.11
0.004035 seconds
Output for 5.5.10
0.004000 seconds
Output for 5.5.9
0.003963 seconds
Output for 5.5.8
0.004017 seconds
Output for 5.5.7
0.004117 seconds
Output for 5.5.6
0.006634 seconds
Output for 5.5.5
0.005493 seconds
Output for 5.5.4
0.006178 seconds
Output for 5.5.3
0.006941 seconds
Output for 5.5.2
0.005903 seconds
Output for 5.5.1
0.006859 seconds
Output for 5.5.0
0.005299 seconds
Output for 5.4.45
0.006701 seconds
Output for 5.4.44
0.005608 seconds
Output for 5.4.43
0.005103 seconds
Output for 5.4.42
0.005936 seconds
Output for 5.4.41
0.006125 seconds
Output for 5.4.40
0.005904 seconds
Output for 5.4.39
0.004100 seconds
Output for 5.4.23, 5.4.38
0.004328 seconds
Output for 5.4.37
0.004274 seconds
Output for 5.4.36
0.003998 seconds
Output for 5.4.35
0.003999 seconds
Output for 5.4.34
0.005550 seconds
Output for 5.4.32
0.004248 seconds
Output for 5.4.31
0.004127 seconds
Output for 5.4.30
0.004337 seconds
Output for 5.4.29
0.003996 seconds
Output for 5.4.28
0.004590 seconds
Output for 5.4.27
0.004016 seconds
Output for 5.4.26
0.003987 seconds
Output for 5.4.25
0.004074 seconds
Output for 5.4.24
0.003971 seconds
Output for 5.4.22
0.005026 seconds
Output for 5.4.21
0.006262 seconds
Output for 5.4.20
0.006619 seconds
Output for 5.4.19
0.007292 seconds
Output for 5.4.18
0.006525 seconds
Output for 5.4.17
0.006456 seconds
Output for 5.4.16
0.004155 seconds
Output for 5.4.15
0.004143 seconds
Output for 5.4.14
0.007198 seconds
Output for 5.4.13
0.006479 seconds
Output for 5.4.12
0.006857 seconds
Output for 5.4.11
0.006721 seconds
Output for 5.4.10
0.006115 seconds
Output for 5.4.9
0.007050 seconds
Output for 5.4.8
0.005888 seconds
Output for 5.4.7
0.005248 seconds
Output for 5.4.6
0.004759 seconds
Output for 5.4.5
0.004131 seconds
Output for 5.4.4
0.004134 seconds
Output for 5.4.3
0.006452 seconds
Output for 5.4.2
0.007654 seconds
Output for 5.4.1
0.007017 seconds
Output for 5.4.0
0.006457 seconds
Output for 5.3.29
0.008332 seconds
Output for 5.3.28
0.006230 seconds
Output for 5.3.27
0.009220 seconds
Output for 5.3.26
0.009615 seconds
Output for 5.3.25
0.008083 seconds
Output for 5.3.24
0.006923 seconds
Output for 5.3.23
0.009546 seconds
Output for 5.3.22
0.008870 seconds
Output for 5.3.21
0.008816 seconds
Output for 5.3.20
0.009501 seconds
Output for 5.3.19
0.005966 seconds
Output for 5.3.18
0.009950 seconds
Output for 5.3.17
0.008825 seconds
Output for 5.3.16
0.008136 seconds
Output for 5.3.15
0.005926 seconds
Output for 5.3.14
0.005916 seconds
Output for 5.3.13
0.009927 seconds
Output for 5.3.12
0.010432 seconds
Output for 5.3.11
0.013691 seconds
Output for 5.3.10
0.009715 seconds
Output for 5.3.9
0.009036 seconds
Output for 5.3.8
0.010164 seconds
Output for 5.3.7
0.009502 seconds
Output for 5.3.6
0.009989 seconds
Output for 5.3.5
0.006074 seconds
Output for 5.3.4
0.006137 seconds
Output for 5.3.3
0.007358 seconds
Output for 5.3.2
0.008347 seconds
Output for 5.3.1
0.009400 seconds
Output for 5.3.0
0.007194 seconds
Output for 5.2.17
0.008862 seconds
Output for 5.2.16
0.008152 seconds
Output for 5.2.15
0.008522 seconds
Output for 5.2.14
0.010639 seconds
Output for 5.2.13
0.011854 seconds
Output for 5.2.12
0.009926 seconds
Output for 5.2.11
0.014073 seconds
Output for 5.2.10
0.013432 seconds
Output for 5.2.9
0.015939 seconds
Output for 5.2.8
0.009579 seconds
Output for 5.2.7
0.011515 seconds
Output for 5.2.6
0.014485 seconds
Output for 5.2.5
0.009460 seconds
Output for 5.2.4
0.015287 seconds
Output for 5.2.3
0.013786 seconds
Output for 5.2.2
0.009946 seconds
Output for 5.2.1
0.015223 seconds
Output for 5.2.0
0.014417 seconds
Output for 5.1.6
0.010177 seconds
Output for 5.1.5
0.008714 seconds
Output for 5.1.4
0.008829 seconds
Output for 5.1.3
0.008537 seconds
Output for 5.1.2
0.013654 seconds
Output for 5.1.1
0.008430 seconds
Output for 5.1.0
0.015086 seconds
Output for 5.0.5
0.035480 seconds
Output for 5.0.4
0.044892 seconds
Output for 5.0.3
0.035204 seconds
Output for 5.0.2
0.036293 seconds
Output for 5.0.1
0.041010 seconds
Output for 5.0.0
0.023734 seconds
Output for 4.4.9
0.024107 seconds
Output for 4.4.8
0.036536 seconds
Output for 4.4.7
0.045783 seconds
Output for 4.4.6
0.036483 seconds
Output for 4.4.5
0.043467 seconds
Output for 4.4.4
0.026085 seconds
Output for 4.4.3
0.050453 seconds
Output for 4.4.2
0.032551 seconds
Output for 4.4.1
0.045021 seconds
Output for 4.4.0
0.026159 seconds
Output for 4.3.11
0.043360 seconds
Output for 4.3.10
0.043514 seconds
Output for 4.3.9
0.039359 seconds
Output for 4.3.8
0.042983 seconds
Output for 4.3.7
0.044966 seconds
Output for 4.3.6
0.033703 seconds
Output for 4.3.5
0.050768 seconds
Output for 4.3.4
0.040883 seconds
Output for 4.3.3
0.028754 seconds
Output for 4.3.2
0.042060 seconds
Output for 4.3.1
0.039369 seconds
Output for 4.3.0
0.038193 seconds