3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ob_start(); $time = microtime(1); $i = 0; while ($i++ < 10000) echo'aaaaaaa'.'aaaaaaa'.'aaaaaaa'.'aaaaaaa'; $end = microtime(1); ob_end_clean(); echo "period took ".($end-$time); echo "\n"; ob_start(); $time = microtime(1); $i = 0; while ($i++ < 10000) echo'aaaaaaa','aaaaaaa','aaaaaaa','aaaaaaa'; $end = microtime(1); ob_end_clean(); echo "comma took ".($end-$time);
Output for 7.1.0
period took 0.00049686431884766 comma took 0.0019311904907227
Output for 7.0.14
period took -0.00047206878662109 comma took -0.0017859935760498
Output for 7.0.10
period took 0.0005040168762207 comma took 0.0014200210571289
Output for 7.0.9
period took 0.00054788589477539 comma took 0.0014209747314453
Output for 7.0.8
period took 0.00054788589477539 comma took 0.0015480518341064
Output for 7.0.7
period took 0.00051307678222656 comma took 0.0014469623565674
Output for 7.0.6
period took 0.0005190372467041 comma took 0.0013880729675293
Output for 7.0.5
period took 0.00055313110351562 comma took 0.0017509460449219
Output for 7.0.4
period took 0.00054097175598145 comma took 0.0014340877532959
Output for 7.0.3
period took 0.0003969669342041 comma took 0.0014698505401611
Output for 7.0.2
period took 0.00041699409484863 comma took 0.0014879703521729
Output for 7.0.1
period took 0.00038504600524902 comma took 0.0013830661773682
Output for 7.0.0
period took 0.00045108795166016 comma took 0.0012900829315186
Output for 5.6.25
period took 0.0018379688262939 comma took 0.0019519329071045
Output for 5.6.24
period took 0.0016531944274902 comma took 0.0018510818481445
Output for 5.6.23
period took 0.0016179084777832 comma took 0.0017838478088379
Output for 5.6.22
period took 0.0015890598297119 comma took 0.0016801357269287
Output for 5.6.21
period took 0.0014569759368896 comma took 0.00164794921875
Output for 5.6.20
period took 0.0017108917236328 comma took 0.0018908977508545
Output for 5.6.19
period took 0.0018219947814941 comma took 0.0015978813171387
Output for 5.6.18
period took 0.0016660690307617 comma took 0.0017709732055664
Output for 5.6.17
period took 0.0012810230255127 comma took 0.0015749931335449
Output for 5.6.16
period took 0.0011739730834961 comma took 0.0012748241424561
Output for 5.6.15
period took 0.0012130737304688 comma took 0.0013229846954346
Output for 5.6.14
period took 0.0011739730834961 comma took 0.0012757778167725
Output for 5.6.13
period took 0.0011539459228516 comma took 0.0012218952178955
Output for 5.6.12
period took 0.0012750625610352 comma took 0.0015368461608887
Output for 5.6.11
period took 0.0011739730834961 comma took 0.0012791156768799
Output for 5.6.10
period took 0.0018908977508545 comma took 0.0020029544830322
Output for 5.6.9
period took 0.0018298625946045 comma took 0.0019121170043945
Output for 5.6.8
period took 0.0012750625610352 comma took 0.0013928413391113
Output for 5.6.7
period took 0.0010919570922852 comma took 0.0013840198516846
Output for 5.6.6
period took 0.0012009143829346 comma took 0.0013818740844727
Output for 5.6.5
period took 0.0011551380157471 comma took 0.0013470649719238
Output for 5.6.4
period took 0.0011041164398193 comma took 0.0012848377227783
Output for 5.6.3
period took 0.0012249946594238 comma took 0.0013759136199951
Output for 5.6.2
period took 0.0011391639709473 comma took 0.0012810230255127
Output for 5.6.1
period took 0.0010380744934082 comma took 0.0013010501861572
Output for 5.6.0
period took 0.0010600090026855 comma took 0.0012729167938232
Output for 5.5.38
period took 0.0017139911651611 comma took 0.001788854598999
Output for 5.5.37
period took 0.0017619132995605 comma took 0.0019669532775879
Output for 5.5.36
period took 0.0016841888427734 comma took 0.0018601417541504
Output for 5.5.35
period took 0.0015339851379395 comma took 0.0017240047454834
Output for 5.5.34
period took 0.0013871192932129 comma took 0.0016050338745117
Output for 5.5.33
period took 0.0018539428710938 comma took 0.0018839836120605
Output for 5.5.32
period took 0.001384973526001 comma took 0.0015091896057129
Output for 5.5.31
period took 0.0017499923706055 comma took 0.0015039443969727
Output for 5.5.30
period took 0.0012030601501465 comma took 0.0013580322265625
Output for 5.5.29
period took 0.0012099742889404 comma took 0.0013480186462402
Output for 5.5.28
period took 0.0011439323425293 comma took 0.0012810230255127
Output for 5.5.27
period took 0.001140832901001 comma took 0.0013151168823242
Output for 5.5.26
period took 0.001471996307373 comma took 0.0016300678253174
Output for 5.5.25
period took 0.0015790462493896 comma took 0.0017409324645996
Output for 5.5.24
period took 0.0014920234680176 comma took 0.0017960071563721
Output for 5.5.23
period took 0.0015490055084229 comma took 0.0018579959869385
Output for 5.5.22
period took 0.0011599063873291 comma took 0.0012800693511963
Output for 5.5.21
period took 0.001147985458374 comma took 0.0012969970703125
Output for 5.5.20
period took 0.0011410713195801 comma took 0.0012869834899902
Output for 5.5.19
period took 0.001262903213501 comma took 0.0014219284057617
Output for 5.5.18
period took 0.0019419193267822 comma took 0.0021548271179199
Output for 5.5.16
period took 0.0016160011291504 comma took 0.0018429756164551
Output for 5.5.15
period took 0.0010700225830078 comma took 0.001291036605835
Output for 5.5.14
period took 0.0016071796417236 comma took 0.0019590854644775
Output for 5.5.13
period took 0.0013608932495117 comma took 0.0016148090362549
Output for 5.5.12
period took 0.0016989707946777 comma took 0.0018539428710938
Output for 5.5.11
period took 0.0016341209411621 comma took 0.0019500255584717
Output for 5.5.10
period took 0.0011968612670898 comma took 0.0013678073883057
Output for 5.5.9
period took 0.0016899108886719 comma took 0.0019509792327881
Output for 5.5.8
period took 0.0011250972747803 comma took 0.0012969970703125
Output for 5.5.7
period took 0.001802921295166 comma took 0.0014510154724121
Output for 5.5.6
period took 0.0016508102416992 comma took 0.0018341541290283
Output for 5.5.5
period took 0.001755952835083 comma took 0.0019149780273438
Output for 5.5.4
period took 0.0015149116516113 comma took 0.0017671585083008
Output for 5.5.3
period took 0.0018200874328613 comma took 0.0021281242370605
Output for 5.5.2
period took 0.0018308162689209 comma took 0.0018489360809326
Output for 5.5.1
period took 0.0015079975128174 comma took 0.0017900466918945
Output for 5.5.0
period took 0.0017180442810059 comma took 0.0023319721221924
Output for 5.4.45
period took 0.0013000965118408 comma took 0.0020120143890381
Output for 5.4.44
period took 0.0013329982757568 comma took 0.0011720657348633
Output for 5.4.43
period took 0.0015130043029785 comma took 0.0016410350799561
Output for 5.4.42
period took 0.0015108585357666 comma took 0.0016698837280273
Output for 5.4.41
period took 0.0020120143890381 comma took 0.0020179748535156
Output for 5.4.40
period took 0.0020039081573486 comma took 0.0017220973968506
Output for 5.4.39
period took 0.0014121532440186 comma took 0.0016608238220215
Output for 5.4.38
period took 0.0010991096496582 comma took 0.0012741088867188
Output for 5.4.37
period took 0.0012528896331787 comma took 0.00136399269104
Output for 5.4.36
period took 0.0010731220245361 comma took 0.0013141632080078
Output for 5.4.35
period took 0.0010838508605957 comma took 0.001248836517334
Output for 5.4.34
period took 0.001680850982666 comma took 0.0020091533660889
Output for 5.4.32
period took 0.0011129379272461 comma took 0.00130295753479
Output for 5.4.31
period took 0.0010828971862793 comma took 0.001262903213501
Output for 5.4.30
period took 0.0017681121826172 comma took 0.002100944519043
Output for 5.4.29
period took 0.0019690990447998 comma took 0.0019869804382324
Output for 5.4.28
period took 0.0019130706787109 comma took 0.0021781921386719
Output for 5.4.27
period took 0.0018410682678223 comma took 0.0018458366394043
Output for 5.4.26
period took 0.0018289089202881 comma took 0.0018877983093262
Output for 5.4.25
period took 0.0018899440765381 comma took 0.0022079944610596
Output for 5.4.24
period took 0.0026369094848633 comma took 0.0027480125427246
Output for 5.4.23
period took 0.0018491744995117 comma took 0.0020580291748047
Output for 5.4.22
period took 0.0017120838165283 comma took 0.0020320415496826
Output for 5.4.21
period took 0.0012819766998291 comma took 0.0014259815216064
Output for 5.4.20
period took 0.0018448829650879 comma took 0.0020930767059326
Output for 5.4.19
period took 0.0018620491027832 comma took 0.0020887851715088
Output for 5.4.18
period took 0.0015900135040283 comma took 0.0017778873443604
Output for 5.4.17
period took 0.001568078994751 comma took 0.0015449523925781
Output for 5.4.16
period took 0.0018720626831055 comma took 0.0022158622741699
Output for 5.4.15
period took 0.0014979839324951 comma took 0.0018589496612549
Output for 5.4.14
period took 0.0022730827331543 comma took 0.0018830299377441
Output for 5.4.13
period took 0.0019118785858154 comma took 0.002269983291626
Output for 5.4.12
period took 0.0017790794372559 comma took 0.0019040107727051
Output for 5.4.11
period took 0.0018510818481445 comma took 0.0020020008087158
Output for 5.4.10
period took 0.0019409656524658 comma took 0.0022051334381104
Output for 5.4.9
period took 0.0014989376068115 comma took 0.0017600059509277
Output for 5.4.8
period took 0.0018630027770996 comma took 0.0022919178009033
Output for 5.4.7
period took 0.0017168521881104 comma took 0.002007007598877
Output for 5.4.6
period took 0.0017850399017334 comma took 0.0020830631256104
Output for 5.4.5
period took 0.00140380859375 comma took 0.0016591548919678
Output for 5.4.4
period took 0.0016489028930664 comma took 0.0019180774688721
Output for 5.4.3
period took 0.0017228126525879 comma took 0.0020689964294434
Output for 5.4.2
period took 0.0018649101257324 comma took 0.0021710395812988
Output for 5.4.1
period took 0.00187087059021 comma took 0.0021038055419922
Output for 5.4.0
period took 0.0017070770263672 comma took 0.0019080638885498
Output for 5.3.29
period took 0.0011229515075684 comma took 0.00078892707824707
Output for 5.3.28
period took 0.0015230178833008 comma took 0.0010719299316406
Output for 5.3.27
period took 0.0018928050994873 comma took 0.0012369155883789
Output for 5.3.26
period took 0.0016899108886719 comma took 0.0010371208190918
Output for 5.3.25
period took 0.0017468929290771 comma took 0.0013158321380615
Output for 5.3.24
period took 0.0018711090087891 comma took 0.0013628005981445
Output for 5.3.23
period took 0.0016109943389893 comma took 0.0011599063873291
Output for 5.3.22
period took 0.0015850067138672 comma took 0.001147985458374
Output for 5.3.21
period took 0.0016899108886719 comma took 0.0011889934539795
Output for 5.3.20
period took 0.0016350746154785 comma took 0.0012071132659912
Output for 5.3.19
period took 0.0021078586578369 comma took 0.0012850761413574
Output for 5.3.18
period took 0.0014438629150391 comma took 0.001093864440918
Output for 5.3.17
period took 0.0015110969543457 comma took 0.0011520385742188
Output for 5.3.16
period took 0.0019450187683105 comma took 0.0013899803161621
Output for 5.3.15
period took 0.0017061233520508 comma took 0.0012691020965576
Output for 5.3.14
period took 0.0016729831695557 comma took 0.0011739730834961
Output for 5.3.13
period took 0.0017750263214111 comma took 0.0013480186462402
Output for 5.3.12
period took 0.0018670558929443 comma took 0.0015120506286621
Output for 5.3.11
period took 0.0016200542449951 comma took 0.0012390613555908
Output for 5.3.10
period took 0.0018789768218994 comma took 0.0014219284057617
Output for 5.3.9
period took 0.0019841194152832 comma took 0.002190113067627
Output for 5.3.8
period took 0.001845121383667 comma took 0.0013439655303955
Output for 5.3.7
period took 0.0017201900482178 comma took 0.0013251304626465
Output for 5.3.6
period took 0.0019559860229492 comma took 0.0015771389007568
Output for 5.3.5
period took 0.0021460056304932 comma took 0.0014088153839111
Output for 5.3.4
period took 0.0018420219421387 comma took 0.0013108253479004
Output for 5.3.3
period took 0.0018429756164551 comma took 0.0013120174407959
Output for 5.3.2
period took 0.0017971992492676 comma took 0.0014379024505615
Output for 5.3.1
period took 0.0018141269683838 comma took 0.0015130043029785
Output for 5.3.0
period took 0.0019400119781494 comma took 0.0014309883117676
Output for 5.2.17
period took 0.0021700859069824 comma took 0.0017499923706055
Output for 5.2.16
period took 0.0016279220581055 comma took 0.001209020614624
Output for 5.2.15
period took 0.0021750926971436 comma took 0.0017321109771729
Output for 5.2.14
period took 0.0020430088043213 comma took 0.0016119480133057
Output for 5.2.13
period took 0.0019218921661377 comma took 0.0015401840209961
Output for 5.2.12
period took 0.0022039413452148 comma took 0.0017769336700439
Output for 5.2.11
period took 0.0014851093292236 comma took 0.0013420581817627
Output for 5.2.10
period took 0.0019581317901611 comma took 0.0015518665313721
Output for 5.2.9
period took 0.0020961761474609 comma took 0.0014438629150391
Output for 5.2.8
period took 0.00205397605896 comma took 0.0015890598297119
Output for 5.2.7
period took 0.0019240379333496 comma took 0.0015108585357666
Output for 5.2.6
period took 0.0017640590667725 comma took 0.00130295753479
Output for 5.2.5
period took 0.0019519329071045 comma took 0.001507043838501
Output for 5.2.4
period took 0.002194881439209 comma took 0.0016489028930664
Output for 5.2.3
period took 0.0019490718841553 comma took 0.001539945602417
Output for 5.2.2
period took 0.0020420551300049 comma took 0.0014908313751221
Output for 5.2.1
period took 0.0020670890808105 comma took 0.0015771389007568
Output for 5.2.0
period took 0.0020740032196045 comma took 0.0014870166778564
Output for 5.1.6
period took 0.0014019012451172 comma took 0.0012180805206299
Output for 5.1.5
period took 0.0017890930175781 comma took 0.0013918876647949
Output for 5.1.4
period took 0.0021939277648926 comma took 0.0016820430755615
Output for 5.1.3
period took 0.0021557807922363 comma took 0.001694917678833
Output for 5.1.2
period took 0.002357006072998 comma took 0.0019879341125488
Output for 5.1.1
period took 0.0024170875549316 comma took 0.0018820762634277
Output for 5.1.0
period took 0.0025629997253418 comma took 0.0020921230316162
Output for 5.0.5
period took 0.004382848739624 comma took 0.0024981498718262
Output for 5.0.4
period took 0.0048408508300781 comma took 0.0035519599914551
Output for 5.0.3
period took 0.0038750171661377 comma took 0.0023891925811768
Output for 5.0.2
period took 0.0027580261230469 comma took 0.001600980758667
Output for 5.0.1
period took 0.0041239261627197 comma took 0.0023560523986816
Output for 5.0.0
period took 0.0033791065216064 comma took 0.0019290447235107
Output for 4.4.9
period took 0.007719 comma took 0.004512
Output for 4.4.8
period took 0.004772 comma took 0.002496
Output for 4.4.7
period took 0.003274 comma took 0.001792
Output for 4.4.6
period took 0.004876 comma took 0.002186
Output for 4.4.5
period took 0.004315 comma took 0.002228
Output for 4.4.4
period took 0.003537 comma took 0.001482
Output for 4.4.3
period took 0.00432 comma took 0.002293
Output for 4.4.2
period took 0.004754 comma took 0.002556
Output for 4.4.1
period took 0.003602 comma took 0.001978
Output for 4.4.0
period took 0.003936 comma took 0.002249
Output for 4.3.11
period took 0.004636 comma took 0.002302
Output for 4.3.10
period took 0.004669 comma took 0.002694
Output for 4.3.9
period took 0.004274 comma took 0.002401
Output for 4.3.8
period took 0.003774 comma took 0.002123
Output for 4.3.7
period took 0.005158 comma took 0.002782
Output for 4.3.6
period took 0.004453 comma took 0.002426
Output for 4.3.5
period took 0.004796 comma took 0.002694
Output for 4.3.4
period took 0.004073 comma took 0.00213
Output for 4.3.3
period took 0.004541 comma took 0.002484
Output for 4.3.2
period took 0.004856 comma took 0.003294
Output for 4.3.1
period took 0.004804 comma took 0.002816
Output for 4.3.0
period took 0.005065 comma took 0.002807