3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tstart = microtime(true); for($x=1; $x<=1000000; ++$x) { } $tstop = microtime(true); print $tstop - $tstart; print" < "; $tstart1 = microtime(true); for($x=1; $x<=1000000; $x++) { } $tstop1 = microtime(true); print $tstop1 - $tstart1;
Output for 7.1.0
0.0099790096282959 < 0.013290882110596
Output for 7.0.14
0.0092051029205322 < 0.013199090957642
Output for 7.0.12
0.010462999343872 < 0.013473987579346
Output for 7.0.6
0.0077700614929199 < 0.011228084564209
Output for 7.0.5
0.0080389976501465 < 0.011450052261353
Output for 7.0.4
0.0078868865966797 < 0.010195970535278
Output for 7.0.3
0.0065469741821289 < 0.009814977645874
Output for 7.0.2
0.0070610046386719 < 0.010465145111084
Output for 7.0.1
0.0047268867492676 < 0.0074729919433594
Output for 7.0.0
0.0083451271057129 < 0.01054310798645
Output for 5.6.28
0.026776075363159 < 0.029205083847046
Output for 5.6.21
0.017147064208984 < 0.021143913269043
Output for 5.6.20
0.02346396446228 < 0.026354074478149
Output for 5.6.19
0.030295133590698 < 0.029960870742798
Output for 5.6.18
0.024533033370972 < 0.027358055114746
Output for 5.6.17
0.019293069839478 < 0.02226996421814
Output for 5.6.16
0.025214910507202 < 0.028010129928589
Output for 5.6.15
0.021801948547363 < 0.024080038070679
Output for 5.6.14
0.016738891601562 < 0.020627975463867
Output for 5.6.13
0.01958703994751 < 0.023238897323608
Output for 5.6.12
0.018035888671875 < 0.021414041519165
Output for 5.6.11
0.023796081542969 < 0.026745080947876
Output for 5.6.10
0.026163816452026 < 0.023014068603516
Output for 5.6.9
0.026303052902222 < 0.028608083724976
Output for 5.6.8
0.018290042877197 < 0.022372007369995
Output for 5.6.7
0.021465063095093 < 0.021975040435791
Output for 5.5.35
0.024863958358765 < 0.028120040893555
Output for 5.5.34
0.02414608001709 < 0.026795864105225
Output for 5.5.33
0.025913953781128 < 0.028990983963013
Output for 5.5.32
0.018887042999268 < 0.021625995635986
Output for 5.5.31
0.021771907806396 < 0.025876998901367
Output for 5.5.30
0.026570081710815 < 0.029739856719971
Output for 5.5.29
0.022463083267212 < 0.025499105453491
Output for 5.5.28
0.025504112243652 < 0.028579950332642
Output for 5.5.27
0.01977801322937 < 0.026522874832153
Output for 5.5.26
0.027284860610962 < 0.030177116394043
Output for 5.5.25
0.025614023208618 < 0.028534889221191
Output for 5.5.24
0.023483991622925 < 0.026941061019897
Output for 5.4.45
0.023894786834717 < 0.026098012924194
Output for 5.4.44
0.023574113845825 < 0.025846004486084
Output for 5.4.43
0.028739929199219 < 0.027268171310425
Output for 5.4.42
0.020880937576294 < 0.024453163146973
Output for 5.4.41
0.023835897445679 < 0.025804996490479
Output for 5.4.40
0.025083065032959 < 0.02635383605957
Output for 5.4.39
0.019585132598877 < 0.021239042282104
Output for 5.4.38
0.021599054336548 < 0.023300886154175
Output for 5.4.37
0.026369094848633 < 0.027006149291992
Output for 5.4.36
0.024505853652954 < 0.027114868164062
Output for 5.4.35
0.024176836013794 < 0.02551794052124
Output for 5.4.34
0.023800849914551 < 0.025531053543091
Output for 5.4.32
0.025114059448242 < 0.026941061019897
Output for 5.4.31
0.020925045013428 < 0.025975942611694
Output for 5.4.30
0.022485017776489 < 0.022903919219971
Output for 5.4.29
0.024435043334961 < 0.026362895965576
Output for 5.4.28
0.022705078125 < 0.025446891784668
Output for 5.4.27
0.022562026977539 < 0.025182008743286
Output for 5.4.26
0.017796993255615 < 0.022021055221558
Output for 5.4.25
0.020564079284668 < 0.022795915603638
Output for 5.4.24
0.024827003479004 < 0.026508092880249
Output for 5.4.23
0.025105953216553 < 0.02727198600769
Output for 5.4.22
0.022919893264771 < 0.025360107421875
Output for 5.4.21
0.018355846405029 < 0.02091908454895
Output for 5.4.20
0.021192073822021 < 0.023566007614136
Output for 5.4.19
0.017689943313599 < 0.024131059646606
Output for 5.4.18
0.025048971176147 < 0.026907205581665
Output for 5.4.17
0.024971961975098 < 0.025198936462402
Output for 5.4.16
0.026828050613403 < 0.025953054428101
Output for 5.4.15
0.017510175704956 < 0.020863056182861
Output for 5.4.14
0.026096820831299 < 0.027881860733032
Output for 5.4.13
0.02119779586792 < 0.023771047592163
Output for 5.4.12
0.028081178665161 < 0.030647039413452
Output for 5.4.11
0.025354862213135 < 0.027253866195679
Output for 5.4.10
0.017526865005493 < 0.020879983901978
Output for 5.4.9
0.01862096786499 < 0.021182060241699
Output for 5.4.8
0.018092155456543 < 0.021140098571777
Output for 5.4.7
0.017544984817505 < 0.021404027938843
Output for 5.4.6
0.024109125137329 < 0.02500581741333
Output for 5.4.5
0.026156187057495 < 0.028120040893555
Output for 5.4.4
0.023442029953003 < 0.028933048248291
Output for 5.4.3
0.025404930114746 < 0.027331113815308
Output for 5.4.2
0.017658233642578 < 0.02126407623291
Output for 5.4.1
0.020195960998535 < 0.024050951004028
Output for 5.4.0
0.017085790634155 < 0.020316123962402
Output for 5.3.29
0.031736135482788 < 0.033393859863281
Output for 5.3.28
0.023494958877563 < 0.028141975402832
Output for 5.3.27
0.029821157455444 < 0.033837080001831
Output for 5.3.26
0.031461000442505 < 0.033498048782349
Output for 5.3.25
0.031385898590088 < 0.030297040939331
Output for 5.3.24
0.031223773956299 < 0.031615972518921
Output for 5.3.23
0.030816078186035 < 0.032387018203735
Output for 5.3.22
0.031394004821777 < 0.034483909606934
Output for 5.3.21
0.028084993362427 < 0.03391695022583
Output for 5.3.20
0.030441999435425 < 0.03282904624939
Output for 5.3.19
0.028913021087646 < 0.033623933792114
Output for 5.3.18
0.031229019165039 < 0.033890008926392
Output for 5.3.17
0.033828973770142 < 0.031548976898193
Output for 5.3.16
0.031049013137817 < 0.032701015472412
Output for 5.3.15
0.031514883041382 < 0.033859968185425
Output for 5.3.14
0.032152891159058 < 0.034407138824463
Output for 5.3.13
0.023255109786987 < 0.027281045913696
Output for 5.3.12
0.038185834884644 < 0.032526016235352
Output for 5.3.11
0.022204875946045 < 0.027193069458008
Output for 5.3.10
0.024977922439575 < 0.032269954681396
Output for 5.3.9
0.029759168624878 < 0.034589052200317
Output for 5.3.8
0.029726028442383 < 0.034624814987183
Output for 5.3.7
0.025876998901367 < 0.028359889984131
Output for 5.3.6
0.024043083190918 < 0.027848958969116
Output for 5.3.5
0.024626016616821 < 0.026856899261475
Output for 5.3.4
0.023123979568481 < 0.026543855667114
Output for 5.3.3
0.024699926376343 < 0.027773141860962
Output for 5.3.2
0.023481130599976 < 0.026537179946899
Output for 5.3.1
0.023440837860107 < 0.026582002639771
Output for 5.3.0
0.023713827133179 < 0.026607036590576
Output for 5.2.17
0.031165838241577 < 0.036040067672729
Output for 5.2.16
0.030730009078979 < 0.035667896270752
Output for 5.2.15
0.033591032028198 < 0.035943031311035
Output for 5.2.14
0.033345937728882 < 0.036727905273438
Output for 5.2.13
0.031310081481934 < 0.036926031112671
Output for 5.2.12
0.033373832702637 < 0.036138772964478
Output for 5.2.11
0.030844211578369 < 0.035295963287354
Output for 5.2.10
0.031375169754028 < 0.03571605682373
Output for 5.2.9
0.03058385848999 < 0.035650968551636
Output for 5.2.8
0.031044960021973 < 0.036446094512939
Output for 5.2.7
0.044270038604736 < 0.047814846038818
Output for 5.2.6
0.03075909614563 < 0.036226034164429
Output for 5.2.5
0.029929876327515 < 0.034897089004517
Output for 5.2.4
0.041348934173584 < 0.042022943496704
Output for 5.2.3
0.02960991859436 < 0.035126924514771
Output for 5.2.2
0.042616844177246 < 0.04044508934021
Output for 5.2.1
0.040875911712646 < 0.040261030197144
Output for 5.2.0
0.041095018386841 < 0.041457891464233
Output for 5.1.6
0.048084020614624 < 0.04764986038208
Output for 5.1.5
0.051141977310181 < 0.047220945358276
Output for 5.1.4
0.045192003250122 < 0.042196989059448
Output for 5.1.3
0.032680034637451 < 0.039761781692505
Output for 5.1.2
0.031476020812988 < 0.036264896392822
Output for 5.1.1
0.033598184585571 < 0.035865068435669
Output for 5.1.0
0.034530878067017 < 0.035825967788696
Output for 5.0.5
0.10665202140808 < 0.086068868637085
Output for 5.0.4
0.086676120758057 < 0.082256078720093
Output for 5.0.3
0.094889163970947 < 0.078831911087036
Output for 5.0.2
0.098621845245361 < 0.1131329536438
Output for 5.0.1
0.10261702537537 < 0.08037805557251
Output for 5.0.0
0.097056150436401 < 0.079993009567261
Output for 4.4.9
0.092398 < 0.074779
Output for 4.4.8
0.076866 < 0.073531
Output for 4.4.7
0.106124 < 0.08011
Output for 4.4.6
0.10604 < 0.105581
Output for 4.4.5
0.105138 < -0.879188
Output for 4.4.4
-0.92958 < 0.076199
Output for 4.4.3
0.100012 < 0.106197
Output for 4.4.2
0.108425 < 0.08132
Output for 4.4.1
0.087047 < 0.076809
Output for 4.4.0
0.092112 < 0.075194
Output for 4.3.11
0.070547 < 0.075128
Output for 4.3.10
0.095954 < 0.073052
Output for 4.3.9
0.101411 < -0.921934
Output for 4.3.8
0.093828 < -0.921181
Output for 4.3.7
0.107572 < 0.081516
Output for 4.3.6
0.107428 < 0.07962
Output for 4.3.5
0.110649 < -0.918391
Output for 4.3.4
0.078172 < 0.070323
Output for 4.3.3
0.090706 < 0.074265
Output for 4.3.2
0.103642 < 0.078147
Output for 4.3.1
0.109998 < 0.099389
Output for 4.3.0
0.105044 < 0.074687