3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array(); for($i = 0; $i < 100000; $i++) { $test[] = $i; } $start_t = microtime(true); for($i = 0; $i<count($test); $i++) { $test[$i] += $i; } echo 'Time with count: '.(microtime(true) - $start_t).PHP_EOL; $start_t = microtime(true); $count = count($test); for($i = 0; $i<$count; $i++) { $test[$i] += $i; } echo 'Time without count: '.(microtime(true) - $start_t).PHP_EOL; $start_t = microtime(true); foreach($test as $i => $val) { $test[$i] += $i; } echo 'Time with foreach: '.(microtime(true) - $start_t).PHP_EOL;
Output for 7.1.0
Time with count: 0.0055830478668213 Time without count: 0.0031850337982178 Time with foreach: 0.0047810077667236
Output for 7.0.14
Time with count: 0.0062060356140137 Time without count: 0.0061960220336914 Time with foreach: 0.0052030086517334
Output for 7.0.10
Time with count: 0.0048229694366455 Time without count: 0.0026350021362305 Time with foreach: 0.0047981739044189
Output for 7.0.9
Time with count: 0.0058989524841309 Time without count: 0.0034940242767334 Time with foreach: 0.005897045135498
Output for 7.0.8
Time with count: 0.0055079460144043 Time without count: 0.0031740665435791 Time with foreach: 0.0054287910461426
Output for 7.0.7
Time with count: 0.0053970813751221 Time without count: 0.0033009052276611 Time with foreach: 0.0053939819335938
Output for 7.0.6
Time with count: 0.0036799907684326 Time without count: 0.0021719932556152 Time with foreach: 0.0042219161987305
Output for 7.0.5
Time with count: 0.0046088695526123 Time without count: 0.0027291774749756 Time with foreach: 0.0044159889221191
Output for 7.0.4
Time with count: 0.0052671432495117 Time without count: 0.0031259059906006 Time with foreach: 0.0045919418334961
Output for 7.0.3
Time with count: 0.0044407844543457 Time without count: 0.0026350021362305 Time with foreach: 0.005810022354126
Output for 7.0.2
Time with count: 0.0055208206176758 Time without count: 0.0032989978790283 Time with foreach: 0.0053479671478271
Output for 7.0.1
Time with count: 0.005079984664917 Time without count: 0.0029890537261963 Time with foreach: 0.0050418376922607
Output for 7.0.0
Time with count: 0.0035760402679443 Time without count: 0.0022239685058594 Time with foreach: 0.0038259029388428
Output for 5.6.28
Time with count: 0.017574071884155 Time without count: 0.0072710514068604 Time with foreach: 0.024429082870483
Output for 5.6.25
Time with count: 0.013051986694336 Time without count: 0.0058557987213135 Time with foreach: 0.020412921905518
Output for 5.6.24
Time with count: 0.012156963348389 Time without count: 0.0052478313446045 Time with foreach: 0.020439863204956
Output for 5.6.23
Time with count: 0.014033079147339 Time without count: 0.0057752132415771 Time with foreach: 0.020800113677979
Output for 5.6.22
Time with count: 0.011811017990112 Time without count: 0.0050230026245117 Time with foreach: 0.020391941070557
Output for 5.6.21
Time with count: 0.014865875244141 Time without count: 0.0065028667449951 Time with foreach: 0.020965814590454
Output for 5.6.20
Time with count: 0.013905048370361 Time without count: 0.005767822265625 Time with foreach: 0.020157098770142
Output for 5.6.19
Time with count: 0.016305923461914 Time without count: 0.0068199634552002 Time with foreach: 0.025228977203369
Output for 5.6.18
Time with count: 0.018082857131958 Time without count: 0.0067119598388672 Time with foreach: 0.025964975357056
Output for 5.6.17
Time with count: 0.011566877365112 Time without count: 0.0052049160003662 Time with foreach: 0.018661022186279
Output for 5.6.16
Time with count: 0.015039920806885 Time without count: 0.0056049823760986 Time with foreach: 0.025291919708252
Output for 5.6.15
Time with count: 0.012068033218384 Time without count: 0.006004810333252 Time with foreach: 0.019076824188232
Output for 5.6.14
Time with count: 0.010967016220093 Time without count: 0.0050201416015625 Time with foreach: 0.019470930099487
Output for 5.6.13
Time with count: 0.01268482208252 Time without count: 0.0054540634155273 Time with foreach: 0.020895957946777
Output for 5.6.12
Time with count: 0.011903047561646 Time without count: 0.0050160884857178 Time with foreach: 0.018879175186157
Output for 5.6.11
Time with count: 0.015053987503052 Time without count: 0.0061938762664795 Time with foreach: 0.023720979690552
Output for 5.6.10
Time with count: 0.014700174331665 Time without count: 0.0065820217132568 Time with foreach: 0.022506952285767
Output for 5.6.9
Time with count: 0.014702081680298 Time without count: 0.0063459873199463 Time with foreach: 0.021202802658081
Output for 5.6.8
Time with count: 0.015797853469849 Time without count: 0.0068070888519287 Time with foreach: 0.020216941833496
Output for 5.6.7
Time with count: 0.01225209236145 Time without count: 0.0049591064453125 Time with foreach: 0.018754959106445
Output for 5.6.6
Time with count: 0.014436960220337 Time without count: 0.0048189163208008 Time with foreach: 0.020560026168823
Output for 5.6.5
Time with count: 0.011075973510742 Time without count: 0.0049340724945068 Time with foreach: 0.019658088684082
Output for 5.6.4
Time with count: 0.014693975448608 Time without count: 0.0064308643341064 Time with foreach: 0.01965594291687
Output for 5.6.3
Time with count: 0.010953903198242 Time without count: 0.0047609806060791 Time with foreach: 0.019509077072144
Output for 5.6.2
Time with count: 0.017471075057983 Time without count: 0.0076830387115479 Time with foreach: 0.025580167770386
Output for 5.6.1
Time with count: 0.011114120483398 Time without count: 0.0050239562988281 Time with foreach: 0.018610000610352
Output for 5.6.0
Time with count: 0.011521100997925 Time without count: 0.0049540996551514 Time with foreach: 0.019459962844849
Output for 5.5.38
Time with count: 0.017027139663696 Time without count: 0.0065381526947021 Time with foreach: 0.024119138717651
Output for 5.5.37
Time with count: 0.018671035766602 Time without count: 0.0062451362609863 Time with foreach: 0.023080825805664
Output for 5.5.36
Time with count: 0.013416051864624 Time without count: 0.005518913269043 Time with foreach: 0.020002841949463
Output for 5.5.35
Time with count: 0.016037940979004 Time without count: 0.0064740180969238 Time with foreach: 0.020684957504272
Output for 5.5.34
Time with count: 0.016538858413696 Time without count: 0.0065679550170898 Time with foreach: 0.028378963470459
Output for 5.5.33
Time with count: 0.013411998748779 Time without count: 0.005486011505127 Time with foreach: 0.020086050033569
Output for 5.5.32
Time with count: 0.015522003173828 Time without count: 0.0055699348449707 Time with foreach: 0.023233890533447
Output for 5.5.31
Time with count: 0.018087148666382 Time without count: 0.0070931911468506 Time with foreach: 0.022855043411255
Output for 5.5.30
Time with count: 0.016715049743652 Time without count: 0.0065579414367676 Time with foreach: 0.023068904876709
Output for 5.5.29
Time with count: 0.017238855361938 Time without count: 0.0074338912963867 Time with foreach: 0.024301052093506
Output for 5.5.28
Time with count: 0.014724969863892 Time without count: 0.0059239864349365 Time with foreach: 0.027605772018433
Output for 5.5.27
Time with count: 0.017081022262573 Time without count: 0.0067930221557617 Time with foreach: 0.024932146072388
Output for 5.5.26
Time with count: 0.016104936599731 Time without count: 0.0064609050750732 Time with foreach: 0.020696878433228
Output for 5.5.25
Time with count: 0.017661094665527 Time without count: 0.0069558620452881 Time with foreach: 0.022266864776611
Output for 5.5.24
Time with count: 0.014833927154541 Time without count: 0.0061020851135254 Time with foreach: 0.023094892501831
Output for 5.5.23
Time with count: 0.014960050582886 Time without count: 0.0048069953918457 Time with foreach: 0.020626068115234
Output for 5.5.22
Time with count: 0.014014959335327 Time without count: 0.005620002746582 Time with foreach: 0.021733999252319
Output for 5.5.21
Time with count: 0.014070987701416 Time without count: 0.0056328773498535 Time with foreach: 0.021646976470947
Output for 5.5.20
Time with count: 0.016313076019287 Time without count: 0.0067379474639893 Time with foreach: 0.023451805114746
Output for 5.5.19
Time with count: 0.01836895942688 Time without count: 0.0070641040802002 Time with foreach: 0.022210121154785
Output for 5.5.18
Time with count: 0.016200065612793 Time without count: 0.0062601566314697 Time with foreach: 0.023403167724609
Output for 5.5.16
Time with count: 0.018520832061768 Time without count: 0.0070390701293945 Time with foreach: 0.02524995803833
Output for 5.5.15
Time with count: 0.013948917388916 Time without count: 0.0058128833770752 Time with foreach: 0.020100831985474
Output for 5.5.14
Time with count: 0.019273042678833 Time without count: 0.0066289901733398 Time with foreach: 0.025391101837158
Output for 5.5.13
Time with count: 0.015079975128174 Time without count: 0.0060939788818359 Time with foreach: 0.022947072982788
Output for 5.5.12
Time with count: 0.012554883956909 Time without count: 0.0049369335174561 Time with foreach: 0.019090890884399
Output for 5.5.11
Time with count: 0.011450052261353 Time without count: 0.0047807693481445 Time with foreach: 0.019073009490967
Output for 5.5.10
Time with count: 0.017761945724487 Time without count: 0.0068590641021729 Time with foreach: 0.02488899230957
Output for 5.5.9
Time with count: 0.016078948974609 Time without count: 0.0058789253234863 Time with foreach: 0.021960973739624
Output for 5.5.8
Time with count: 0.013642072677612 Time without count: 0.0054049491882324 Time with foreach: 0.01934814453125
Output for 5.5.7
Time with count: 0.011813879013062 Time without count: 0.0051500797271729 Time with foreach: 0.019083976745605
Output for 5.5.6
Time with count: 0.015813827514648 Time without count: 0.0062899589538574 Time with foreach: 0.023292779922485
Output for 5.5.5
Time with count: 0.016828060150146 Time without count: 0.0067579746246338 Time with foreach: 0.024310111999512
Output for 5.5.4
Time with count: 0.018385887145996 Time without count: 0.0077550411224365 Time with foreach: 0.027122974395752
Output for 5.5.3
Time with count: 0.01161003112793 Time without count: 0.004849910736084 Time with foreach: 0.019235849380493
Output for 5.5.2
Time with count: 0.018774032592773 Time without count: 0.0063381195068359 Time with foreach: 0.024312973022461
Output for 5.5.1
Time with count: 0.016105890274048 Time without count: 0.0049309730529785 Time with foreach: 0.020346879959106
Output for 5.5.0
Time with count: 0.017045974731445 Time without count: 0.0068080425262451 Time with foreach: 0.025290012359619
Output for 5.4.45
Time with count: 0.012547016143799 Time without count: 0.0052211284637451 Time with foreach: 0.021008014678955
Output for 5.4.44
Time with count: 0.017236948013306 Time without count: 0.0078809261322021 Time with foreach: 0.027969837188721
Output for 5.4.43
Time with count: 0.016757965087891 Time without count: 0.0069570541381836 Time with foreach: 0.022505044937134
Output for 5.4.42
Time with count: 0.011442899703979 Time without count: 0.0050859451293945 Time with foreach: 0.019343137741089
Output for 5.4.41
Time with count: 0.019286870956421 Time without count: 0.0062940120697021 Time with foreach: 0.024847984313965
Output for 5.4.40
Time with count: 0.01845908164978 Time without count: 0.0058939456939697 Time with foreach: 0.027214050292969
Output for 5.4.39
Time with count: 0.013315916061401 Time without count: 0.0047531127929688 Time with foreach: 0.020508050918579
Output for 5.4.38
Time with count: 0.014927864074707 Time without count: 0.005483865737915 Time with foreach: 0.025493144989014
Output for 5.4.37
Time with count: 0.011341094970703 Time without count: 0.0046820640563965 Time with foreach: 0.019293785095215
Output for 5.4.36
Time with count: 0.016770839691162 Time without count: 0.004971981048584 Time with foreach: 0.020514965057373
Output for 5.4.35
Time with count: 0.019900798797607 Time without count: 0.0059120655059814 Time with foreach: 0.025614976882935
Output for 5.4.34
Time with count: 0.0159912109375 Time without count: 0.0065979957580566 Time with foreach: 0.021197080612183
Output for 5.4.32
Time with count: 0.014112949371338 Time without count: 0.0057141780853271 Time with foreach: 0.020031929016113
Output for 5.4.31
Time with count: 0.014987945556641 Time without count: 0.0049448013305664 Time with foreach: 0.021538019180298
Output for 5.4.30
Time with count: 0.014993190765381 Time without count: 0.0051829814910889 Time with foreach: 0.019128799438477
Output for 5.4.29
Time with count: 0.013427972793579 Time without count: 0.0055499076843262 Time with foreach: 0.01967716217041
Output for 5.4.28
Time with count: 0.013177156448364 Time without count: 0.0052781105041504 Time with foreach: 0.020577907562256
Output for 5.4.27
Time with count: 0.014786005020142 Time without count: 0.005932092666626 Time with foreach: 0.023061037063599
Output for 5.4.26
Time with count: 0.015554189682007 Time without count: 0.0063230991363525 Time with foreach: 0.023866891860962
Output for 5.4.25
Time with count: 0.01385498046875 Time without count: 0.0055899620056152 Time with foreach: 0.020498991012573
Output for 5.4.24
Time with count: 0.017422199249268 Time without count: 0.0070409774780273 Time with foreach: 0.02706503868103
Output for 5.4.23
Time with count: 0.015412092208862 Time without count: 0.0058939456939697 Time with foreach: 0.022089004516602
Output for 5.4.22
Time with count: 0.014575004577637 Time without count: 0.0066158771514893 Time with foreach: 0.022358894348145
Output for 5.4.21
Time with count: 0.015828847885132 Time without count: 0.0057461261749268 Time with foreach: 0.024782180786133
Output for 5.4.20
Time with count: 0.016458988189697 Time without count: 0.0070781707763672 Time with foreach: 0.025098085403442
Output for 5.4.19
Time with count: 0.015925884246826 Time without count: 0.0067541599273682 Time with foreach: 0.024333953857422
Output for 5.4.18
Time with count: 0.01751708984375 Time without count: 0.006929874420166 Time with foreach: 0.025192975997925
Output for 5.4.17
Time with count: 0.020107984542847 Time without count: 0.0068240165710449 Time with foreach: 0.025436162948608
Output for 5.4.16
Time with count: 0.014830827713013 Time without count: 0.0061390399932861 Time with foreach: 0.023661136627197
Output for 5.4.15
Time with count: 0.016107797622681 Time without count: 0.0062451362609863 Time with foreach: 0.02487587928772
Output for 5.4.14
Time with count: 0.025944948196411 Time without count: 0.0078589916229248 Time with foreach: 0.027543783187866
Output for 5.4.13
Time with count: 0.014991044998169 Time without count: 0.0047669410705566 Time with foreach: 0.02068305015564
Output for 5.4.12
Time with count: 0.011471033096313 Time without count: 0.0048699378967285 Time with foreach: 0.018909931182861
Output for 5.4.11
Time with count: 0.013145208358765 Time without count: 0.0053920745849609 Time with foreach: 0.022353172302246
Output for 5.4.10
Time with count: 0.017428159713745 Time without count: 0.0066428184509277 Time with foreach: 0.022997856140137
Output for 5.4.9
Time with count: 0.015001058578491 Time without count: 0.0054030418395996 Time with foreach: 0.020135879516602
Output for 5.4.8
Time with count: 0.013763904571533 Time without count: 0.0054738521575928 Time with foreach: 0.019911050796509
Output for 5.4.7
Time with count: 0.01684308052063 Time without count: 0.0073630809783936 Time with foreach: 0.027697086334229
Output for 5.4.6
Time with count: 0.014708042144775 Time without count: 0.0059878826141357 Time with foreach: 0.020402908325195
Output for 5.4.5
Time with count: 0.016836166381836 Time without count: 0.0074059963226318 Time with foreach: 0.032412052154541
Output for 5.4.4
Time with count: 0.015635013580322 Time without count: 0.006274938583374 Time with foreach: 0.020036935806274
Output for 5.4.3
Time with count: 0.014557123184204 Time without count: 0.0059189796447754 Time with foreach: 0.022195816040039
Output for 5.4.2
Time with count: 0.011286973953247 Time without count: 0.004763126373291 Time with foreach: 0.018296003341675
Output for 5.4.1
Time with count: 0.01104998588562 Time without count: 0.0046868324279785 Time with foreach: 0.018272876739502
Output for 5.4.0
Time with count: 0.014067888259888 Time without count: 0.0047399997711182 Time with foreach: 0.020061016082764
Output for 5.3.29
Time with count: 0.019665956497192 Time without count: 0.0081849098205566 Time with foreach: 0.024990081787109
Output for 5.3.28
Time with count: 0.017689943313599 Time without count: 0.0069868564605713 Time with foreach: 0.021017074584961
Output for 5.3.27
Time with count: 0.0193030834198 Time without count: 0.0055539608001709 Time with foreach: 0.019031047821045
Output for 5.3.26
Time with count: 0.013970136642456 Time without count: 0.0058801174163818 Time with foreach: 0.020584106445312
Output for 5.3.25
Time with count: 0.013140916824341 Time without count: 0.0055391788482666 Time with foreach: 0.019678115844727
Output for 5.3.24
Time with count: 0.018769025802612 Time without count: 0.0078399181365967 Time with foreach: 0.021389007568359
Output for 5.3.23
Time with count: 0.017621040344238 Time without count: 0.007194995880127 Time with foreach: 0.023308992385864
Output for 5.3.22
Time with count: 0.019017934799194 Time without count: 0.0067541599273682 Time with foreach: 0.022586107254028
Output for 5.3.21
Time with count: 0.017786026000977 Time without count: 0.0071818828582764 Time with foreach: 0.021172046661377
Output for 5.3.20
Time with count: 0.015948057174683 Time without count: 0.0064959526062012 Time with foreach: 0.021966934204102
Output for 5.3.19
Time with count: 0.017151117324829 Time without count: 0.0065181255340576 Time with foreach: 0.019815921783447
Output for 5.3.18
Time with count: 0.018080949783325 Time without count: 0.0074031352996826 Time with foreach: 0.025054931640625
Output for 5.3.17
Time with count: 0.013660907745361 Time without count: 0.0060868263244629 Time with foreach: 0.019780158996582
Output for 5.3.16
Time with count: 0.015271902084351 Time without count: 0.0063281059265137 Time with foreach: 0.020334959030151
Output for 5.3.15
Time with count: 0.018812894821167 Time without count: 0.0073721408843994 Time with foreach: 0.024573087692261
Output for 5.3.14
Time with count: 0.018829822540283 Time without count: 0.0057821273803711 Time with foreach: 0.019633054733276
Output for 5.3.13
Time with count: 0.013697147369385 Time without count: 0.00571608543396 Time with foreach: 0.020264863967896
Output for 5.3.12
Time with count: 0.014074802398682 Time without count: 0.0056350231170654 Time with foreach: 0.019645929336548
Output for 5.3.11
Time with count: 0.01416802406311 Time without count: 0.0061550140380859 Time with foreach: 0.019829034805298
Output for 5.3.10
Time with count: 0.015661001205444 Time without count: 0.0056338310241699 Time with foreach: 0.019168138504028
Output for 5.3.9
Time with count: 0.017217874526978 Time without count: 0.0068869590759277 Time with foreach: 0.02512001991272
Output for 5.3.8
Time with count: 0.013270139694214 Time without count: 0.0057289600372314 Time with foreach: 0.019779205322266
Output for 5.3.7
Time with count: 0.013921022415161 Time without count: 0.0058891773223877 Time with foreach: 0.019829988479614
Output for 5.3.6
Time with count: 0.014474868774414 Time without count: 0.0055921077728271 Time with foreach: 0.01931095123291
Output for 5.3.5
Time with count: 0.013947010040283 Time without count: 0.008436918258667 Time with foreach: 0.023930072784424
Output for 5.3.4
Time with count: 0.01780104637146 Time without count: 0.0077300071716309 Time with foreach: 0.023377895355225
Output for 5.3.3
Time with count: 0.013828992843628 Time without count: 0.005669116973877 Time with foreach: 0.019749879837036
Output for 5.3.2
Time with count: 0.013473987579346 Time without count: 0.0057029724121094 Time with foreach: 0.019535064697266
Output for 5.3.1
Time with count: 0.013988018035889 Time without count: 0.0059950351715088 Time with foreach: 0.020820140838623
Output for 5.3.0
Time with count: 0.013179063796997 Time without count: 0.0056290626525879 Time with foreach: 0.019481897354126
Output for 5.2.17
Time with count: 0.01600193977356 Time without count: 0.0075180530548096 Time with foreach: 0.02233099937439
Output for 5.2.16
Time with count: 0.016947984695435 Time without count: 0.0073239803314209 Time with foreach: 0.022510051727295
Output for 5.2.15
Time with count: 0.015928983688354 Time without count: 0.0075221061706543 Time with foreach: 0.02211594581604
Output for 5.2.14
Time with count: 0.013592958450317 Time without count: 0.0063900947570801 Time with foreach: 0.018009901046753
Output for 5.2.13
Time with count: 0.016135931015015 Time without count: 0.0076770782470703 Time with foreach: 0.021260976791382
Output for 5.2.12
Time with count: 0.024658918380737 Time without count: 0.010476112365723 Time with foreach: 0.027745962142944
Output for 5.2.11
Time with count: 0.01673698425293 Time without count: 0.0078349113464355 Time with foreach: 0.022143840789795
Output for 5.2.10
Time with count: 0.016706943511963 Time without count: 0.0073449611663818 Time with foreach: 0.023386001586914
Output for 5.2.9
Time with count: 0.017660140991211 Time without count: 0.0080931186676025 Time with foreach: 0.02216100692749
Output for 5.2.8
Time with count: 0.016878128051758 Time without count: 0.007361888885498 Time with foreach: 0.021214008331299
Output for 5.2.7
Time with count: 0.01967716217041 Time without count: 0.0097219944000244 Time with foreach: 0.023772954940796
Output for 5.2.6
Time with count: 0.0155189037323 Time without count: 0.0073809623718262 Time with foreach: 0.020662069320679
Output for 5.2.5
Time with count: 0.018105030059814 Time without count: 0.0089421272277832 Time with foreach: 0.033941030502319
Output for 5.2.4
Time with count: 0.015797138214111 Time without count: 0.0074119567871094 Time with foreach: 0.02745509147644
Output for 5.2.3
Time with count: 0.015980958938599 Time without count: 0.0075860023498535 Time with foreach: 0.027554988861084
Output for 5.2.2
Time with count: 0.013381004333496 Time without count: 0.0065720081329346 Time with foreach: 0.023106098175049
Output for 5.2.1
Time with count: 0.017782926559448 Time without count: 0.0070350170135498 Time with foreach: 0.024767160415649
Output for 5.2.0
Time with count: 0.016809940338135 Time without count: 0.0075948238372803 Time with foreach: 0.01839804649353
Output for 5.1.6
Time with count: 0.019592046737671 Time without count: 0.009814977645874 Time with foreach: 0.028256177902222
Output for 5.1.5
Time with count: 0.020151853561401 Time without count: 0.0098848342895508 Time with foreach: 0.027444839477539
Output for 5.1.4
Time with count: 0.023792028427124 Time without count: 0.011649131774902 Time with foreach: 0.031453132629395
Output for 5.1.3
Time with count: 0.022987842559814 Time without count: 0.010004043579102 Time with foreach: 0.028384923934937
Output for 5.1.2
Time with count: 0.021579027175903 Time without count: 0.010843992233276 Time with foreach: 0.027549982070923
Output for 5.1.1
Time with count: 0.023683071136475 Time without count: 0.011962890625 Time with foreach: 0.031462907791138
Output for 5.1.0
Time with count: 0.022495985031128 Time without count: 0.010648965835571 Time with foreach: 0.032166004180908
Output for 5.0.5
Time with count: 0.040939092636108 Time without count: 0.026463985443115 Time with foreach: 0.060485124588013
Output for 5.0.4
Time with count: 0.042646169662476 Time without count: 0.025241136550903 Time with foreach: 0.048918962478638
Output for 5.0.3
Time with count: 0.034062147140503 Time without count: 0.020977973937988 Time with foreach: 0.0501389503479
Output for 5.0.2
Time with count: 0.042700052261353 Time without count: 0.022829055786133 Time with foreach: 0.04778003692627
Output for 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.039014101028442PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.025465965270996PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.062840938568115PHP_EOL
Output for 5.0.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.043112993240356PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.026843070983887PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.055586814880371PHP_EOL
Output for 4.4.9
Time with count: 0.029819 Time without count: 0.01984 Time with foreach: 0.046686
Output for 4.4.8
Time with count: 0.029874 Time without count: 0.019507 Time with foreach: 0.050219
Output for 4.4.7
Time with count: 0.03218 Time without count: 0.019997 Time with foreach: 0.052444
Output for 4.4.6
Time with count: 0.029132 Time without count: 0.019418 Time with foreach: 0.046814
Output for 4.4.5
Time with count: 0.03944 Time without count: 0.023694 Time with foreach: 0.051937
Output for 4.4.4
Time with count: 0.028408 Time without count: 0.019064 Time with foreach: 0.046821
Output for 4.4.3
Time with count: 0.045369 Time without count: 0.027186 Time with foreach: 0.055809
Output for 4.4.2
Time with count: 0.038069 Time without count: 0.023072 Time with foreach: 0.049188
Output for 4.4.1
Time with count: 0.028478 Time without count: 0.019684 Time with foreach: 0.047799
Output for 4.4.0
Time with count: 0.041137 Time without count: 0.025043 Time with foreach: 0.05515
Output for 4.3.11
Time with count: 0.043707 Time without count: 0.021508 Time with foreach: 0.048907
Output for 4.3.10
Time with count: 0.040662 Time without count: 0.024162 Time with foreach: 0.05446
Output for 4.3.9
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.042367PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.023829PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.048357PHP_EOL
Output for 4.3.8
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.037533PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.021522PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.048594PHP_EOL
Output for 4.3.7
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.043987PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.022368PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.052657PHP_EOL
Output for 4.3.6
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.037886PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.023832PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.059445PHP_EOL
Output for 4.3.5
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.03977PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.021077PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.063271PHP_EOL
Output for 4.3.4
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.035601PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.023484PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.05814PHP_EOL
Output for 4.3.3
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.042809PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.025094PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.056299PHP_EOL
Output for 4.3.2
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.043246PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.021925PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.049896PHP_EOL
Output for 4.3.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.039347PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.021246PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.049975PHP_EOL
Output for 4.3.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 14 Time with count: 0.041518PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 22 Time without count: 0.02216PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79PqK on line 29 Time with foreach: 0.04951PHP_EOL