3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(1); for($i=0; $i<10000; $i++){ } $end = microtime(1); echo $end-$start;
Output for 7.1.0
0.00014185905456543
Output for 7.0.14
0.00013589859008789
Output for 7.0.6
0.00012993812561035
Output for 7.0.5
0.00012397766113281
Output for 7.0.4
0.00013113021850586
Output for 7.0.3
9.7990036010742E-5
Output for 7.0.2
7.9870223999023E-5
Output for 7.0.1
0.00010204315185547
Output for 7.0.0
8.6069107055664E-5
Output for 5.6.28
0.00060510635375977
Output for 5.6.21
0.00021004676818848
Output for 5.4.24, 5.4.28, 5.6.20
0.00021505355834961
Output for 5.4.20, 5.4.30, 5.6.19
0.0002138614654541
Output for 5.6.18
0.0002140998840332
Output for 5.6.17
0.00027298927307129
Output for 5.6.16
0.00033712387084961
Output for 5.4.35, 5.6.15
0.00024104118347168
Output for 5.6.14
0.00026297569274902
Output for 5.5.27, 5.6.13
0.00033688545227051
Output for 5.6.12
0.00032997131347656
Output for 5.6.11
0.00030803680419922
Output for 5.6.10
0.00035500526428223
Output for 5.6.9
0.00034117698669434
Output for 5.6.8
0.00025391578674316
Output for 5.5.35
0.0003359317779541
Output for 5.5.34
0.00026416778564453
Output for 5.5.33
0.00035786628723145
Output for 5.5.32
0.0003209114074707
Output for 5.5.31
0.00023603439331055
Output for 5.5.30
0.0002439022064209
Output for 5.5.29
0.00035405158996582
Output for 5.5.28
0.00036001205444336
Output for 5.5.26
0.0003361701965332
Output for 5.5.25
0.00033783912658691
Output for 5.2.1, 5.5.24
0.00040292739868164
Output for 5.4.45
0.00038909912109375
Output for 5.4.44
0.00032496452331543
Output for 5.4.43
0.00030899047851562
Output for 5.4.42
0.00031399726867676
Output for 5.4.41
0.0002899169921875
Output for 5.4.40
0.00043416023254395
Output for 5.4.39
0.00050902366638184
Output for 5.4.38
0.00034713745117188
Output for 5.4.36 - 5.4.37
0.00028800964355469
Output for 5.4.34
0.00024580955505371
Output for 5.4.32
0.0002291202545166
Output for 5.4.19, 5.4.31
0.00023698806762695
Output for 5.4.29
0.0002131462097168
Output for 5.4.27
0.00023794174194336
Output for 5.4.26
0.00040006637573242
Output for 5.4.25
0.00020909309387207
Output for 5.4.23
0.00024604797363281
Output for 5.4.22
0.0002281665802002
Output for 5.4.21
0.00023388862609863
Output for 5.4.18
0.00025200843811035
Output for 5.4.17
0.00020813941955566
Output for 5.4.9, 5.4.16
0.00022792816162109
Output for 5.4.15
0.00026106834411621
Output for 5.4.6, 5.4.14
0.00023293495178223
Output for 5.4.0, 5.4.13
0.00023198127746582
Output for 5.4.12
0.00023102760314941
Output for 5.4.11
0.00022482872009277
Output for 5.4.10
0.00023007392883301
Output for 5.4.8
0.00030303001403809
Output for 5.4.7
0.00022196769714355
Output for 5.4.5
0.00021791458129883
Output for 5.4.4
0.00024008750915527
Output for 5.4.3
0.00021719932556152
Output for 5.4.2
0.00023889541625977
Output for 5.4.1
0.00021195411682129
Output for 5.3.29
0.00032186508178711
Output for 5.3.9, 5.3.28
0.00029397010803223
Output for 5.3.14, 5.3.27
0.0003049373626709
Output for 5.3.26
0.00027704238891602
Output for 5.3.6, 5.3.25
0.00029897689819336
Output for 5.3.24
0.00029087066650391
Output for 5.3.23
0.00029921531677246
Output for 5.3.22
0.00035715103149414
Output for 5.3.21
0.00030398368835449
Output for 5.3.20
0.00028896331787109
Output for 5.3.19
0.00029420852661133
Output for 5.3.18
0.00031185150146484
Output for 5.3.17
0.00033092498779297
Output for 5.3.16
0.00033998489379883
Output for 5.3.15
0.00028705596923828
Output for 5.3.13
0.00031709671020508
Output for 5.3.12
0.00031685829162598
Output for 5.3.11
0.00028085708618164
Output for 5.3.10
0.00028610229492188
Output for 5.3.8
0.00028395652770996
Output for 5.3.7
0.00029277801513672
Output for 5.3.5
0.00046682357788086
Output for 5.3.4
0.00032806396484375
Output for 5.3.3
0.00040698051452637
Output for 5.3.2
0.00029993057250977
Output for 5.3.1
0.00028777122497559
Output for 5.3.0
0.0003659725189209
Output for 5.2.17
0.00044918060302734
Output for 5.2.16
0.00038719177246094
Output for 5.2.15
0.00042986869812012
Output for 5.2.14
0.00042104721069336
Output for 5.2.13
0.00038599967956543
Output for 5.2.12
0.00041389465332031
Output for 5.2.4, 5.2.11
0.0004270076751709
Output for 5.2.10
0.00041794776916504
Output for 5.2.9
0.00041985511779785
Output for 5.2.8
0.00041294097900391
Output for 5.2.7
0.00046706199645996
Output for 5.2.6
0.0003809928894043
Output for 5.2.5
0.00043797492980957
Output for 5.2.3
0.00070905685424805
Output for 5.2.2
0.00039410591125488
Output for 5.2.0
0.00044679641723633
Output for 5.1.6
0.00075292587280273
Output for 5.1.5
0.00041604042053223
Output for 5.1.4
0.00048208236694336
Output for 5.1.3
0.0004119873046875
Output for 5.1.2
0.00044488906860352
Output for 5.1.1
0.00043487548828125
Output for 5.1.0
0.00043010711669922
Output for 5.0.5
0.0011050701141357
Output for 5.0.4
0.0010387897491455
Output for 5.0.3
0.0010941028594971
Output for 5.0.2
0.0016870498657227
Output for 5.0.1
0.00092411041259766
Output for 5.0.0
0.00099992752075195
Output for 4.4.9
0.00094899999999998
Output for 4.4.1, 4.4.8
0.00092899999999996
Output for 4.4.7
0.001522
Output for 4.4.6
0.001039
Output for 4.4.5
0.00089099999999998
Output for 4.4.4
0.00088699999999997
Output for 4.4.3
0.0010100000000001
Output for 4.4.2
0.00092500000000006
Output for 4.4.0
0.00091800000000009
Output for 4.3.11
0.001669
Output for 4.3.10
0.00094900000000009
Output for 4.3.9
0.00092800000000004
Output for 4.3.8
0.001698
Output for 4.3.7
0.001676
Output for 4.3.6
0.001081
Output for 4.3.5
0.001032
Output for 4.3.4
0.001468
Output for 4.3.3
0.000859
Output for 4.3.2
0.000879
Output for 4.3.1
0.00094
Output for 4.3.0
0.001903