3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $classmap1 = array(); for ($i=1; $i<=10000; $i++) { $classmap1['a'.$i] = $i+1; } $classmap2 = array(); for ($i=1; $i<=10000; $i++) { $classmap2['b'.$i] = $i+1; } $startTimeMerge = microtime(true); $map = array_merge($classmap1, $classmap2); $endTimeMerge = microtime(true); $startTimeReplace = microtime(true); $map = array_replace($classmap1, $classmap2); $endTimeReplace = microtime(true); $startTimeForeach = microtime(true); foreach ($classmap2 as $k => $v) { $classmap1[$k] = $v; } $endTimeForeach = microtime(true); echo "array_merge - " . (($endTimeMerge - $startTimeMerge)*1000) ." microseconds<br />\n"; echo "array_replace - " . (($endTimeReplace - $startTimeReplace)*1000) ." microseconds<br />\n"; echo "foreach - " . (($endTimeForeach - $startTimeForeach)*1000) ." microseconds<br />\n";
Output for 7.1.0
array_merge - 0.43821334838867 microseconds<br /> array_replace - 0.48184394836426 microseconds<br /> foreach - 0.43988227844238 microseconds<br />
Output for 7.0.14
array_merge - 0.63109397888184 microseconds<br /> array_replace - 0.73099136352539 microseconds<br /> foreach - 0.64992904663086 microseconds<br />
Output for 7.0.10
array_merge - 0.88810920715332 microseconds<br /> array_replace - 0.73599815368652 microseconds<br /> foreach - 0.70977210998535 microseconds<br />
Output for 7.0.9
array_merge - 22.710084915161 microseconds<br /> array_replace - 22.044897079468 microseconds<br /> foreach - 0.49018859863281 microseconds<br />
Output for 7.0.8
array_merge - 23.555994033813 microseconds<br /> array_replace - 22.497892379761 microseconds<br /> foreach - 0.51188468933105 microseconds<br />
Output for 7.0.7
array_merge - 26.661157608032 microseconds<br /> array_replace - 24.760961532593 microseconds<br /> foreach - 0.81110000610352 microseconds<br />
Output for 7.0.6
array_merge - 6.9260597229004 microseconds<br /> array_replace - 6.6359043121338 microseconds<br /> foreach - 0.59080123901367 microseconds<br />
Output for 7.0.5
array_merge - 7.1420669555664 microseconds<br /> array_replace - 6.9580078125 microseconds<br /> foreach - 0.59795379638672 microseconds<br />
Output for 7.0.4
array_merge - 0.64301490783691 microseconds<br /> array_replace - 0.74291229248047 microseconds<br /> foreach - 0.54001808166504 microseconds<br />
Output for 7.0.3
array_merge - 0.67996978759766 microseconds<br /> array_replace - 0.80704689025879 microseconds<br /> foreach - 0.4878044128418 microseconds<br />
Output for 7.0.2
array_merge - 0.79607963562012 microseconds<br /> array_replace - 0.9310245513916 microseconds<br /> foreach - 0.59986114501953 microseconds<br />
Output for 7.0.1
array_merge - 0.73599815368652 microseconds<br /> array_replace - 0.86188316345215 microseconds<br /> foreach - 0.6251335144043 microseconds<br />
Output for 7.0.0
array_merge - 0.56195259094238 microseconds<br /> array_replace - 0.64611434936523 microseconds<br /> foreach - 0.48279762268066 microseconds<br />
Output for hhvm-3.12.0
array_merge - 1.2800693511963 microseconds<br /> array_replace - 1.6410350799561 microseconds<br /> foreach - 1.2638568878174 microseconds<br />
Output for hhvm-3.10.0
array_merge - 1.0299682617188 microseconds<br /> array_replace - 1.7390251159668 microseconds<br /> foreach - 1.3730525970459 microseconds<br />
Output for 5.6.28
array_merge - 2.5310516357422 microseconds<br /> array_replace - 2.7129650115967 microseconds<br /> foreach - 2.2978782653809 microseconds<br />
Output for 5.6.25
array_merge - 2.2330284118652 microseconds<br /> array_replace - 2.7649402618408 microseconds<br /> foreach - 2.161979675293 microseconds<br />
Output for 5.6.24
array_merge - 2.3369789123535 microseconds<br /> array_replace - 2.4819374084473 microseconds<br /> foreach - 1.6300678253174 microseconds<br />
Output for 5.6.23
array_merge - 2.1109580993652 microseconds<br /> array_replace - 2.3660659790039 microseconds<br /> foreach - 1.77001953125 microseconds<br />
Output for 5.6.22
array_merge - 2.2718906402588 microseconds<br /> array_replace - 2.4511814117432 microseconds<br /> foreach - 1.8119812011719 microseconds<br />
Output for 5.6.21
array_merge - 2.3798942565918 microseconds<br /> array_replace - 2.269983291626 microseconds<br /> foreach - 1.4920234680176 microseconds<br />
Output for 5.6.20
array_merge - 4.1508674621582 microseconds<br /> array_replace - 3.305196762085 microseconds<br /> foreach - 2.3479461669922 microseconds<br />
Output for 5.6.19
array_merge - 2.2189617156982 microseconds<br /> array_replace - 2.5770664215088 microseconds<br /> foreach - 1.7738342285156 microseconds<br />
Output for 5.6.18
array_merge - 2.4399757385254 microseconds<br /> array_replace - 2.777099609375 microseconds<br /> foreach - 2.0668506622314 microseconds<br />
Output for 5.6.17
array_merge - 2.4979114532471 microseconds<br /> array_replace - 2.6600360870361 microseconds<br /> foreach - 1.9841194152832 microseconds<br />
Output for 5.6.16
array_merge - 2.4900436401367 microseconds<br /> array_replace - 2.6111602783203 microseconds<br /> foreach - 2.155065536499 microseconds<br />
Output for 5.6.15
array_merge - 1.8320083618164 microseconds<br /> array_replace - 2.0289421081543 microseconds<br /> foreach - 1.6260147094727 microseconds<br />
Output for 5.6.14
array_merge - 1.9629001617432 microseconds<br /> array_replace - 2.1631717681885 microseconds<br /> foreach - 1.7890930175781 microseconds<br />
Output for 5.6.13
array_merge - 1.5490055084229 microseconds<br /> array_replace - 1.7068386077881 microseconds<br /> foreach - 1.3728141784668 microseconds<br />
Output for 5.6.12
array_merge - 2.5169849395752 microseconds<br /> array_replace - 2.8228759765625 microseconds<br /> foreach - 2.068042755127 microseconds<br />
Output for 5.6.11
array_merge - 2.4311542510986 microseconds<br /> array_replace - 2.6988983154297 microseconds<br /> foreach - 2.018928527832 microseconds<br />
Output for 5.6.10
array_merge - 3.6611557006836 microseconds<br /> array_replace - 4.0419101715088 microseconds<br /> foreach - 3.1919479370117 microseconds<br />
Output for 5.6.9
array_merge - 3.7038326263428 microseconds<br /> array_replace - 4.0481090545654 microseconds<br /> foreach - 3.7980079650879 microseconds<br />
Output for 5.6.8
array_merge - 2.5639533996582 microseconds<br /> array_replace - 2.8610229492188 microseconds<br /> foreach - 2.1500587463379 microseconds<br />
Output for 5.6.7
array_merge - 3.7322044372559 microseconds<br /> array_replace - 4.1348934173584 microseconds<br /> foreach - 3.0770301818848 microseconds<br />
Output for 5.6.6
array_merge - 2.3918151855469 microseconds<br /> array_replace - 2.7320384979248 microseconds<br /> foreach - 2.1371841430664 microseconds<br />
Output for 5.6.5
array_merge - 1.5480518341064 microseconds<br /> array_replace - 1.7518997192383 microseconds<br /> foreach - 1.4119148254395 microseconds<br />
Output for 5.6.4
array_merge - 1.5630722045898 microseconds<br /> array_replace - 1.741886138916 microseconds<br /> foreach - 1.36399269104 microseconds<br />
Output for 5.6.3
array_merge - 1.5919208526611 microseconds<br /> array_replace - 1.7299652099609 microseconds<br /> foreach - 1.3959407806396 microseconds<br />
Output for 5.6.2
array_merge - 3.4360885620117 microseconds<br /> array_replace - 3.626823425293 microseconds<br /> foreach - 2.9008388519287 microseconds<br />
Output for 5.6.1
array_merge - 2.1932125091553 microseconds<br /> array_replace - 2.4340152740479 microseconds<br /> foreach - 1.6000270843506 microseconds<br />
Output for 5.6.0
array_merge - 2.0837783813477 microseconds<br /> array_replace - 2.3159980773926 microseconds<br /> foreach - 1.6951560974121 microseconds<br />
Output for 5.5.38
array_merge - 1.7931461334229 microseconds<br /> array_replace - 2.0089149475098 microseconds<br /> foreach - 1.5189647674561 microseconds<br />
Output for 5.5.37
array_merge - 2.1891593933105 microseconds<br /> array_replace - 2.3679733276367 microseconds<br /> foreach - 1.8241405487061 microseconds<br />
Output for 5.5.36
array_merge - 2.2931098937988 microseconds<br /> array_replace - 2.5417804718018 microseconds<br /> foreach - 2.0279884338379 microseconds<br />
Output for 5.5.35
array_merge - 2.3729801177979 microseconds<br /> array_replace - 2.9420852661133 microseconds<br /> foreach - 2.0031929016113 microseconds<br />
Output for 5.5.34
array_merge - 2.3019313812256 microseconds<br /> array_replace - 2.4659633636475 microseconds<br /> foreach - 1.9800662994385 microseconds<br />
Output for 5.5.33
array_merge - 2.3951530456543 microseconds<br /> array_replace - 2.4700164794922 microseconds<br /> foreach - 1.6860961914062 microseconds<br />
Output for 5.5.32
array_merge - 2.4609565734863 microseconds<br /> array_replace - 3.1440258026123 microseconds<br /> foreach - 2.5439262390137 microseconds<br />
Output for 5.5.31
array_merge - 2.5670528411865 microseconds<br /> array_replace - 2.8970241546631 microseconds<br /> foreach - 2.3031234741211 microseconds<br />
Output for 5.5.30
array_merge - 2.3369789123535 microseconds<br /> array_replace - 2.5808811187744 microseconds<br /> foreach - 2.2010803222656 microseconds<br />
Output for 5.5.29
array_merge - 2.2201538085938 microseconds<br /> array_replace - 2.4538040161133 microseconds<br /> foreach - 2.1078586578369 microseconds<br />
Output for 5.5.28
array_merge - 3.3400058746338 microseconds<br /> array_replace - 3.6969184875488 microseconds<br /> foreach - 2.9349327087402 microseconds<br />
Output for 5.5.27
array_merge - 2.410888671875 microseconds<br /> array_replace - 3.0300617218018 microseconds<br /> foreach - 2.4619102478027 microseconds<br />
Output for 5.5.26
array_merge - 3.6649703979492 microseconds<br /> array_replace - 3.8619041442871 microseconds<br /> foreach - 3.2031536102295 microseconds<br />
Output for 5.5.25
array_merge - 2.6931762695312 microseconds<br /> array_replace - 2.9640197753906 microseconds<br /> foreach - 2.3670196533203 microseconds<br />
Output for 5.5.24
array_merge - 2.3260116577148 microseconds<br /> array_replace - 2.5680065155029 microseconds<br /> foreach - 2.1400451660156 microseconds<br />
Output for 5.5.23
array_merge - 2.7370452880859 microseconds<br /> array_replace - 2.9480457305908 microseconds<br /> foreach - 2.3598670959473 microseconds<br />
Output for 5.5.22
array_merge - 1.7051696777344 microseconds<br /> array_replace - 1.9829273223877 microseconds<br /> foreach - 1.5881061553955 microseconds<br />
Output for 5.5.21
array_merge - 2.5110244750977 microseconds<br /> array_replace - 2.6750564575195 microseconds<br /> foreach - 2.0880699157715 microseconds<br />
Output for 5.5.20
array_merge - 1.5690326690674 microseconds<br /> array_replace - 1.7199516296387 microseconds<br /> foreach - 1.4369487762451 microseconds<br />
Output for 5.5.19
array_merge - 3.2460689544678 microseconds<br /> array_replace - 3.3919811248779 microseconds<br /> foreach - 2.8259754180908 microseconds<br />
Output for 5.5.18
array_merge - 1.6078948974609 microseconds<br /> array_replace - 1.8229484558105 microseconds<br /> foreach - 1.3489723205566 microseconds<br />
Output for 5.5.16
array_merge - 2.263069152832 microseconds<br /> array_replace - 2.4480819702148 microseconds<br /> foreach - 2.0959377288818 microseconds<br />
Output for 5.5.15
array_merge - 3.7357807159424 microseconds<br /> array_replace - 4.1170120239258 microseconds<br /> foreach - 3.1499862670898 microseconds<br />
Output for 5.5.14
array_merge - 2.8119087219238 microseconds<br /> array_replace - 2.5629997253418 microseconds<br /> foreach - 1.93190574646 microseconds<br />
Output for 5.5.13
array_merge - 2.7868747711182 microseconds<br /> array_replace - 2.9661655426025 microseconds<br /> foreach - 2.500057220459 microseconds<br />
Output for 5.5.12
array_merge - 3.2789707183838 microseconds<br /> array_replace - 3.5598278045654 microseconds<br /> foreach - 2.9799938201904 microseconds<br />
Output for 5.5.11
array_merge - 2.068042755127 microseconds<br /> array_replace - 2.263069152832 microseconds<br /> foreach - 1.9519329071045 microseconds<br />
Output for 5.5.10
array_merge - 1.8460750579834 microseconds<br /> array_replace - 2.0208358764648 microseconds<br /> foreach - 1.5738010406494 microseconds<br />
Output for 5.5.9
array_merge - 2.2509098052979 microseconds<br /> array_replace - 2.593994140625 microseconds<br /> foreach - 3.3321380615234 microseconds<br />
Output for 5.5.8
array_merge - 1.5640258789062 microseconds<br /> array_replace - 1.8038749694824 microseconds<br /> foreach - 1.427173614502 microseconds<br />
Output for 5.5.7
array_merge - 1.5659332275391 microseconds<br /> array_replace - 1.7311573028564 microseconds<br /> foreach - 1.4309883117676 microseconds<br />
Output for 5.5.6
array_merge - 1.9969940185547 microseconds<br /> array_replace - 2.2108554840088 microseconds<br /> foreach - 1.8789768218994 microseconds<br />
Output for 5.5.5
array_merge - 3.3600330352783 microseconds<br /> array_replace - 3.162145614624 microseconds<br /> foreach - 1.6088485717773 microseconds<br />
Output for 5.5.4
array_merge - 4.1210651397705 microseconds<br /> array_replace - 3.94606590271 microseconds<br /> foreach - 1.4150142669678 microseconds<br />
Output for 5.5.3
array_merge - 8.5752010345459 microseconds<br /> array_replace - 6.5319538116455 microseconds<br /> foreach - 2.9218196868896 microseconds<br />
Output for 5.5.2
array_merge - 6.9761276245117 microseconds<br /> array_replace - 6.7589282989502 microseconds<br /> foreach - 2.9048919677734 microseconds<br />
Output for 5.5.1
array_merge - 5.1379203796387 microseconds<br /> array_replace - 4.7979354858398 microseconds<br /> foreach - 2.047061920166 microseconds<br />
Output for 5.5.0
array_merge - 6.5639019012451 microseconds<br /> array_replace - 6.3180923461914 microseconds<br /> foreach - 2.8929710388184 microseconds<br />
Output for 5.4.45
array_merge - 4.6370029449463 microseconds<br /> array_replace - 4.4119358062744 microseconds<br /> foreach - 2.0201206207275 microseconds<br />
Output for 5.4.44
array_merge - 4.5309066772461 microseconds<br /> array_replace - 4.310131072998 microseconds<br /> foreach - 1.9209384918213 microseconds<br />
Output for 5.4.43
array_merge - 4.3749809265137 microseconds<br /> array_replace - 3.9920806884766 microseconds<br /> foreach - 1.8119812011719 microseconds<br />
Output for 5.4.42
array_merge - 5.4070949554443 microseconds<br /> array_replace - 5.0230026245117 microseconds<br /> foreach - 2.3131370544434 microseconds<br />
Output for 5.4.41
array_merge - 4.6889781951904 microseconds<br /> array_replace - 4.0109157562256 microseconds<br /> foreach - 1.7790794372559 microseconds<br />
Output for 5.4.40
array_merge - 4.4798851013184 microseconds<br /> array_replace - 4.1351318359375 microseconds<br /> foreach - 1.6350746154785 microseconds<br />
Output for 5.4.39
array_merge - 4.5299530029297 microseconds<br /> array_replace - 4.561185836792 microseconds<br /> foreach - 1.863956451416 microseconds<br />
Output for 5.4.38
array_merge - 3.41796875 microseconds<br /> array_replace - 3.342866897583 microseconds<br /> foreach - 1.4431476593018 microseconds<br />
Output for 5.4.37
array_merge - 3.3590793609619 microseconds<br /> array_replace - 3.3950805664062 microseconds<br /> foreach - 1.471996307373 microseconds<br />
Output for 5.4.36
array_merge - 3.1180381774902 microseconds<br /> array_replace - 3.014087677002 microseconds<br /> foreach - 1.3730525970459 microseconds<br />
Output for 5.4.35
array_merge - 4.8551559448242 microseconds<br /> array_replace - 4.6279430389404 microseconds<br /> foreach - 2.1069049835205 microseconds<br />
Output for 5.4.34
array_merge - 4.1530132293701 microseconds<br /> array_replace - 4.00710105896 microseconds<br /> foreach - 1.7988681793213 microseconds<br />
Output for 5.4.32
array_merge - 3.957986831665 microseconds<br /> array_replace - 3.7879943847656 microseconds<br /> foreach - 1.6717910766602 microseconds<br />
Output for 5.4.31
array_merge - 4.101037979126 microseconds<br /> array_replace - 3.9379596710205 microseconds<br /> foreach - 1.7881393432617 microseconds<br />
Output for 5.4.30
array_merge - 4.3129920959473 microseconds<br /> array_replace - 4.4770240783691 microseconds<br /> foreach - 1.7819404602051 microseconds<br />
Output for 5.4.29
array_merge - 3.9939880371094 microseconds<br /> array_replace - 3.8909912109375 microseconds<br /> foreach - 1.8041133880615 microseconds<br />
Output for 5.4.28
array_merge - 3.9980411529541 microseconds<br /> array_replace - 4.1251182556152 microseconds<br /> foreach - 2.2039413452148 microseconds<br />
Output for 5.4.27
array_merge - 4.0578842163086 microseconds<br /> array_replace - 3.8919448852539 microseconds<br /> foreach - 1.7349720001221 microseconds<br />
Output for 5.4.26
array_merge - 4.5349597930908 microseconds<br /> array_replace - 3.8321018218994 microseconds<br /> foreach - 2.1259784698486 microseconds<br />
Output for 5.4.25
array_merge - 3.2339096069336 microseconds<br /> array_replace - 3.0701160430908 microseconds<br /> foreach - 1.4679431915283 microseconds<br />
Output for 5.4.24
array_merge - 4.2219161987305 microseconds<br /> array_replace - 3.9970874786377 microseconds<br /> foreach - 1.8720626831055 microseconds<br />
Output for 5.4.23
array_merge - 3.1108856201172 microseconds<br /> array_replace - 3.0009746551514 microseconds<br /> foreach - 1.3918876647949 microseconds<br />
Output for 5.4.22
array_merge - 3.6900043487549 microseconds<br /> array_replace - 3.3361911773682 microseconds<br /> foreach - 1.4810562133789 microseconds<br />
Output for 5.4.21
array_merge - 4.1499137878418 microseconds<br /> array_replace - 3.8700103759766 microseconds<br /> foreach - 2.2869110107422 microseconds<br />
Output for 5.4.20
array_merge - 4.425048828125 microseconds<br /> array_replace - 4.7831535339355 microseconds<br /> foreach - 1.9180774688721 microseconds<br />
Output for 5.4.19
array_merge - 5.2921772003174 microseconds<br /> array_replace - 4.9037933349609 microseconds<br /> foreach - 2.1178722381592 microseconds<br />
Output for 5.4.18
array_merge - 5.3520202636719 microseconds<br /> array_replace - 5.1062107086182 microseconds<br /> foreach - 2.2580623626709 microseconds<br />
Output for 5.4.17
array_merge - 5.4910182952881 microseconds<br /> array_replace - 4.857063293457 microseconds<br /> foreach - 1.4810562133789 microseconds<br />
Output for 5.4.16
array_merge - 5.4609775543213 microseconds<br /> array_replace - 5.1538944244385 microseconds<br /> foreach - 1.8730163574219 microseconds<br />
Output for 5.4.15
array_merge - 4.8120021820068 microseconds<br /> array_replace - 4.7118663787842 microseconds<br /> foreach - 2.0599365234375 microseconds<br />
Output for 5.4.14
array_merge - 6.8588256835938 microseconds<br /> array_replace - 6.5360069274902 microseconds<br /> foreach - 2.8698444366455 microseconds<br />
Output for 5.4.13
array_merge - 4.8749446868896 microseconds<br /> array_replace - 4.6501159667969 microseconds<br /> foreach - 1.9679069519043 microseconds<br />
Output for 5.4.12
array_merge - 5.1400661468506 microseconds<br /> array_replace - 4.8251152038574 microseconds<br /> foreach - 2.1810531616211 microseconds<br />
Output for 5.4.11
array_merge - 4.7910213470459 microseconds<br /> array_replace - 4.7190189361572 microseconds<br /> foreach - 2.1829605102539 microseconds<br />
Output for 5.4.10
array_merge - 4.9648284912109 microseconds<br /> array_replace - 4.6250820159912 microseconds<br /> foreach - 2.0780563354492 microseconds<br />
Output for 5.4.9
array_merge - 3.8731098175049 microseconds<br /> array_replace - 4.2400360107422 microseconds<br /> foreach - 1.6419887542725 microseconds<br />
Output for 5.4.8
array_merge - 4.9629211425781 microseconds<br /> array_replace - 4.8141479492188 microseconds<br /> foreach - 2.0930767059326 microseconds<br />
Output for 5.4.7
array_merge - 5.5878162384033 microseconds<br /> array_replace - 5.281925201416 microseconds<br /> foreach - 2.4640560150146 microseconds<br />
Output for 5.4.6
array_merge - 4.4760704040527 microseconds<br /> array_replace - 4.1129589080811 microseconds<br /> foreach - 1.9519329071045 microseconds<br />
Output for 5.4.5
array_merge - 4.6300888061523 microseconds<br /> array_replace - 4.5790672302246 microseconds<br /> foreach - 2.0568370819092 microseconds<br />
Output for 5.4.4
array_merge - 3.5419464111328 microseconds<br /> array_replace - 3.4661293029785 microseconds<br /> foreach - 1.4879703521729 microseconds<br />
Output for 5.4.3
array_merge - 4.8658847808838 microseconds<br /> array_replace - 4.4910907745361 microseconds<br /> foreach - 2.0480155944824 microseconds<br />
Output for 5.4.2
array_merge - 4.4538974761963 microseconds<br /> array_replace - 4.1921138763428 microseconds<br /> foreach - 2.2220611572266 microseconds<br />
Output for 5.4.1
array_merge - 5.7439804077148 microseconds<br /> array_replace - 4.9300193786621 microseconds<br /> foreach - 2.3179054260254 microseconds<br />
Output for 5.4.0
array_merge - 5.2947998046875 microseconds<br /> array_replace - 5.4459571838379 microseconds<br /> foreach - 2.269983291626 microseconds<br />
Output for 5.3.29
array_merge - 3.4570693969727 microseconds<br /> array_replace - 2.9950141906738 microseconds<br /> foreach - 1.6109943389893 microseconds<br />
Output for 5.3.28
array_merge - 4.6350955963135 microseconds<br /> array_replace - 4.0340423583984 microseconds<br /> foreach - 2.173900604248 microseconds<br />
Output for 5.3.27
array_merge - 3.9749145507812 microseconds<br /> array_replace - 3.6168098449707 microseconds<br /> foreach - 2.1328926086426 microseconds<br />
Output for 5.3.26
array_merge - 5.0399303436279 microseconds<br /> array_replace - 4.2469501495361 microseconds<br /> foreach - 2.2668838500977 microseconds<br />
Output for 5.3.25
array_merge - 4.763126373291 microseconds<br /> array_replace - 4.054069519043 microseconds<br /> foreach - 2.1300315856934 microseconds<br />
Output for 5.3.24
array_merge - 4.896879196167 microseconds<br /> array_replace - 4.1267871856689 microseconds<br /> foreach - 2.2678375244141 microseconds<br />
Output for 5.3.23
array_merge - 4.4949054718018 microseconds<br /> array_replace - 3.8971900939941 microseconds<br /> foreach - 2.2778511047363 microseconds<br />
Output for 5.3.22
array_merge - 4.1821002960205 microseconds<br /> array_replace - 3.403902053833 microseconds<br /> foreach - 1.7788410186768 microseconds<br />
Output for 5.3.21
array_merge - 4.7080516815186 microseconds<br /> array_replace - 3.5159587860107 microseconds<br /> foreach - 1.8839836120605 microseconds<br />
Output for 5.3.20
array_merge - 5.2440166473389 microseconds<br /> array_replace - 4.472017288208 microseconds<br /> foreach - 2.4368762969971 microseconds<br />
Output for 5.3.19
array_merge - 4.2288303375244 microseconds<br /> array_replace - 3.629207611084 microseconds<br /> foreach - 1.9359588623047 microseconds<br />
Output for 5.3.18
array_merge - 4.6560764312744 microseconds<br /> array_replace - 4.094123840332 microseconds<br /> foreach - 2.4409294128418 microseconds<br />
Output for 5.3.17
array_merge - 4.0488243103027 microseconds<br /> array_replace - 3.5240650177002 microseconds<br /> foreach - 1.8329620361328 microseconds<br />
Output for 5.3.16
array_merge - 4.4929981231689 microseconds<br /> array_replace - 4.0481090545654 microseconds<br /> foreach - 2.1891593933105 microseconds<br />
Output for 5.3.15
array_merge - 4.2788982391357 microseconds<br /> array_replace - 3.7918090820312 microseconds<br /> foreach - 1.9488334655762 microseconds<br />
Output for 5.3.14
array_merge - 5.1047801971436 microseconds<br /> array_replace - 4.4050216674805 microseconds<br /> foreach - 2.3880004882812 microseconds<br />
Output for 5.3.13
array_merge - 4.9741268157959 microseconds<br /> array_replace - 4.270076751709 microseconds<br /> foreach - 2.2640228271484 microseconds<br />
Output for 5.3.12
array_merge - 5.2950382232666 microseconds<br /> array_replace - 4.4760704040527 microseconds<br /> foreach - 2.5119781494141 microseconds<br />
Output for 5.3.11
array_merge - 4.2901039123535 microseconds<br /> array_replace - 3.7009716033936 microseconds<br /> foreach - 1.9290447235107 microseconds<br />
Output for 5.3.10
array_merge - 4.3981075286865 microseconds<br /> array_replace - 3.7031173706055 microseconds<br /> foreach - 2.0899772644043 microseconds<br />
Output for 5.3.9
array_merge - 5.2058696746826 microseconds<br /> array_replace - 4.5971870422363 microseconds<br /> foreach - 2.4399757385254 microseconds<br />
Output for 5.3.8
array_merge - 4.3201446533203 microseconds<br /> array_replace - 3.4279823303223 microseconds<br /> foreach - 2.4421215057373 microseconds<br />
Output for 5.3.7
array_merge - 4.4331550598145 microseconds<br /> array_replace - 3.9000511169434 microseconds<br /> foreach - 2.2718906402588 microseconds<br />
Output for 5.3.6
array_merge - 4.7562122344971 microseconds<br /> array_replace - 4.1599273681641 microseconds<br /> foreach - 2.2950172424316 microseconds<br />
Output for 5.3.5
array_merge - 5.2280426025391 microseconds<br /> array_replace - 4.539966583252 microseconds<br /> foreach - 2.3999214172363 microseconds<br />
Output for 5.3.4
array_merge - 4.7609806060791 microseconds<br /> array_replace - 3.795862197876 microseconds<br /> foreach - 1.8458366394043 microseconds<br />
Output for 5.3.3
array_merge - 3.9548873901367 microseconds<br /> array_replace - 3.5450458526611 microseconds<br /> foreach - 2.0010471343994 microseconds<br />
Output for 5.3.2
array_merge - 4.84299659729 microseconds<br /> array_replace - 4.2219161987305 microseconds<br /> foreach - 2.2690296173096 microseconds<br />
Output for 5.3.1
array_merge - 4.9741268157959 microseconds<br /> array_replace - 4.2879581451416 microseconds<br /> foreach - 2.4051666259766 microseconds<br />
Output for 5.3.0
array_merge - 2.6290416717529 microseconds<br /> array_replace - 2.8610229492188 microseconds<br /> foreach - 2.4979114532471 microseconds<br />
Output for 5.0.0 - 5.2.17
Fatal error: Call to undefined function array_replace() in /in/ffRXp on line 20
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: array_replace() in /in/ffRXp on line 20
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: array_replace() in /in/ffRXp on line 20
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: array_replace() in /in/ffRXp on line 20