3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(true); for($i=0; $i<1000000; $i++){ } $end = microtime(true); echo $end-$start;
Output for 7.1.0
0.007641077041626
Output for 7.0.14
0.013628959655762
Output for 7.0.10
0.0090279579162598
Output for 7.0.9
0.010931015014648
Output for 7.0.8
0.0096819400787354
Output for 7.0.7
0.010692119598389
Output for 7.0.6
0.012941837310791
Output for 7.0.5
0.010865926742554
Output for 7.0.4
0.011312961578369
Output for 7.0.3
0.010216951370239
Output for 7.0.2
0.012573957443237
Output for 7.0.1
0.011129140853882
Output for 7.0.0
0.0121009349823
Output for hhvm-3.12.0
0.043663024902344
Output for hhvm-3.10.0
0.051557779312134
Output for 5.6.28
0.0469810962677
Output for 5.6.25
0.031528949737549
Output for 5.6.24
0.023676872253418
Output for 5.6.23
0.026429176330566
Output for 5.6.22
0.029320001602173
Output for 5.6.21
0.028227090835571
Output for 5.6.20
0.028632879257202
Output for 5.6.19
0.0293869972229
Output for 5.6.18
0.027719974517822
Output for 5.6.17
0.034915208816528
Output for 5.6.16
0.031071186065674
Output for 5.6.15
0.028986930847168
Output for 5.6.14
0.033552169799805
Output for 5.6.13
0.027497053146362
Output for 5.6.12
0.030229091644287
Output for 5.6.11
0.023864030838013
Output for 5.6.10
0.030571937561035
Output for 5.6.9
0.035490036010742
Output for 5.6.8
0.025361061096191
Output for 5.6.7
0.026149034500122
Output for 5.6.6
0.028394937515259
Output for 5.6.5
0.033303022384644
Output for 5.6.4
0.029111862182617
Output for 5.6.3
0.025721073150635
Output for 5.6.2
0.022501945495605
Output for 5.6.1
0.029530048370361
Output for 5.6.0
0.034695148468018
Output for 5.5.38
0.030544996261597
Output for 5.5.37
0.03171706199646
Output for 5.5.36
0.026170015335083
Output for 5.5.35
0.028977870941162
Output for 5.5.34
0.038979768753052
Output for 5.5.33
0.022680044174194
Output for 5.5.32
0.036569118499756
Output for 5.5.31
0.033411026000977
Output for 5.5.30
0.024084091186523
Output for 5.5.29
0.02738094329834
Output for 5.5.28
0.033566951751709
Output for 5.5.27
0.031102180480957
Output for 5.5.26
0.033615827560425
Output for 5.5.25
0.033748865127563
Output for 5.5.24
0.031955003738403
Output for 5.5.23
0.026709079742432
Output for 5.5.22
0.029428005218506
Output for 5.5.21
0.03181004524231
Output for 5.5.20
0.027942180633545
Output for 5.5.19
0.031578063964844
Output for 5.5.18
0.02691388130188
Output for 5.5.16
0.027281999588013
Output for 5.5.15
0.023275852203369
Output for 5.5.14
0.035324096679688
Output for 5.5.13
0.028063058853149
Output for 5.5.12
0.028857946395874
Output for 5.5.11
0.026985883712769
Output for 5.5.10
0.028582096099854
Output for 5.5.9
0.032291889190674
Output for 5.5.8
0.028496026992798
Output for 5.5.7
0.034157037734985
Output for 5.5.6
0.037081003189087
Output for 5.5.5
0.028531074523926
Output for 5.5.4
0.02384090423584
Output for 5.5.3
0.033370971679688
Output for 5.5.2
0.033365964889526
Output for 5.5.1
0.032366991043091
Output for 5.5.0
0.032279014587402
Output for 5.4.45
0.021417856216431
Output for 5.4.44
0.029238939285278
Output for 5.4.43
0.025943040847778
Output for 5.4.42
0.033317089080811
Output for 5.4.41
0.031333923339844
Output for 5.4.40
0.030159950256348
Output for 5.4.39
0.030683040618896
Output for 5.4.38
0.033249139785767
Output for 5.4.37
0.021831035614014
Output for 5.4.36
0.030991077423096
Output for 5.4.35
0.030786037445068
Output for 5.4.34
0.021565914154053
Output for 5.4.32
0.038574934005737
Output for 5.4.31
0.034090042114258
Output for 5.4.30
0.037580013275146
Output for 5.4.29
0.02661395072937
Output for 5.4.28
0.029830932617188
Output for 5.4.27
0.033343076705933
Output for 5.4.26
0.028079986572266
Output for 5.4.25
0.03629994392395
Output for 5.4.24
0.023597002029419
Output for 5.4.23
0.030864000320435
Output for 5.4.22
0.033209085464478
Output for 5.4.21
0.028086185455322
Output for 5.4.20
0.023977041244507
Output for 5.4.19
0.032084226608276
Output for 5.4.18
0.032467842102051
Output for 5.4.17
0.028378009796143
Output for 5.4.16
0.03351616859436
Output for 5.4.15
0.033804178237915
Output for 5.4.14
0.033504009246826
Output for 5.4.13
0.031860828399658
Output for 5.4.12
0.029284000396729
Output for 5.4.11
0.032176971435547
Output for 5.4.10
0.031782150268555
Output for 5.4.9
0.032106161117554
Output for 5.4.8
0.034785985946655
Output for 5.4.7
0.032494068145752
Output for 5.4.6
0.035722017288208
Output for 5.4.5
0.032449960708618
Output for 5.4.4
0.033807992935181
Output for 5.4.3
0.030150890350342
Output for 5.4.2
0.024873018264771
Output for 5.4.1
0.03418493270874
Output for 5.4.0
0.033713102340698
Output for 5.3.29
0.043451070785522
Output for 5.3.28
0.045428037643433
Output for 5.3.27
0.042746782302856
Output for 5.3.26
0.042222023010254
Output for 5.3.25
0.037424087524414
Output for 5.3.24
0.041621923446655
Output for 5.3.23
0.037204027175903
Output for 5.3.22
0.034950971603394
Output for 5.3.21
0.042166948318481
Output for 5.3.20
0.038175106048584
Output for 5.3.19
0.042587995529175
Output for 5.3.18
0.042062997817993
Output for 5.3.17
0.031881093978882
Output for 5.3.16
0.041725873947144
Output for 5.3.15
0.043968915939331
Output for 5.3.14
0.043959856033325
Output for 5.3.13
0.038000822067261
Output for 5.3.12
0.037112951278687
Output for 5.3.11
0.037334203720093
Output for 5.3.10
0.032071828842163
Output for 5.3.9
0.033045053482056
Output for 5.3.8
0.034803152084351
Output for 5.3.7
0.03661584854126
Output for 5.3.6
0.041774988174438
Output for 5.3.5
0.030830860137939
Output for 5.3.4
0.034455060958862
Output for 5.3.3
0.035503149032593
Output for 5.3.2
0.045970916748047
Output for 5.3.1
0.030738830566406
Output for 5.3.0
0.037668943405151
Output for 5.2.17
0.047712802886963
Output for 5.2.16
0.04938006401062
Output for 5.2.15
0.050907850265503
Output for 5.2.14
0.051520109176636
Output for 5.2.13
0.068059921264648
Output for 5.2.12
0.053641080856323
Output for 5.2.11
0.053573846817017
Output for 5.2.10
0.05020809173584
Output for 5.2.9
0.054620981216431
Output for 5.2.8
0.055096864700317
Output for 5.2.7
0.047949075698853
Output for 5.2.6
0.049778938293457
Output for 5.2.5
0.056123018264771
Output for 5.2.4
0.049430131912231
Output for 5.2.3
0.040613889694214
Output for 5.2.2
0.053201913833618
Output for 5.2.1
0.049669981002808
Output for 5.2.0
0.057111024856567
Output for 5.1.6
0.054638147354126
Output for 5.1.5
0.04782509803772
Output for 5.1.4
0.055715084075928
Output for 5.1.3
0.053570985794067
Output for 5.1.2
0.064375877380371
Output for 5.1.1
0.052390098571777
Output for 5.1.0
0.043659925460815
Output for 5.0.5
0.096946001052856
Output for 5.0.4
0.090157985687256
Output for 5.0.3
0.07610297203064
Output for 5.0.2
0.083355903625488
Output for 5.0.1
0.074859857559204
Output for 5.0.0
0.076518058776855
Output for 4.4.9
0.125271
Output for 4.4.8
0.11524
Output for 4.4.7
0.108122
Output for 4.4.6
0.107948
Output for 4.4.5
0.125675
Output for 4.4.4
0.097159
Output for 4.4.3
0.111325
Output for 4.4.2
0.089069
Output for 4.4.1
0.087195
Output for 4.4.0
0.078269
Output for 4.3.11
0.075122
Output for 4.3.10
0.081647
Output for 4.3.9
0.076288
Output for 4.3.8
0.093519
Output for 4.3.7
0.077569
Output for 4.3.6
0.102374
Output for 4.3.5
0.082038
Output for 4.3.4
0.111007
Output for 4.3.3
0.064916
Output for 4.3.2
0.071377
Output for 4.3.1
0.06691
Output for 4.3.0
0.102052