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++) { $page = isset($_GET['page']) ? $_GET['page'] : 'home'; } echo round(microtime(true) - $start, 5);
based on gaLMA
Output for 7.1.0
0.04556
Output for 7.0.14
0.07117
Output for 7.0.6
0.03847
Output for 7.0.5
0.03325
Output for 7.0.4
0.02579
Output for 7.0.3
0.03588
Output for 7.0.2
0.03553
Output for 7.0.1
0.03591
Output for 7.0.0
0.02662
Output for 5.6.28
0.09609
Output for 5.6.21
0.08307
Output for 5.6.20
0.08207
Output for 5.6.19
0.07871
Output for 5.6.18
0.08342
Output for 5.6.17
0.08158
Output for 5.6.16
0.06958
Output for 5.6.15
0.07547
Output for 5.6.14
0.09057
Output for 5.6.13
0.07752
Output for 5.6.12
0.08771
Output for 5.6.11
0.12219
Output for 5.6.10
0.07408
Output for 5.6.9
0.09602
Output for 5.5.25, 5.6.8
0.09219
Output for 5.5.35
0.05965
Output for 5.5.34
0.083
Output for 5.5.33
0.09133
Output for 5.5.32
0.07231
Output for 5.5.31
0.09088
Output for 5.5.30
0.09239
Output for 5.5.29
0.09659
Output for 5.5.28
0.08007
Output for 5.4.26, 5.5.27
0.07223
Output for 5.5.26
0.09247
Output for 5.5.24
0.08683
Output for 5.4.45
0.0825
Output for 5.4.44
0.11019
Output for 5.4.43
0.07178
Output for 5.4.42
0.0833
Output for 5.4.41
0.10715
Output for 5.4.40
0.09192
Output for 5.4.39
0.07186
Output for 5.4.38
0.07633
Output for 5.4.37
0.07446
Output for 5.4.36
0.07246
Output for 5.4.35
0.07593
Output for 5.4.34
0.07372
Output for 5.4.32
0.07159
Output for 5.4.31
0.0926
Output for 5.4.30
0.0702
Output for 5.4.29
0.07043
Output for 5.4.28
0.07268
Output for 5.4.27
0.07277
Output for 5.4.25
0.06978
Output for 5.4.24
0.07851
Output for 5.4.23
0.07248
Output for 5.4.22
0.07783
Output for 5.4.21
0.07726
Output for 5.4.20
0.09418
Output for 5.4.19
0.08421
Output for 5.4.18
0.09188
Output for 5.4.17
0.07867
Output for 5.4.16
0.10711
Output for 5.4.15
0.08365
Output for 5.4.14
0.10839
Output for 5.4.13
0.09099
Output for 5.4.12
0.07229
Output for 5.4.11
0.09097
Output for 5.4.10
0.08913
Output for 5.4.9
0.10272
Output for 5.4.8
0.08687
Output for 5.4.7
0.08509
Output for 5.4.6
0.11148
Output for 5.4.5
0.08914
Output for 5.4.4
0.09961
Output for 5.4.3
0.07457
Output for 5.4.2
0.07712
Output for 5.4.1
0.09042
Output for 5.4.0
0.07672
Output for 5.3.29
0.11874
Output for 5.3.28
0.12539
Output for 5.3.27
0.08878
Output for 5.3.26
0.08576
Output for 5.3.25
0.08886
Output for 5.3.24
0.1032
Output for 5.3.23
0.10044
Output for 5.3.22
0.09846
Output for 5.3.21
0.10227
Output for 5.3.20
0.10934
Output for 5.3.19
0.08862
Output for 5.3.18
0.08673
Output for 5.3.17
0.10169
Output for 5.3.16
0.11037
Output for 5.3.15
0.08751
Output for 5.3.14
0.09176
Output for 5.3.13
0.09466
Output for 5.3.12
0.10022
Output for 5.3.11
0.13312
Output for 5.3.10
0.09947
Output for 5.3.9
0.11249
Output for 5.3.8
0.10964
Output for 5.3.7
0.08952
Output for 5.3.6
0.10477
Output for 5.3.5
0.11903
Output for 5.3.4
0.10224
Output for 5.3.3
0.10514
Output for 5.3.2
0.10696
Output for 5.3.1
0.10905
Output for 5.3.0
0.10667
Output for 5.2.17
0.13159
Output for 5.2.16
0.1713
Output for 5.2.15
0.12635
Output for 5.2.14
0.13597
Output for 5.2.13
0.11835
Output for 5.2.12
0.13811
Output for 5.2.11
0.11411
Output for 5.2.10
0.10444
Output for 5.2.9
0.12742
Output for 5.2.8
0.12192
Output for 5.2.7
0.15267
Output for 5.2.6
0.12285
Output for 5.2.5
0.11333
Output for 5.2.4
0.11125
Output for 5.2.3
0.13125
Output for 5.2.2
0.12878
Output for 5.2.1
0.15468
Output for 5.2.0
0.1468
Output for 5.1.6
0.15629
Output for 5.1.5
0.12811
Output for 5.1.4
0.12798
Output for 5.1.3
0.13481
Output for 5.1.2
0.10653
Output for 5.1.1
0.15109
Output for 5.1.0
0.17566
Output for 5.0.5
0.23445
Output for 5.0.4
0.24776
Output for 5.0.3
0.20371
Output for 5.0.2
0.20017
Output for 5.0.1
0.23012
Output for 5.0.0
0.22063
Output for 4.4.9
0.24412
Output for 4.4.8
0.22771
Output for 4.4.7
0.22527
Output for 4.4.6
-0.69546
Output for 4.4.5
0.22314
Output for 4.4.4
0.26298
Output for 4.4.3
0.22692
Output for 4.4.2
0.32199
Output for 4.4.1
-0.76221
Output for 4.4.0
0.24754
Output for 4.3.11
0.29337
Output for 4.3.10
-0.70313
Output for 4.3.9
0.25468
Output for 4.3.8
0.25258
Output for 4.3.7
0.29667
Output for 4.3.6
0.30561
Output for 4.3.5
-0.75171
Output for 4.3.4
0.22902
Output for 4.3.3
0.29252
Output for 4.3.2
-0.76619
Output for 4.3.1
0.26462
Output for 4.3.0
0.25775