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); $startTimeForeach = microtime(true); foreach ($classmap2 as $k => $v) { $classmap1[$k] = $v; } $endTimeForeach = microtime(true); function amerge(array &$a, array &$b) { foreach ($b as $key => $value) { $a[$key] = $value; } return $a; } $startTimeFunc = microtime(true); amerge($classmap1, $classmap2); $endTimeFunc = microtime(true); echo "Merging took " . (($endTimeMerge - $startTimeMerge)*1000) ." microseconds<br />\n"; echo "Foreach took " . (($endTimeForeach - $startTimeForeach)*1000) ." microseconds<br />\n"; echo "Func took " . (($endTimeFunc - $startTimeFunc)*1000) ." microseconds<br />\n";
Output for 7.1.0
Merging took 0.6248950958252 microseconds<br /> Foreach took 0.63991546630859 microseconds<br /> Func took 0.41699409484863 microseconds<br />
Output for 7.0.14
Merging took 0.62894821166992 microseconds<br /> Foreach took 0.65207481384277 microseconds<br /> Func took 0.43797492980957 microseconds<br />
Output for 7.0.10
Merging took 1.4438629150391 microseconds<br /> Foreach took 0.65898895263672 microseconds<br /> Func took 0.30612945556641 microseconds<br />
Output for 7.0.9
Merging took 1.5139579772949 microseconds<br /> Foreach took 0.79703330993652 microseconds<br /> Func took 0.43606758117676 microseconds<br />
Output for 7.0.8
Merging took 1.7449855804443 microseconds<br /> Foreach took 0.78296661376953 microseconds<br /> Func took 0.37407875061035 microseconds<br />
Output for 7.0.7
Merging took 1.5349388122559 microseconds<br /> Foreach took 0.69904327392578 microseconds<br /> Func took 0.33307075500488 microseconds<br />
Output for 7.0.6
Merging took 1.4541149139404 microseconds<br /> Foreach took 0.67496299743652 microseconds<br /> Func took 0.33903121948242 microseconds<br />
Output for 7.0.5
Merging took 1.6741752624512 microseconds<br /> Foreach took 0.74291229248047 microseconds<br /> Func took 0.3659725189209 microseconds<br />
Output for 7.0.4
Merging took 0.63586235046387 microseconds<br /> Foreach took 0.4270076751709 microseconds<br /> Func took 0.30779838562012 microseconds<br />
Output for 7.0.3
Merging took 0.58388710021973 microseconds<br /> Foreach took 0.44918060302734 microseconds<br /> Func took 0.27084350585938 microseconds<br />
Output for 7.0.2
Merging took 0.78988075256348 microseconds<br /> Foreach took 0.61702728271484 microseconds<br /> Func took 0.37312507629395 microseconds<br />
Output for 7.0.1
Merging took 0.65016746520996 microseconds<br /> Foreach took 0.63395500183105 microseconds<br /> Func took 0.29897689819336 microseconds<br />
Output for 7.0.0
Merging took 0.61297416687012 microseconds<br /> Foreach took 0.62394142150879 microseconds<br /> Func took 0.38290023803711 microseconds<br />
Output for hhvm-3.12.0
Merging took 1.1229515075684 microseconds<br /> Foreach took 1.4519691467285 microseconds<br /> Func took 0.99587440490723 microseconds<br />
Output for hhvm-3.10.0
Merging took 1.0159015655518 microseconds<br /> Foreach took 1.5799999237061 microseconds<br /> Func took 1.2500286102295 microseconds<br />
Output for 5.6.28
Merging took 2.1610260009766 microseconds<br /> Foreach took 2.3019313812256 microseconds<br /> Func took 1.3070106506348 microseconds<br />
Output for 5.6.25
Merging took 1.9509792327881 microseconds<br /> Foreach took 2.7618408203125 microseconds<br /> Func took 0.86021423339844 microseconds<br />
Output for 5.6.24
Merging took 2.7248859405518 microseconds<br /> Foreach took 2.6431083679199 microseconds<br /> Func took 1.5130043029785 microseconds<br />
Output for 5.6.23
Merging took 2.3798942565918 microseconds<br /> Foreach took 2.2189617156982 microseconds<br /> Func took 1.0778903961182 microseconds<br />
Output for 5.6.22
Merging took 2.3410320281982 microseconds<br /> Foreach took 2.2320747375488 microseconds<br /> Func took 1.1980533599854 microseconds<br />
Output for 5.6.21
Merging took 1.8601417541504 microseconds<br /> Foreach took 1.7540454864502 microseconds<br /> Func took 0.9009838104248 microseconds<br />
Output for 5.6.20
Merging took 2.2079944610596 microseconds<br /> Foreach took 2.094030380249 microseconds<br /> Func took 0.94199180603027 microseconds<br />
Output for 5.6.19
Merging took 2.2110939025879 microseconds<br /> Foreach took 1.9381046295166 microseconds<br /> Func took 1.0299682617188 microseconds<br />
Output for 5.6.18
Merging took 2.1829605102539 microseconds<br /> Foreach took 1.971960067749 microseconds<br /> Func took 0.91695785522461 microseconds<br />
Output for 5.6.17
Merging took 2.2540092468262 microseconds<br /> Foreach took 2.1529197692871 microseconds<br /> Func took 1.0499954223633 microseconds<br />
Output for 5.6.16
Merging took 2.3550987243652 microseconds<br /> Foreach took 2.979040145874 microseconds<br /> Func took 1.2080669403076 microseconds<br />
Output for 5.6.15
Merging took 2.4678707122803 microseconds<br /> Foreach took 2.5131702423096 microseconds<br /> Func took 1.2879371643066 microseconds<br />
Output for 5.6.14
Merging took 2.6249885559082 microseconds<br /> Foreach took 2.6218891143799 microseconds<br /> Func took 1.2791156768799 microseconds<br />
Output for 5.6.13
Merging took 2.6130676269531 microseconds<br /> Foreach took 2.6149749755859 microseconds<br /> Func took 1.147985458374 microseconds<br />
Output for 5.6.12
Merging took 2.734899520874 microseconds<br /> Foreach took 2.5980472564697 microseconds<br /> Func took 1.284122467041 microseconds<br />
Output for 5.6.11
Merging took 2.0949840545654 microseconds<br /> Foreach took 2.0520687103271 microseconds<br /> Func took 0.99897384643555 microseconds<br />
Output for 5.6.10
Merging took 2.4721622467041 microseconds<br /> Foreach took 2.4628639221191 microseconds<br /> Func took 1.2331008911133 microseconds<br />
Output for 5.6.9
Merging took 2.5160312652588 microseconds<br /> Foreach took 2.4659633636475 microseconds<br /> Func took 1.244068145752 microseconds<br />
Output for 5.6.8
Merging took 2.4678707122803 microseconds<br /> Foreach took 2.4387836456299 microseconds<br /> Func took 1.2800693511963 microseconds<br />
Output for 5.6.7
Merging took 2.3131370544434 microseconds<br /> Foreach took 2.2270679473877 microseconds<br /> Func took 1.0769367218018 microseconds<br />
Output for 5.6.6
Merging took 2.2780895233154 microseconds<br /> Foreach took 2.234935760498 microseconds<br /> Func took 1.1250972747803 microseconds<br />
Output for 5.6.5
Merging took 2.0468235015869 microseconds<br /> Foreach took 1.9831657409668 microseconds<br /> Func took 0.97084045410156 microseconds<br />
Output for 5.6.4
Merging took 1.8320083618164 microseconds<br /> Foreach took 1.7349720001221 microseconds<br /> Func took 0.87380409240723 microseconds<br />
Output for 5.6.3
Merging took 2.2180080413818 microseconds<br /> Foreach took 2.2730827331543 microseconds<br /> Func took 1.1260509490967 microseconds<br />
Output for 5.6.2
Merging took 2.6850700378418 microseconds<br /> Foreach took 2.5899410247803 microseconds<br /> Func took 1.2950897216797 microseconds<br />
Output for 5.6.1
Merging took 2.6309490203857 microseconds<br /> Foreach took 2.5959014892578 microseconds<br /> Func took 1.2950897216797 microseconds<br />
Output for 5.6.0
Merging took 2.3410320281982 microseconds<br /> Foreach took 2.3090839385986 microseconds<br /> Func took 1.1200904846191 microseconds<br />
Output for 5.5.38
Merging took 2.3210048675537 microseconds<br /> Foreach took 2.2821426391602 microseconds<br /> Func took 1.1069774627686 microseconds<br />
Output for 5.5.37
Merging took 2.6729106903076 microseconds<br /> Foreach took 2.6929378509521 microseconds<br /> Func took 1.3089179992676 microseconds<br />
Output for 5.5.36
Merging took 2.7611255645752 microseconds<br /> Foreach took 2.8128623962402 microseconds<br /> Func took 1.3678073883057 microseconds<br />
Output for 5.5.35
Merging took 2.2847652435303 microseconds<br /> Foreach took 2.7740001678467 microseconds<br /> Func took 1.4579296112061 microseconds<br />
Output for 5.5.34
Merging took 2.4909973144531 microseconds<br /> Foreach took 2.0821094512939 microseconds<br /> Func took 0.95701217651367 microseconds<br />
Output for 5.5.33
Merging took 2.0599365234375 microseconds<br /> Foreach took 2.1181106567383 microseconds<br /> Func took 1.0988712310791 microseconds<br />
Output for 5.5.32
Merging took 2.7551651000977 microseconds<br /> Foreach took 2.6659965515137 microseconds<br /> Func took 1.2469291687012 microseconds<br />
Output for 5.5.31
Merging took 2.3231506347656 microseconds<br /> Foreach took 2.2439956665039 microseconds<br /> Func took 1.1169910430908 microseconds<br />
Output for 5.5.30
Merging took 2.1669864654541 microseconds<br /> Foreach took 2.3081302642822 microseconds<br /> Func took 0.91385841369629 microseconds<br />
Output for 5.5.29
Merging took 2.3610591888428 microseconds<br /> Foreach took 2.3260116577148 microseconds<br /> Func took 1.168966293335 microseconds<br />
Output for 5.5.28
Merging took 2.1300315856934 microseconds<br /> Foreach took 2.0151138305664 microseconds<br /> Func took 1.4388561248779 microseconds<br />
Output for 5.5.27
Merging took 1.9140243530273 microseconds<br /> Foreach took 1.9030570983887 microseconds<br /> Func took 0.97799301147461 microseconds<br />
Output for 5.5.26
Merging took 2.2568702697754 microseconds<br /> Foreach took 2.4139881134033 microseconds<br /> Func took 1.1777877807617 microseconds<br />
Output for 5.5.25
Merging took 2.4890899658203 microseconds<br /> Foreach took 2.4778842926025 microseconds<br /> Func took 1.3740062713623 microseconds<br />
Output for 5.5.24
Merging took 2.7740001678467 microseconds<br /> Foreach took 2.7439594268799 microseconds<br /> Func took 1.3899803161621 microseconds<br />
Output for 5.5.23
Merging took 2.6459693908691 microseconds<br /> Foreach took 2.6528835296631 microseconds<br /> Func took 1.3890266418457 microseconds<br />
Output for 5.5.22
Merging took 2.1419525146484 microseconds<br /> Foreach took 2.1171569824219 microseconds<br /> Func took 1.046895980835 microseconds<br />
Output for 5.5.21
Merging took 2.6400089263916 microseconds<br /> Foreach took 2.7248859405518 microseconds<br /> Func took 1.331090927124 microseconds<br />
Output for 5.5.20
Merging took 2.3069381713867 microseconds<br /> Foreach took 2.3250579833984 microseconds<br /> Func took 1.1019706726074 microseconds<br />
Output for 5.5.19
Merging took 2.1650791168213 microseconds<br /> Foreach took 2.1541118621826 microseconds<br /> Func took 1.025915145874 microseconds<br />
Output for 5.5.18
Merging took 2.5079250335693 microseconds<br /> Foreach took 2.5491714477539 microseconds<br /> Func took 1.2989044189453 microseconds<br />
Output for 5.5.16
Merging took 2.3970603942871 microseconds<br /> Foreach took 2.1469593048096 microseconds<br /> Func took 1.1770725250244 microseconds<br />
Output for 5.5.15
Merging took 3.2258033752441 microseconds<br /> Foreach took 2.6028156280518 microseconds<br /> Func took 1.3790130615234 microseconds<br />
Output for 5.5.14
Merging took 2.7639865875244 microseconds<br /> Foreach took 2.7129650115967 microseconds<br /> Func took 1.4529228210449 microseconds<br />
Output for 5.5.13
Merging took 2.4929046630859 microseconds<br /> Foreach took 2.5069713592529 microseconds<br /> Func took 1.2469291687012 microseconds<br />
Output for 5.5.12
Merging took 2.4371147155762 microseconds<br /> Foreach took 2.4049282073975 microseconds<br /> Func took 1.1820793151855 microseconds<br />
Output for 5.5.11
Merging took 2.730131149292 microseconds<br /> Foreach took 2.6760101318359 microseconds<br /> Func took 1.3771057128906 microseconds<br />
Output for 5.5.10
Merging took 2.6888847351074 microseconds<br /> Foreach took 2.6731491088867 microseconds<br /> Func took 1.3270378112793 microseconds<br />
Output for 5.5.9
Merging took 2.1250247955322 microseconds<br /> Foreach took 2.112865447998 microseconds<br /> Func took 1.0600090026855 microseconds<br />
Output for 5.5.8
Merging took 2.5129318237305 microseconds<br /> Foreach took 2.5341510772705 microseconds<br /> Func took 1.3220310211182 microseconds<br />
Output for 5.5.7
Merging took 2.2819042205811 microseconds<br /> Foreach took 2.3159980773926 microseconds<br /> Func took 1.1849403381348 microseconds<br />
Output for 5.5.6
Merging took 2.3739337921143 microseconds<br /> Foreach took 2.6450157165527 microseconds<br /> Func took 1.2621879577637 microseconds<br />
Output for 5.5.5
Merging took 3.5109519958496 microseconds<br /> Foreach took 1.5010833740234 microseconds<br /> Func took 0.85783004760742 microseconds<br />
Output for 5.5.4
Merging took 5.3689479827881 microseconds<br /> Foreach took 2.3319721221924 microseconds<br /> Func took 1.5060901641846 microseconds<br />
Output for 5.5.3
Merging took 5.2897930145264 microseconds<br /> Foreach took 2.3138523101807 microseconds<br /> Func took 1.3420581817627 microseconds<br />
Output for 5.5.2
Merging took 5.1729679107666 microseconds<br /> Foreach took 1.9428730010986 microseconds<br /> Func took 1.0972023010254 microseconds<br />
Output for 5.5.1
Merging took 4.673957824707 microseconds<br /> Foreach took 2.0380020141602 microseconds<br /> Func took 1.2040138244629 microseconds<br />
Output for 5.5.0
Merging took 5.3870677947998 microseconds<br /> Foreach took 2.3159980773926 microseconds<br /> Func took 1.4920234680176 microseconds<br />
Output for 5.4.45
Merging took 4.6432018280029 microseconds<br /> Foreach took 2.4378299713135 microseconds<br /> Func took 1.2829303741455 microseconds<br />
Output for 5.4.44
Merging took 4.9169063568115 microseconds<br /> Foreach took 2.2392272949219 microseconds<br /> Func took 1.309871673584 microseconds<br />
Output for 5.4.43
Merging took 4.6529769897461 microseconds<br /> Foreach took 2.1438598632812 microseconds<br /> Func took 1.2671947479248 microseconds<br />
Output for 5.4.42
Merging took 5.0680637359619 microseconds<br /> Foreach took 2.3729801177979 microseconds<br /> Func took 1.3210773468018 microseconds<br />
Output for 5.4.41
Merging took 4.5688152313232 microseconds<br /> Foreach took 2.1657943725586 microseconds<br /> Func took 1.2228488922119 microseconds<br />
Output for 5.4.40
Merging took 4.5521259307861 microseconds<br /> Foreach took 1.9509792327881 microseconds<br /> Func took 1.1379718780518 microseconds<br />
Output for 5.4.39
Merging took 4.4209957122803 microseconds<br /> Foreach took 2.2919178009033 microseconds<br /> Func took 1.2099742889404 microseconds<br />
Output for 5.4.38
Merging took 4.9839019775391 microseconds<br /> Foreach took 2.331018447876 microseconds<br /> Func took 1.2848377227783 microseconds<br />
Output for 5.4.37
Merging took 4.4901371002197 microseconds<br /> Foreach took 2.0968914031982 microseconds<br /> Func took 1.3461112976074 microseconds<br />
Output for 5.4.36
Merging took 5.6350231170654 microseconds<br /> Foreach took 2.6788711547852 microseconds<br /> Func took 1.4839172363281 microseconds<br />
Output for 5.4.35
Merging took 5.5148601531982 microseconds<br /> Foreach took 2.485990524292 microseconds<br /> Func took 1.370906829834 microseconds<br />
Output for 5.4.34
Merging took 5.2459239959717 microseconds<br /> Foreach took 2.3610591888428 microseconds<br /> Func took 1.298189163208 microseconds<br />
Output for 5.4.32
Merging took 3.5469532012939 microseconds<br /> Foreach took 1.6639232635498 microseconds<br /> Func took 0.93388557434082 microseconds<br />
Output for 5.4.31
Merging took 5.3589344024658 microseconds<br /> Foreach took 2.4268627166748 microseconds<br /> Func took 1.4669895172119 microseconds<br />
Output for 5.4.30
Merging took 5.1980018615723 microseconds<br /> Foreach took 2.3739337921143 microseconds<br /> Func took 1.338005065918 microseconds<br />
Output for 5.4.29
Merging took 4.9309730529785 microseconds<br /> Foreach took 2.357006072998 microseconds<br /> Func took 1.3251304626465 microseconds<br />
Output for 5.4.28
Merging took 5.2878856658936 microseconds<br /> Foreach took 2.4521350860596 microseconds<br /> Func took 1.5170574188232 microseconds<br />
Output for 5.4.27
Merging took 4.8739910125732 microseconds<br /> Foreach took 2.2561550140381 microseconds<br /> Func took 1.3079643249512 microseconds<br />
Output for 5.4.26
Merging took 3.9989948272705 microseconds<br /> Foreach took 1.6860961914062 microseconds<br /> Func took 1.1539459228516 microseconds<br />
Output for 5.4.25
Merging took 5.3789615631104 microseconds<br /> Foreach took 2.4509429931641 microseconds<br /> Func took 1.4169216156006 microseconds<br />
Output for 5.4.24
Merging took 5.1779747009277 microseconds<br /> Foreach took 2.3398399353027 microseconds<br /> Func took 1.2881755828857 microseconds<br />
Output for 5.4.23
Merging took 4.9710273742676 microseconds<br /> Foreach took 2.295970916748 microseconds<br /> Func took 1.6419887542725 microseconds<br />
Output for 5.4.22
Merging took 4.7280788421631 microseconds<br /> Foreach took 1.8990039825439 microseconds<br /> Func took 1.0871887207031 microseconds<br />
Output for 5.4.21
Merging took 3.7579536437988 microseconds<br /> Foreach took 1.6720294952393 microseconds<br /> Func took 0.99396705627441 microseconds<br />
Output for 5.4.20
Merging took 4.7869682312012 microseconds<br /> Foreach took 2.1750926971436 microseconds<br /> Func took 1.291036605835 microseconds<br />
Output for 5.4.19
Merging took 4.7059059143066 microseconds<br /> Foreach took 2.29811668396 microseconds<br /> Func took 1.2500286102295 microseconds<br />
Output for 5.4.18
Merging took 5.4011344909668 microseconds<br /> Foreach took 2.479076385498 microseconds<br /> Func took 1.4300346374512 microseconds<br />
Output for 5.4.17
Merging took 3.568172454834 microseconds<br /> Foreach took 1.5668869018555 microseconds<br /> Func took 0.88810920715332 microseconds<br />
Output for 5.4.16
Merging took 4.8410892486572 microseconds<br /> Foreach took 2.2010803222656 microseconds<br /> Func took 1.2929439544678 microseconds<br />
Output for 5.4.15
Merging took 5.2230358123779 microseconds<br /> Foreach took 2.439022064209 microseconds<br /> Func took 1.4121532440186 microseconds<br />
Output for 5.4.14
Merging took 7.7519416809082 microseconds<br /> Foreach took 3.3161640167236 microseconds<br /> Func took 1.8360614776611 microseconds<br />
Output for 5.4.13
Merging took 5.1980018615723 microseconds<br /> Foreach took 2.2900104522705 microseconds<br /> Func took 1.2240409851074 microseconds<br />
Output for 5.4.12
Merging took 5.3520202636719 microseconds<br /> Foreach took 2.4268627166748 microseconds<br /> Func took 1.427173614502 microseconds<br />
Output for 5.4.11
Merging took 3.4759044647217 microseconds<br /> Foreach took 1.521110534668 microseconds<br /> Func took 0.91290473937988 microseconds<br />
Output for 5.4.10
Merging took 6.0949325561523 microseconds<br /> Foreach took 2.4189949035645 microseconds<br /> Func took 1.3711452484131 microseconds<br />
Output for 5.4.9
Merging took 4.8279762268066 microseconds<br /> Foreach took 2.126932144165 microseconds<br /> Func took 1.1861324310303 microseconds<br />
Output for 5.4.8
Merging took 5.3031444549561 microseconds<br /> Foreach took 2.392053604126 microseconds<br /> Func took 1.3358592987061 microseconds<br />
Output for 5.4.7
Merging took 4.6651363372803 microseconds<br /> Foreach took 1.9640922546387 microseconds<br /> Func took 1.2409687042236 microseconds<br />
Output for 5.4.6
Merging took 5.0890445709229 microseconds<br /> Foreach took 2.2640228271484 microseconds<br /> Func took 1.2991428375244 microseconds<br />
Output for 5.4.5
Merging took 5.1109790802002 microseconds<br /> Foreach took 2.2900104522705 microseconds<br /> Func took 1.3139247894287 microseconds<br />
Output for 5.4.4
Merging took 4.7121047973633 microseconds<br /> Foreach took 2.1429061889648 microseconds<br /> Func took 1.2547969818115 microseconds<br />
Output for 5.4.3
Merging took 5.3699016571045 microseconds<br /> Foreach took 2.4259090423584 microseconds<br /> Func took 1.3940334320068 microseconds<br />
Output for 5.4.2
Merging took 4.7588348388672 microseconds<br /> Foreach took 2.4139881134033 microseconds<br /> Func took 1.5997886657715 microseconds<br />
Output for 5.4.1
Merging took 4.8410892486572 microseconds<br /> Foreach took 2.0840167999268 microseconds<br /> Func took 1.0149478912354 microseconds<br />
Output for 5.4.0
Merging took 5.1250457763672 microseconds<br /> Foreach took 2.7179718017578 microseconds<br /> Func took 1.2168884277344 microseconds<br />
Output for 5.3.29
Merging took 4.5959949493408 microseconds<br /> Foreach took 2.2399425506592 microseconds<br /> Func took 1.1868476867676 microseconds<br />
Output for 5.3.28
Merging took 4.1670799255371 microseconds<br /> Foreach took 2.1951198577881 microseconds<br /> Func took 1.3959407806396 microseconds<br />
Output for 5.3.27
Merging took 4.828929901123 microseconds<br /> Foreach took 2.3810863494873 microseconds<br /> Func took 1.4688968658447 microseconds<br />
Output for 5.3.26
Merging took 4.4910907745361 microseconds<br /> Foreach took 2.877950668335 microseconds<br /> Func took 2.0041465759277 microseconds<br />
Output for 5.3.25
Merging took 4.3940544128418 microseconds<br /> Foreach took 2.2199153900146 microseconds<br /> Func took 1.30295753479 microseconds<br />
Output for 5.3.24
Merging took 5.5310726165771 microseconds<br /> Foreach took 3.0670166015625 microseconds<br /> Func took 1.2719631195068 microseconds<br />
Output for 5.3.23
Merging took 5.0539970397949 microseconds<br /> Foreach took 2.331018447876 microseconds<br /> Func took 1.4040470123291 microseconds<br />
Output for 5.3.22
Merging took 4.6520233154297 microseconds<br /> Foreach took 2.3040771484375 microseconds<br /> Func took 1.971960067749 microseconds<br />
Output for 5.3.21
Merging took 4.4100284576416 microseconds<br /> Foreach took 1.878023147583 microseconds<br /> Func took 1.3699531555176 microseconds<br />
Output for 5.3.20
Merging took 3.3841133117676 microseconds<br /> Foreach took 1.5819072723389 microseconds<br /> Func took 0.89788436889648 microseconds<br />
Output for 5.3.19
Merging took 5.0609111785889 microseconds<br /> Foreach took 2.4120807647705 microseconds<br /> Func took 1.3449192047119 microseconds<br />
Output for 5.3.18
Merging took 4.5900344848633 microseconds<br /> Foreach took 3.3268928527832 microseconds<br /> Func took 1.1990070343018 microseconds<br />
Output for 5.3.17
Merging took 3.7720203399658 microseconds<br /> Foreach took 1.8019676208496 microseconds<br /> Func took 1.0409355163574 microseconds<br />
Output for 5.3.16
Merging took 3.939151763916 microseconds<br /> Foreach took 2.0079612731934 microseconds<br /> Func took 1.1899471282959 microseconds<br />
Output for 5.3.15
Merging took 5.2239894866943 microseconds<br /> Foreach took 2.4738311767578 microseconds<br /> Func took 1.4448165893555 microseconds<br />
Output for 5.3.14
Merging took 5.2230358123779 microseconds<br /> Foreach took 2.2690296173096 microseconds<br /> Func took 1.2431144714355 microseconds<br />
Output for 5.3.13
Merging took 4.4538974761963 microseconds<br /> Foreach took 2.2070407867432 microseconds<br /> Func took 1.4081001281738 microseconds<br />
Output for 5.3.12
Merging took 4.4260025024414 microseconds<br /> Foreach took 2.1638870239258 microseconds<br /> Func took 1.3182163238525 microseconds<br />
Output for 5.3.11
Merging took 3.4191608428955 microseconds<br /> Foreach took 1.6138553619385 microseconds<br /> Func took 0.95200538635254 microseconds<br />
Output for 5.3.10
Merging took 4.1029453277588 microseconds<br /> Foreach took 2.1750926971436 microseconds<br /> Func took 1.3608932495117 microseconds<br />
Output for 5.3.9
Merging took 5.0990581512451 microseconds<br /> Foreach took 2.3720264434814 microseconds<br /> Func took 1.4159679412842 microseconds<br />
Output for 5.3.8
Merging took 3.3700466156006 microseconds<br /> Foreach took 1.6570091247559 microseconds<br /> Func took 0.95605850219727 microseconds<br />
Output for 5.3.7
Merging took 4.9657821655273 microseconds<br /> Foreach took 2.4230480194092 microseconds<br /> Func took 1.453161239624 microseconds<br />
Output for 5.3.6
Merging took 4.8518180847168 microseconds<br /> Foreach took 2.3941993713379 microseconds<br /> Func took 1.4209747314453 microseconds<br />
Output for 5.3.5
Merging took 4.8308372497559 microseconds<br /> Foreach took 2.3279190063477 microseconds<br /> Func took 1.3470649719238 microseconds<br />
Output for 5.3.4
Merging took 3.9849281311035 microseconds<br /> Foreach took 1.9059181213379 microseconds<br /> Func took 1.0688304901123 microseconds<br />
Output for 5.3.3
Merging took 4.7779083251953 microseconds<br /> Foreach took 2.3021697998047 microseconds<br /> Func took 1.3630390167236 microseconds<br />
Output for 5.3.2
Merging took 4.6260356903076 microseconds<br /> Foreach took 2.2430419921875 microseconds<br /> Func took 1.2819766998291 microseconds<br />
Output for 5.3.1
Merging took 5.4299831390381 microseconds<br /> Foreach took 2.694845199585 microseconds<br /> Func took 1.6131401062012 microseconds<br />
Output for 5.3.0
Merging took 2.7081966400146 microseconds<br /> Foreach took 3.1418800354004 microseconds<br /> Func took 1.6028881072998 microseconds<br />
Output for 5.2.17
Merging took 5.3648948669434 microseconds<br /> Foreach took 2.8979778289795 microseconds<br /> Func took 4.4088363647461 microseconds<br />
Output for 5.2.16
Merging took 4.4441223144531 microseconds<br /> Foreach took 2.2258758544922 microseconds<br /> Func took 3.3848285675049 microseconds<br />
Output for 5.2.15
Merging took 5.4891109466553 microseconds<br /> Foreach took 3.0169486999512 microseconds<br /> Func took 4.2259693145752 microseconds<br />
Output for 5.2.14
Merging took 4.9600601196289 microseconds<br /> Foreach took 2.0740032196045 microseconds<br /> Func took 3.0689239501953 microseconds<br />
Output for 5.2.13
Merging took 5.0239562988281 microseconds<br /> Foreach took 2.6021003723145 microseconds<br /> Func took 3.7469863891602 microseconds<br />
Output for 5.2.12
Merging took 3.9801597595215 microseconds<br /> Foreach took 2.1908283233643 microseconds<br /> Func took 3.0708312988281 microseconds<br />
Output for 5.2.11
Merging took 6.0479640960693 microseconds<br /> Foreach took 3.2050609588623 microseconds<br /> Func took 4.5480728149414 microseconds<br />
Output for 5.2.10
Merging took 4.2340755462646 microseconds<br /> Foreach took 2.2640228271484 microseconds<br /> Func took 3.4940242767334 microseconds<br />
Output for 5.2.9
Merging took 5.6390762329102 microseconds<br /> Foreach took 3.0441284179688 microseconds<br /> Func took 4.4188499450684 microseconds<br />
Output for 5.2.8
Merging took 5.436897277832 microseconds<br /> Foreach took 2.763032913208 microseconds<br /> Func took 5.0451755523682 microseconds<br />
Output for 5.2.7
Merging took 4.8298835754395 microseconds<br /> Foreach took 2.708911895752 microseconds<br /> Func took 3.9660930633545 microseconds<br />
Output for 5.2.6
Merging took 4.5101642608643 microseconds<br /> Foreach took 2.3410320281982 microseconds<br /> Func took 3.5579204559326 microseconds<br />
Output for 5.2.5
Merging took 5.8188438415527 microseconds<br /> Foreach took 2.4740695953369 microseconds<br /> Func took 3.6039352416992 microseconds<br />
Output for 5.2.4
Merging took 7.7569484710693 microseconds<br /> Foreach took 3.5090446472168 microseconds<br /> Func took 4.3380260467529 microseconds<br />
Output for 5.2.3
Merging took 6.7050457000732 microseconds<br /> Foreach took 3.1540393829346 microseconds<br /> Func took 4.7199726104736 microseconds<br />
Output for 5.2.2
Merging took 6.1798095703125 microseconds<br /> Foreach took 2.8469562530518 microseconds<br /> Func took 4.472017288208 microseconds<br />
Output for 5.2.1
Merging took 4.8577785491943 microseconds<br /> Foreach took 2.7120113372803 microseconds<br /> Func took 3.5378932952881 microseconds<br />
Output for 5.2.0
Merging took 4.5030117034912 microseconds<br /> Foreach took 2.816915512085 microseconds<br /> Func took 3.3080577850342 microseconds<br />
Output for 5.1.6
Merging took 6.9742202758789 microseconds<br /> Foreach took 2.8800964355469 microseconds<br /> Func took 4.9338340759277 microseconds<br />
Output for 5.1.5
Merging took 7.0738792419434 microseconds<br /> Foreach took 3.0481815338135 microseconds<br /> Func took 5.0749778747559 microseconds<br />
Output for 5.1.4
Merging took 5.9928894042969 microseconds<br /> Foreach took 2.7141571044922 microseconds<br /> Func took 5.2518844604492 microseconds<br />
Output for 5.1.3
Merging took 7.1711540222168 microseconds<br /> Foreach took 2.9580593109131 microseconds<br /> Func took 5.0249099731445 microseconds<br />
Output for 5.1.2
Merging took 6.9630146026611 microseconds<br /> Foreach took 2.8781890869141 microseconds<br /> Func took 4.8689842224121 microseconds<br />
Output for 5.1.1
Merging took 6.3819885253906 microseconds<br /> Foreach took 2.6819705963135 microseconds<br /> Func took 4.5070648193359 microseconds<br />
Output for 5.1.0
Merging took 5.4562091827393 microseconds<br /> Foreach took 2.6860237121582 microseconds<br /> Func took 4.0850639343262 microseconds<br />
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in /in/OFjte on line 27
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_ARRAY, expecting ')' in /in/OFjte on line 27
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_ARRAY, expecting ')' in /in/OFjte on line 27
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/OFjte on line 27
Process exited with code 255.