3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $iterations = 1000000; $start = microtime(true); for ($i=0; $i<$iterations; $i++) { $a = @$_GET['page'] ?: 'home'; } echo round(microtime(true) - $start, 5);
based on nBL5h
Output for 7.1.0
0.25979
Output for 7.0.14
0.23695
Output for 7.0.6
0.18532
Output for 7.0.5
0.18145
Output for 7.0.4
0.18765
Output for 7.0.3
0.20365
Output for 7.0.2
0.1775
Output for 7.0.1
0.21852
Output for 7.0.0
0.21843
Output for 5.6.21
0.29875
Output for 5.6.20
0.28522
Output for 5.6.19
0.28826
Output for 5.6.18
0.30658
Output for 5.6.17
0.28847
Output for 5.6.16
0.31876
Output for 5.6.15
0.29609
Output for 5.6.14
0.30379
Output for 5.6.13
0.28996
Output for 5.6.12
0.29474
Output for 5.6.11
0.30844
Output for 5.6.10
0.30589
Output for 5.6.9
0.2982
Output for 5.6.8
0.3091
Output for 5.5.35
0.32774
Output for 5.5.34
0.30344
Output for 5.5.33
0.3212
Output for 5.5.32
0.32196
Output for 5.5.31
0.33411
Output for 5.5.30
0.30362
Output for 5.5.29
0.32546
Output for 5.5.28
0.29363
Output for 5.5.27
0.30827
Output for 5.5.26
0.31595
Output for 5.5.25
0.31724
Output for 5.5.24
0.29459
Output for 5.4.45
0.89774
Output for 5.4.44
1.1298
Output for 5.4.43
1.11417
Output for 5.4.42
1.11037
Output for 5.4.41
0.56085
Output for 5.4.40
0.50169
Output for 5.4.39
0.37774
Output for 5.4.38
0.50922
Output for 5.4.37
0.47158
Output for 5.4.36
0.47784
Output for 5.4.35
0.49663
Output for 5.4.34
0.46737
Output for 5.4.32
0.34066
Output for 5.4.31
0.3781
Output for 5.4.30
0.33125
Output for 5.4.29
0.37224
Output for 5.4.28
0.33476
Output for 5.4.27
0.56633
Output for 5.4.26
0.46843
Output for 5.4.25
0.39112
Output for 5.4.24
0.48441
Output for 5.4.23
0.40491
Output for 5.4.22
0.44164
Output for 5.4.21
0.38083
Output for 5.4.20
0.38385
Output for 5.4.19
0.4272
Output for 5.4.18
0.40881
Output for 5.4.17
0.37562
Output for 5.4.16
0.42317
Output for 5.4.15
0.38039
Output for 5.4.14
0.37902
Output for 5.4.13
0.3577
Output for 5.4.12
0.38942
Output for 5.4.11
0.37817
Output for 5.4.10
0.39863
Output for 5.4.9
0.51102
Output for 5.4.8
0.34936
Output for 5.4.7
0.34559
Output for 5.4.6
0.33469
Output for 5.4.5
0.35991
Output for 5.4.4
0.3535
Output for 5.4.3
0.34191
Output for 5.4.2
0.36937
Output for 5.4.1
0.3655
Output for 5.4.0
0.40261
Output for 5.3.29
0.47897
Output for 5.3.28
0.49919
Output for 5.3.27
0.56345
Output for 5.3.26
0.47967
Output for 5.3.25
0.46196
Output for 5.3.24
0.57225
Output for 5.3.23
0.46112
Output for 5.3.22
0.49907
Output for 5.3.21
0.4615
Output for 5.3.20
0.47429
Output for 5.3.19
0.46213
Output for 5.3.18
0.54913
Output for 5.3.17
0.50312
Output for 5.3.16
0.5319
Output for 5.3.15
0.54059
Output for 5.3.14
0.48848
Output for 5.3.13
0.48781
Output for 5.3.12
0.51373
Output for 5.3.11
0.60686
Output for 5.3.10
0.49077
Output for 5.3.9
0.46348
Output for 5.3.8
0.4962
Output for 5.3.7
0.51341
Output for 5.3.6
0.54805
Output for 5.3.5
0.54397
Output for 5.3.4
0.49723
Output for 5.3.3
0.52292
Output for 5.3.2
0.5295
Output for 5.3.1
0.46564
Output for 5.3.0
0.45567
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected ':' in /in/6cMNP on line 9
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/6cMNP on line 9
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/6cMNP on line 9
Process exited with code 255.