3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(TRUE); $b = 0; for ($i = 0; $i < 10000; $i++) { $b += $i; } echo microtime(TRUE) - $start;
based on ILsGQ
Output for 7.1.0
0.00025200843811035
Output for 7.0.14
0.00024604797363281
Output for 7.0.10
0.00014209747314453
Output for 7.0.9
0.0001981258392334
Output for 7.0.8
0.00019598007202148
Output for 7.0.7
0.00024795532226562
Output for 7.0.6
0.00017094612121582
Output for 7.0.5
0.00014591217041016
Output for 7.0.4
0.00017619132995605
Output for 7.0.3
0.00020503997802734
Output for 7.0.2
0.00023698806762695
Output for 7.0.1
0.00022506713867188
Output for 7.0.0
0.0002591609954834
Output for 5.6.28
0.00076413154602051
Output for 5.6.25
0.00053095817565918
Output for 5.4.31, 5.6.24
0.0003049373626709
Output for 5.3.13, 5.6.23
0.00043892860412598
Output for 5.3.28, 5.4.0, 5.4.44, 5.5.25, 5.6.22
0.0003969669342041
Output for 5.5.31, 5.6.21
0.00044417381286621
Output for 5.6.20
0.00043511390686035
Output for 5.5.14, 5.6.19
0.00048589706420898
Output for 5.5.7, 5.6.18
0.00040888786315918
Output for 5.6.17
0.00037789344787598
Output for 5.6.16
0.00068902969360352
Output for 5.6.15
0.00041699409484863
Output for 5.6.14
0.00044703483581543
Output for 5.5.11, 5.6.1, 5.6.3, 5.6.13
0.00031018257141113
Output for 5.6.12
0.00039505958557129
Output for 5.6.11
0.00030899047851562
Output for 5.4.36, 5.6.10
0.0004270076751709
Output for 5.5.29, 5.6.9
0.00031113624572754
Output for 5.6.8
0.00051307678222656
Output for 5.6.7
0.00042986869812012
Output for 5.4.30, 5.6.4, 5.6.6
0.00030994415283203
Output for 5.6.5
0.00045204162597656
Output for 5.6.2
0.00033998489379883
Output for 5.6.0
0.00037002563476562
Output for 5.5.38
0.00049304962158203
Output for 5.5.37
0.00041580200195312
Output for 5.5.36
0.00052595138549805
Output for 5.5.35
0.00051116943359375
Output for 5.5.5, 5.5.24, 5.5.34
0.0003199577331543
Output for 5.3.23, 5.4.9, 5.5.33
0.00046992301940918
Output for 5.5.32
0.00032901763916016
Output for 5.5.30
0.00043702125549316
Output for 5.5.28
0.00039291381835938
Output for 5.5.27
0.00046420097351074
Output for 5.5.26
0.00044608116149902
Output for 5.4.22, 5.5.23
0.00036716461181641
Output for 5.4.35, 5.5.22
0.00031089782714844
Output for 5.5.21
0.00039911270141602
Output for 5.5.20
0.00037097930908203
Output for 5.5.19
0.0003509521484375
Output for 5.5.18
0.0003201961517334
Output for 5.5.16
0.00051093101501465
Output for 5.5.15
0.00055789947509766
Output for 5.5.13
0.00054192543029785
Output for 5.5.12
0.00034117698669434
Output for 5.5.10
0.00035190582275391
Output for 5.5.9
0.00046181678771973
Output for 5.5.8
0.00031614303588867
Output for 5.5.6
0.00053596496582031
Output for 5.5.4
0.0004570484161377
Output for 5.5.3
0.00048613548278809
Output for 5.5.2
0.00031900405883789
Output for 5.5.1
0.0004429817199707
Output for 5.5.0
0.00051188468933105
Output for 5.4.1, 5.4.27, 5.4.45
0.00045084953308105
Output for 5.4.43
0.00034713745117188
Output for 5.4.42
0.00035285949707031
Output for 5.4.41
0.00052499771118164
Output for 5.4.40
0.00047993659973145
Output for 5.4.21, 5.4.39
0.00046896934509277
Output for 5.4.38
0.00030112266540527
Output for 5.4.37
0.00039410591125488
Output for 5.4.34
0.00031805038452148
Output for 5.4.32
0.00038290023803711
Output for 5.4.29
0.00032401084899902
Output for 5.4.28
0.00048398971557617
Output for 5.4.26
0.00047397613525391
Output for 5.4.25
0.00046396255493164
Output for 5.4.24
0.00029993057250977
Output for 5.4.23
0.00050902366638184
Output for 5.4.20
0.00049209594726562
Output for 5.4.4, 5.4.19
0.0005180835723877
Output for 5.4.18
0.00029897689819336
Output for 5.4.5, 5.4.17
0.00051999092102051
Output for 5.4.16
0.00046801567077637
Output for 5.4.15
0.00033903121948242
Output for 5.4.14
0.0003058910369873
Output for 5.4.13
0.00032997131347656
Output for 5.4.12
0.00069594383239746
Output for 5.4.11
0.00043797492980957
Output for 5.4.10
0.00049805641174316
Output for 5.4.8
0.00043082237243652
Output for 5.4.7
0.00044989585876465
Output for 5.4.6
0.00034093856811523
Output for 5.4.3
0.00050091743469238
Output for 5.4.2
0.00041103363037109
Output for 5.3.29
0.00061416625976562
Output for 5.3.27
0.00032687187194824
Output for 5.3.26
0.00063419342041016
Output for 5.3.25
0.00038504600524902
Output for 5.3.24
0.00044584274291992
Output for 5.3.22
0.00051617622375488
Output for 5.3.21
0.00063300132751465
Output for 5.3.20
0.00048089027404785
Output for 5.3.19
0.00037288665771484
Output for 5.3.18
0.00065398216247559
Output for 5.3.17
0.00053501129150391
Output for 5.3.16
0.00037503242492676
Output for 5.3.15
0.0005030632019043
Output for 5.3.14
0.00050592422485352
Output for 5.3.12
0.00081086158752441
Output for 5.3.11
0.00047183036804199
Output for 5.3.10
0.00063896179199219
Output for 5.3.9
0.00052213668823242
Output for 5.3.8
0.00057411193847656
Output for 5.3.7
0.00068998336791992
Output for 5.3.6
0.0004420280456543
Output for 5.3.5
0.00059294700622559
Output for 5.3.4
0.00057005882263184
Output for 5.3.3
0.00090789794921875
Output for 5.3.2
0.00063395500183105
Output for 5.3.1
0.00058293342590332
Output for 5.3.0
0.00063014030456543
Output for 5.2.17
0.00085878372192383
Output for 5.2.16
0.0009620189666748
Output for 5.2.15
0.00069022178649902
Output for 5.2.14
0.00084590911865234
Output for 5.2.13
0.00092315673828125
Output for 5.2.3, 5.2.12
0.00086212158203125
Output for 5.2.11
0.0007939338684082
Output for 5.2.10
0.000885009765625
Output for 5.2.9
0.00071096420288086
Output for 5.2.8
0.00094699859619141
Output for 5.2.7
0.000762939453125
Output for 5.2.6
0.00095796585083008
Output for 5.2.5
0.00074386596679688
Output for 5.2.4
0.00084090232849121
Output for 5.2.2
0.00095415115356445
Output for 5.2.1
0.00095295906066895
Output for 5.2.0
0.001086950302124
Output for 5.1.6
0.0010550022125244
Output for 5.1.5
0.00097203254699707
Output for 5.1.4
0.00093197822570801
Output for 5.1.3
0.00099301338195801
Output for 5.1.2
0.001317024230957
Output for 5.1.1
0.00090503692626953
Output for 5.1.0
0.00098800659179688
Output for 5.0.5
0.0026140213012695
Output for 5.0.4
0.0027740001678467
Output for 5.0.3
0.0024378299713135
Output for 5.0.2
0.0025699138641357
Output for 5.0.1
0.0018820762634277
Output for 5.0.0
0.0019841194152832
Output for 4.4.9
0.002973
Output for 4.4.8
0.003031
Output for 4.4.7
0.002655
Output for 4.4.6
0.002677
Output for 4.4.5
0.002661
Output for 4.4.4
0.002526
Output for 4.4.3
0.00269
Output for 4.4.2
0.002713
Output for 4.4.1
0.002691
Output for 4.4.0
0.002392
Output for 4.3.11
0.002805
Output for 4.3.10
0.002702
Output for 4.3.9
0.002978
Output for 4.3.8
0.002434
Output for 4.3.7
0.00207
Output for 4.3.6
0.002544
Output for 4.3.5
0.002647
Output for 4.3.4
0.002796
Output for 4.3.3
0.002879
Output for 4.3.2
0.001899
Output for 4.3.1
0.002524
Output for 4.3.0
0.001586