3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $iterations = 1000000; $start = microtime(); for ($i=0; $i<$iterations; $i++) { $a = @$_GET['a'] ?: null; } echo round(microtime() - $start, 2);
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/J4WMj on line 10 Notice: A non well formed numeric value encountered in /in/J4WMj on line 10 0.25
Output for 7.0.14
0.01
Output for 7.0.0, 7.0.6
0.21
Output for 7.0.1, 7.0.3, 7.0.5
0.2
Output for 7.0.2, 7.0.4
0.18
Output for hhvm-3.12.0
0.11
Output for 5.5.24, 5.5.28, 5.5.31, 5.5.35, 5.6.14 - 5.6.16, hhvm-3.10.0
0.3
Output for 5.6.28
-0.34
Output for 5.5.25, 5.5.33, 5.6.9, 5.6.17, 5.6.21
0.29
Output for 5.6.20
-0.73
Output for 5.4.7, 5.4.28, 5.6.19
0.38
Output for 5.4.1, 5.4.8, 5.4.19, 5.4.21, 5.6.18
0.35
Output for 5.6.13
0.31
Output for 5.6.12
0.28
Output for 5.6.11
-0.72
Output for 5.5.26 - 5.5.27, 5.6.10
-0.7
Output for 5.6.8
-0.69
Output for 5.4.25, 5.5.29, 5.5.34
-0.68
Output for 5.4.20, 5.4.22, 5.5.32
-0.66
Output for 5.5.30
-0.71
Output for 5.3.2, 5.3.8, 5.3.10, 5.4.38, 5.4.40, 5.4.45
0.45
Output for 5.4.9, 5.4.44
-0.42
Output for 5.4.43
0.58
Output for 5.3.3, 5.3.5, 5.4.34, 5.4.42
-0.55
Output for 5.3.0, 5.4.41
0.43
Output for 5.4.39
0.42
Output for 5.3.4, 5.3.14, 5.4.37
0.46
Output for 5.3.19, 5.3.23, 5.4.0, 5.4.36
-0.57
Output for 5.4.35
-0.46
Output for 5.4.32
-0.63
Output for 5.4.3, 5.4.24, 5.4.31
0.37
Output for 5.4.14, 5.4.30
-0.62
Output for 5.4.29
0.32
Output for 5.4.27
-0.65
Output for 5.4.23, 5.4.26
0.34
Output for 5.4.18
0.36
Output for 5.3.9, 5.3.17, 5.4.17
-0.59
Output for 5.3.27, 5.4.16
-0.41
Output for 5.4.5, 5.4.15
0.51
Output for 5.3.6, 5.4.13
0.49
Output for 5.3.11, 5.3.13, 5.4.12
-0.54
Output for 5.3.26, 5.4.11
0.52
Output for 5.4.10
-0.36
Output for 5.4.6
-0.6
Output for 5.4.4
-0.4
Output for 5.4.2
0.47
Output for 5.3.12, 5.3.16, 5.3.22, 5.3.24, 5.3.29
0.44
Output for 5.3.28
-0.45
Output for 5.3.25
-0.47
Output for 5.3.1, 5.3.21
-0.58
Output for 5.3.20
0.41
Output for 5.3.18
0.48
Output for 5.3.15
-0.53
Output for 5.3.7
-0.52
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected ':' in /in/J4WMj on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected ':' in /in/J4WMj on line 7
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/J4WMj on line 7
Process exited with code 255.