3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $count = 5000000; $foo = 0; $start = microtime(true); for ($i = 0; $i < $count; $i++) { $foo++; } echo microtime(true) - $start;
Output for 7.1.0
0.1241409778595
Output for 7.0.14
-0.066228866577148
Output for 7.0.10
0.067177057266235
Output for 7.0.9
0.07930588722229
Output for 7.0.8
0.081225156784058
Output for 7.0.7
0.067546844482422
Output for 7.0.6
0.079846143722534
Output for 7.0.5
0.074351072311401
Output for 7.0.4
0.085931062698364
Output for 7.0.3
0.06712007522583
Output for 7.0.2
0.077310085296631
Output for 7.0.1
0.073194026947021
Output for 7.0.0
0.06472110748291
Output for hhvm-3.12.0
0.50399208068848
Output for hhvm-3.10.0
0.59879302978516
Output for 5.6.28
0.22492694854736
Output for 5.6.25
0.18977689743042
Output for 5.6.24
0.16029095649719
Output for 5.6.23
0.16062617301941
Output for 5.6.22
0.16292691230774
Output for 5.6.21
0.15908885002136
Output for 5.6.20
0.16762781143188
Output for 5.6.19
0.15284490585327
Output for 5.6.18
0.20229315757751
Output for 5.6.17
0.14762806892395
Output for 5.6.16
0.1726701259613
Output for 5.6.15
0.17809104919434
Output for 5.6.14
0.14913702011108
Output for 5.6.13
0.17680096626282
Output for 5.6.12
0.17617106437683
Output for 5.6.11
0.17225313186646
Output for 5.6.10
0.15094995498657
Output for 5.6.9
0.14675092697144
Output for 5.6.8
0.17019319534302
Output for 5.6.7
0.17401504516602
Output for 5.6.6
0.17076110839844
Output for 5.6.5
0.16104507446289
Output for 5.6.4
0.15784287452698
Output for 5.6.3
0.18213295936584
Output for 5.6.2
0.17571806907654
Output for 5.6.1
0.17552208900452
Output for 5.6.0
0.18583297729492
Output for 5.5.38
0.16654896736145
Output for 5.5.37
0.16896414756775
Output for 5.5.36
0.18938899040222
Output for 5.5.35
0.17949414253235
Output for 5.5.34
0.18548893928528
Output for 5.5.33
0.17119002342224
Output for 5.5.32
0.17899394035339
Output for 5.5.31
0.16647100448608
Output for 5.5.30
0.16786789894104
Output for 5.5.29
0.13804912567139
Output for 5.5.28
0.1866819858551
Output for 5.5.27
0.15610098838806
Output for 5.5.26
0.16230511665344
Output for 5.5.25
0.17502403259277
Output for 5.5.24
0.16499280929565
Output for 5.5.23
0.17144799232483
Output for 5.5.22
0.18293809890747
Output for 5.5.21
0.18014311790466
Output for 5.5.20
0.16156387329102
Output for 5.5.19
0.18020701408386
Output for 5.5.18
0.18520903587341
Output for 5.5.16
0.17966914176941
Output for 5.5.15
0.17330288887024
Output for 5.5.14
0.19282579421997
Output for 5.5.13
0.15502905845642
Output for 5.5.12
0.18239998817444
Output for 5.5.11
0.17751407623291
Output for 5.5.10
0.15875697135925
Output for 5.5.9
0.12677216529846
Output for 5.5.8
0.14793300628662
Output for 5.5.7
0.12608003616333
Output for 5.5.6
0.14123392105103
Output for 5.5.5
0.13877201080322
Output for 5.5.4
0.14894914627075
Output for 5.5.3
0.1470320224762
Output for 5.5.2
0.12572813034058
Output for 5.5.1
0.12162709236145
Output for 5.5.0
0.12312412261963
Output for 5.4.45
0.16456508636475
Output for 5.4.44
0.14973402023315
Output for 5.4.43
0.1625669002533
Output for 5.4.42
0.16815280914307
Output for 5.4.41
0.16456413269043
Output for 5.4.40
0.15897107124329
Output for 5.4.39
0.16382098197937
Output for 5.4.38
0.16638994216919
Output for 5.4.37
0.16498398780823
Output for 5.4.36
0.18756484985352
Output for 5.4.35
0.1805100440979
Output for 5.4.34
0.15153002738953
Output for 5.4.32
0.16335487365723
Output for 5.4.31
0.15092897415161
Output for 5.4.30
0.16027808189392
Output for 5.4.29
0.17958998680115
Output for 5.4.28
0.17963194847107
Output for 5.4.27
0.17493486404419
Output for 5.4.26
0.14681887626648
Output for 5.4.25
0.16715502738953
Output for 5.4.24
0.14950108528137
Output for 5.4.23
0.13602018356323
Output for 5.4.22
0.15318608283997
Output for 5.4.21
0.26323699951172
Output for 5.4.20
0.14541983604431
Output for 5.4.19
0.14581084251404
Output for 5.4.18
0.12067794799805
Output for 5.4.17
0.12452292442322
Output for 5.4.16
0.12938499450684
Output for 5.4.15
0.14644598960876
Output for 5.4.14
0.14524602890015
Output for 5.4.13
0.14870309829712
Output for 5.4.12
0.16413807868958
Output for 5.4.11
0.14216113090515
Output for 5.4.10
0.15554904937744
Output for 5.4.9
0.14766192436218
Output for 5.4.8
0.16574692726135
Output for 5.4.7
0.17208194732666
Output for 5.4.6
0.14957594871521
Output for 5.4.5
0.16981101036072
Output for 5.4.4
0.18612408638
Output for 5.4.3
0.15425300598145
Output for 5.4.2
0.18639302253723
Output for 5.4.1
0.17431306838989
Output for 5.4.0
0.16468691825867
Output for 5.3.29
0.21372199058533
Output for 5.3.28
0.19697690010071
Output for 5.3.27
0.15585017204285
Output for 5.3.26
0.16425800323486
Output for 5.3.25
0.20212316513062
Output for 5.3.24
0.20966196060181
Output for 5.3.23
0.22777891159058
Output for 5.3.22
0.21300411224365
Output for 5.3.21
0.21304202079773
Output for 5.3.20
0.22176694869995
Output for 5.3.19
0.21222019195557
Output for 5.3.18
0.20598793029785
Output for 5.3.17
0.20393013954163
Output for 5.3.16
0.20982694625854
Output for 5.3.15
0.22069406509399
Output for 5.3.14
0.23431396484375
Output for 5.3.13
0.19885802268982
Output for 5.3.12
0.20425796508789
Output for 5.3.11
0.20662403106689
Output for 5.3.10
0.23087000846863
Output for 5.3.9
0.21821093559265
Output for 5.3.8
0.26790690422058
Output for 5.3.7
0.23370099067688
Output for 5.3.6
0.23263788223267
Output for 5.3.5
0.22115993499756
Output for 5.3.4
0.23368787765503
Output for 5.3.3
0.26624703407288
Output for 5.3.2
0.23990607261658
Output for 5.3.1
0.22737812995911
Output for 5.3.0
0.24952983856201
Output for 5.2.17
0.26201796531677
Output for 5.2.16
0.32512402534485
Output for 5.2.15
0.30960202217102
Output for 5.2.14
0.28623986244202
Output for 5.2.13
0.3027880191803
Output for 5.2.12
0.27773714065552
Output for 5.2.11
0.29589605331421
Output for 5.2.10
0.28643393516541
Output for 5.2.9
0.28859877586365
Output for 5.2.8
0.30998182296753
Output for 5.2.7
0.30255007743835
Output for 5.2.6
0.29842209815979
Output for 5.2.5
0.28139805793762
Output for 5.2.4
0.30554604530334
Output for 5.2.3
0.29287481307983
Output for 5.2.2
0.30672287940979
Output for 5.2.1
0.2667441368103
Output for 5.2.0
0.3067798614502
Output for 5.1.6
0.30072116851807
Output for 5.1.5
0.24765706062317
Output for 5.1.4
0.29528284072876
Output for 5.1.3
0.29142594337463
Output for 5.1.2
0.28084802627563
Output for 5.1.1
0.30639910697937
Output for 5.1.0
0.28020691871643
Output for 5.0.5
0.86079907417297
Output for 5.0.4
0.78988790512085
Output for 5.0.3
0.83505296707153
Output for 5.0.2
0.78280591964722
Output for 5.0.1
0.70255494117737
Output for 5.0.0
0.78438711166382
Output for 4.4.9
0.710833
Output for 4.4.8
0.690943
Output for 4.4.7
0.694368
Output for 4.4.6
0.681677
Output for 4.4.5
0.694194
Output for 4.4.4
0.679021
Output for 4.4.3
0.653245
Output for 4.4.2
0.719884
Output for 4.4.1
0.648113
Output for 4.4.0
0.675545
Output for 4.3.11
0.676167
Output for 4.3.10
0.687188
Output for 4.3.9
0.598414
Output for 4.3.8
0.687338
Output for 4.3.7
0.619785
Output for 4.3.6
0.715594
Output for 4.3.5
0.701643
Output for 4.3.4
0.626865
Output for 4.3.3
0.679955
Output for 4.3.2
0.652732
Output for 4.3.1
0.662958
Output for 4.3.0
0.670135