3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $start = microtime(1); for($i=0; $i<1000000; $i++){ } $end = microtime(1); echo $end-$start;
Output for 7.2.0
0.007875919342041
Output for 7.1.7
0.0094609260559082
Output for 7.1.6
0.017966985702515
Output for 7.1.5
0.016020059585571
Output for 7.1.0
0.013029813766479
Output for 7.0.20
0.012279033660889
Output for 7.0.14
0.013453960418701
Output for 7.0.6
0.012921810150146
Output for 7.0.5
0.010739088058472
Output for 7.0.4
0.011329889297485
Output for 7.0.3
0.0079619884490967
Output for 7.0.2
0.0094358921051025
Output for 7.0.1
0.010809898376465
Output for 7.0.0
0.01259708404541
Output for 5.6.28
0.054512023925781
Output for 5.6.21
0.021291971206665
Output for 5.6.20
0.020895004272461
Output for 5.6.19
0.028027772903442
Output for 5.6.18
0.021600961685181
Output for 5.6.17
0.021317958831787
Output for 5.6.16
0.031716108322144
Output for 5.6.15
0.030744075775146
Output for 5.6.14
0.03239917755127
Output for 5.6.13
0.032905101776123
Output for 5.6.12
0.021438121795654
Output for 5.6.11
0.021830797195435
Output for 5.6.10
0.030066013336182
Output for 5.6.9
0.033033847808838
Output for 5.6.8
0.021288156509399
Output for 5.5.35
0.028764963150024
Output for 5.5.34
0.030081987380981
Output for 5.5.33
0.022136211395264
Output for 5.5.32
0.027956008911133
Output for 5.5.31
0.02637791633606
Output for 5.5.30
0.025070905685425
Output for 5.5.29
0.030107021331787
Output for 5.5.28
0.029531002044678
Output for 5.5.27
0.024801969528198
Output for 5.5.26
0.02852988243103
Output for 5.5.25
0.029721975326538
Output for 5.5.24
0.030866861343384
Output for 5.4.45
0.038873910903931
Output for 5.4.44
0.053002834320068
Output for 5.4.43
0.03811502456665
Output for 5.4.42
0.02987003326416
Output for 5.4.41
0.084956169128418
Output for 5.4.40
0.033166170120239
Output for 5.4.39
0.02979588508606
Output for 5.4.38
0.031661987304688
Output for 5.4.37
0.030878067016602
Output for 5.4.36
0.028782844543457
Output for 5.4.35
0.02286696434021
Output for 5.4.34
0.024235963821411
Output for 5.4.32
0.04305100440979
Output for 5.4.31
0.021633148193359
Output for 5.4.30
0.02336597442627
Output for 5.4.29
0.023269891738892
Output for 5.4.28
0.030557155609131
Output for 5.4.27
0.022026062011719
Output for 5.4.26
0.035659074783325
Output for 5.4.25
0.029445171356201
Output for 5.4.24
0.033579111099243
Output for 5.4.23
0.029422044754028
Output for 5.4.22
0.030752897262573
Output for 5.4.21
0.029613018035889
Output for 5.4.20
0.04038405418396
Output for 5.4.19
0.028059959411621
Output for 5.4.18
0.028064966201782
Output for 5.4.17
0.0275719165802
Output for 5.4.16
0.0291588306427
Output for 5.4.15
0.028970003128052
Output for 5.4.14
0.027864933013916
Output for 5.4.13
0.02855110168457
Output for 5.4.12
0.030961990356445
Output for 5.4.11
0.028666019439697
Output for 5.4.10
0.031623125076294
Output for 5.4.9
0.030259132385254
Output for 5.4.8
0.049852132797241
Output for 5.4.7
0.044324159622192
Output for 5.4.6
0.041738986968994
Output for 5.4.5
0.029365062713623
Output for 5.4.4
0.036262035369873
Output for 5.4.3
0.041623115539551
Output for 5.4.2
0.035620927810669
Output for 5.4.1
0.02846097946167
Output for 5.4.0
0.02891206741333
Output for 5.3.29
0.029299020767212
Output for 5.3.28
0.039544105529785
Output for 5.3.27
0.040264129638672
Output for 5.3.26
0.041362047195435
Output for 5.3.25
0.038229942321777
Output for 5.3.24
0.039605140686035
Output for 5.3.23
0.039138078689575
Output for 5.3.22
0.039546966552734
Output for 5.3.21
0.05665397644043
Output for 5.3.20
0.042809963226318
Output for 5.3.19
0.039289951324463
Output for 5.3.18
0.042624950408936
Output for 5.3.17
0.039998054504395
Output for 5.3.16
0.043713092803955
Output for 5.3.15
0.048864126205444
Output for 5.3.14
0.057146072387695
Output for 5.3.13
0.039239168167114
Output for 5.3.12
0.042814016342163
Output for 5.3.11
0.049885034561157
Output for 5.3.10
0.039026975631714
Output for 5.3.9
0.039498090744019
Output for 5.3.8
0.042083024978638
Output for 5.3.7
0.050993919372559
Output for 5.3.6
0.042140007019043
Output for 5.3.5
0.061442136764526
Output for 5.3.4
0.039719104766846
Output for 5.3.3
0.040318012237549
Output for 5.3.2
0.039156913757324
Output for 5.3.1
0.040847063064575
Output for 5.3.0
0.04118800163269
Output for 5.2.17
0.057329177856445
Output for 5.2.16
0.056875944137573
Output for 5.2.15
0.050313949584961
Output for 5.2.14
0.054051160812378
Output for 5.2.13
0.050518035888672
Output for 5.2.12
0.053136110305786
Output for 5.2.11
0.061514854431152
Output for 5.2.10
0.074306964874268
Output for 5.2.9
0.05146312713623
Output for 5.2.8
0.059611082077026
Output for 5.2.7
0.055932998657227
Output for 5.2.6
0.051491975784302
Output for 5.2.5
0.052938938140869
Output for 5.2.4
0.055930852890015
Output for 5.2.3
0.058608055114746
Output for 5.2.2
0.058364152908325
Output for 5.2.1
0.05442214012146
Output for 5.2.0
0.055194854736328
Output for 5.1.6
0.081734895706177
Output for 5.1.5
0.066496133804321
Output for 5.1.4
0.066541194915771
Output for 5.1.3
0.055763006210327
Output for 5.1.2
0.059693098068237
Output for 5.1.1
0.052423000335693
Output for 5.1.0
0.056617021560669
Output for 5.0.5
0.12955212593079
Output for 5.0.4
0.12856292724609
Output for 5.0.3
0.13929009437561
Output for 5.0.2
0.1168041229248
Output for 5.0.1
0.12791299819946
Output for 5.0.0
0.21429300308228
Output for 4.4.9
0.122005
Output for 4.4.8
0.128781
Output for 4.4.7
0.118238
Output for 4.4.6
0.116906
Output for 4.4.5
0.17113
Output for 4.4.4
0.152039
Output for 4.4.3
0.122922
Output for 4.4.2
0.119278
Output for 4.4.1
0.121866
Output for 4.4.0
0.116591
Output for 4.3.11
0.124907
Output for 4.3.10
0.122
Output for 4.3.9
0.191348
Output for 4.3.8
0.12906
Output for 4.3.7
0.120965
Output for 4.3.6
0.117978
Output for 4.3.5
0.209564
Output for 4.3.4
0.159431
Output for 4.3.3
0.177501
Output for 4.3.2
0.20999
Output for 4.3.1
0.118856
Output for 4.3.0
0.120316