3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); for($i = 0; $i < pow(10, 5); $i++) { $a[$i] = array( md5(microtime(true)) ); } $sum = 0; $times['for']['before'] = microtime(true); for($j = 0; $i < count($a); $i++) { $sum += 1000; } $times['for']['after'] = microtime(true); unset($sum); $sum = 0; $times['foreach']['before'] = microtime(true); foreach($a as $k) { $sum += 1000; } $times['foreach']['after'] = microtime(true); unset($sum); $t_for = $times['for']['after'] - $times['for']['before']; $t_foreach = $times['foreach']['after'] - $times['foreach']['before']; var_dump(array('for' => $t_for, 'foreach' => $t_foreach, 'is for faster than foreach?' => $t_for < $t_foreach));
Output for 7.1.0
array(3) { ["for"]=> float(1.9073486328125E-6) ["foreach"]=> float(0.0061531066894531) ["is for faster than foreach?"]=> bool(true) }
Output for 7.0.14
array(3) { ["for"]=> float(-3.0994415283203E-6) ["foreach"]=> float(-0.0075018405914307) ["is for faster than foreach?"]=> bool(false) }
Output for 7.0.12
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.007692813873291) ["is for faster than foreach?"]=> bool(true) }
Output for 7.0.6
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.0067038536071777) ["is for faster than foreach?"]=> bool(true) }
Output for 7.0.5
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.0077111721038818) ["is for faster than foreach?"]=> bool(true) }
Output for 7.0.4
array(3) { ["for"]=> float(2.8610229492188E-6) ["foreach"]=> float(0.0063240528106689) ["is for faster than foreach?"]=> bool(true) }
Output for 7.0.3
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.0069980621337891) ["is for faster than foreach?"]=> bool(true) }
Output for 7.0.2
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.0070130825042725) ["is for faster than foreach?"]=> bool(true) }
Output for 7.0.1
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.0067510604858398) ["is for faster than foreach?"]=> bool(true) }
Output for 7.0.0
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.0072591304779053) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.28
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.0224449634552) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.31, 5.6.21
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.030807018280029) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.20
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.026755094528198) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.19
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.027135848999023) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.18
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.029009819030762) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.17
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.027895927429199) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.16
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.02773118019104) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.15
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.027479887008667) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.14
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.028197050094604) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.13
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.02491283416748) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.12
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.027774095535278) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.11
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.027626037597656) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.10
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.027447938919067) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.9
array(3) { ["for"]=> float(2.8610229492188E-6) ["foreach"]=> float(0.027626991271973) ["is for faster than foreach?"]=> bool(true) }
Output for 5.6.8
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.027566909790039) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.35
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.027314901351929) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.34
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.02867603302002) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.33
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.028584003448486) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.32
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.027290105819702) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.30
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.028364896774292) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.29
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.033955097198486) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.28
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.027670860290527) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.27
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.028424978256226) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.26
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.030963182449341) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.25
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.030835866928101) ["is for faster than foreach?"]=> bool(true) }
Output for 5.5.24
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.029433965682983) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.45
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.026757001876831) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.44
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.033131122589111) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.43
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.035904884338379) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.42
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.030596017837524) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.41
array(3) { ["for"]=> float(4.7683715820312E-6) ["foreach"]=> float(0.034311056137085) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.40
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.077034950256348) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.39
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.054057836532593) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.38
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.041738033294678) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.37
array(3) { ["for"]=> float(1.4066696166992E-5) ["foreach"]=> float(0.055629014968872) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.36
array(3) { ["for"]=> float(6.9141387939453E-6) ["foreach"]=> float(0.082699060440063) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.35
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.040962934494019) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.34
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.085484981536865) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.32
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.040657043457031) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.31
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.030904054641724) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.30
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.043002843856812) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.29
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.034270048141479) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.28
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.031868934631348) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.27
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.033859014511108) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.26
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.0295250415802) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.25
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.031457901000977) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.24
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.034218072891235) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.23
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.073103904724121) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.22
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.028140068054199) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.21
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.055213928222656) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.20
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.03675103187561) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.19
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.025779962539673) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.18
array(3) { ["for"]=> float(2.8610229492188E-6) ["foreach"]=> float(0.029974937438965) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.17
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.029721975326538) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.16
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.042242050170898) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.15
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.033165216445923) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.14
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.029906034469604) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.13
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.037630081176758) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.12
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.032437801361084) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.11
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.050970077514648) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.10
array(3) { ["for"]=> float(6.9141387939453E-6) ["foreach"]=> float(0.048839807510376) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.9
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.039458990097046) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.8
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.054636001586914) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.7
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.036839962005615) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.6
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.030783891677856) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.5
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.035517930984497) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.4
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.027952909469604) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.3
array(3) { ["for"]=> float(6.9141387939453E-6) ["foreach"]=> float(0.043642044067383) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.2
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.027936935424805) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.1
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.032457113265991) ["is for faster than foreach?"]=> bool(true) }
Output for 5.4.0
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.043120145797729) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.29
array(3) { ["for"]=> float(7.8678131103516E-6) ["foreach"]=> float(0.045881986618042) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.28
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.049331903457642) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.27
array(3) { ["for"]=> float(6.1988830566406E-6) ["foreach"]=> float(0.034961938858032) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.26
array(3) { ["for"]=> float(6.9141387939453E-6) ["foreach"]=> float(0.050360918045044) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.25
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.025874137878418) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.24
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.026562929153442) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.23
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.033089160919189) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.22
array(3) { ["for"]=> float(6.9141387939453E-6) ["foreach"]=> float(0.084327936172485) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.21
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.02571702003479) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.20
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.041353940963745) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.19
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.038623094558716) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.18
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.031119108200073) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.17
array(3) { ["for"]=> float(7.8678131103516E-6) ["foreach"]=> float(0.043897867202759) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.16
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.040067911148071) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.15
array(3) { ["for"]=> float(7.1525573730469E-6) ["foreach"]=> float(0.036052942276001) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.14
array(3) { ["for"]=> float(8.8214874267578E-6) ["foreach"]=> float(0.044909954071045) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.13
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.034560918807983) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.12
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.0296471118927) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.11
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.035802125930786) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.10
array(3) { ["for"]=> float(7.1525573730469E-6) ["foreach"]=> float(0.092521905899048) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.9
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.028267860412598) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.8
array(3) { ["for"]=> float(6.9141387939453E-6) ["foreach"]=> float(0.036375045776367) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.7
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.031589984893799) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.6
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.058945894241333) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.5
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.05633020401001) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.4
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.044264078140259) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.3
array(3) { ["for"]=> float(8.1062316894531E-6) ["foreach"]=> float(0.030479192733765) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.2
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.068793058395386) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.1
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.1821460723877) ["is for faster than foreach?"]=> bool(true) }
Output for 5.3.0
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.17462992668152) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.17
array(3) { ["for"]=> float(2.8610229492188E-6) ["foreach"]=> float(0.0073590278625488) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.16
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.0081140995025635) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.15
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.0096240043640137) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.14
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.011797189712524) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.13
array(3) { ["for"]=> float(3.814697265625E-6) ["foreach"]=> float(0.0070888996124268) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.12
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.010671854019165) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.11
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.0098819732666016) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.10
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.012977838516235) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.9
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.014183044433594) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.8
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.008699893951416) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.7
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.0080139636993408) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.6
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.0077228546142578) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.5
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.0076401233673096) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.4
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.011022090911865) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.3
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.0075218677520752) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.2
array(3) { ["for"]=> float(7.8678131103516E-6) ["foreach"]=> float(0.011422872543335) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.1
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.016705989837646) ["is for faster than foreach?"]=> bool(true) }
Output for 5.2.0
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.0097310543060303) ["is for faster than foreach?"]=> bool(true) }
Output for 5.1.6
array(3) { ["for"]=> float(6.9141387939453E-6) ["foreach"]=> float(0.010244131088257) ["is for faster than foreach?"]=> bool(true) }
Output for 5.1.5
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.012789011001587) ["is for faster than foreach?"]=> bool(true) }
Output for 5.1.4
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.007789134979248) ["is for faster than foreach?"]=> bool(true) }
Output for 5.1.3
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.0091719627380371) ["is for faster than foreach?"]=> bool(true) }
Output for 5.1.2
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.0085761547088623) ["is for faster than foreach?"]=> bool(true) }
Output for 5.1.1
array(3) { ["for"]=> float(5.9604644775391E-6) ["foreach"]=> float(0.024308919906616) ["is for faster than foreach?"]=> bool(true) }
Output for 5.1.0
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.0071239471435547) ["is for faster than foreach?"]=> bool(true) }
Output for 5.0.5
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.03529691696167) ["is for faster than foreach?"]=> bool(true) }
Output for 5.0.4
array(3) { ["for"]=> float(4.0531158447266E-6) ["foreach"]=> float(0.033926010131836) ["is for faster than foreach?"]=> bool(true) }
Output for 5.0.3
array(3) { ["for"]=> float(6.9141387939453E-6) ["foreach"]=> float(0.032546043395996) ["is for faster than foreach?"]=> bool(true) }
Output for 5.0.2
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.020380020141602) ["is for faster than foreach?"]=> bool(true) }
Output for 5.0.1
array(3) { ["for"]=> float(5.0067901611328E-6) ["foreach"]=> float(0.044885873794556) ["is for faster than foreach?"]=> bool(true) }
Output for 5.0.0
array(3) { ["for"]=> float(3.0994415283203E-6) ["foreach"]=> float(0.027464151382446) ["is for faster than foreach?"]=> bool(true) }
Output for 4.4.9
array(3) { ["for"]=> float(4.000000000004E-6) ["foreach"]=> float(0.020198) ["is for faster than foreach?"]=> bool(true) }
Output for 4.4.8
array(3) { ["for"]=> float(6.0000000000615E-6) ["foreach"]=> float(0.052169) ["is for faster than foreach?"]=> bool(true) }
Output for 4.4.7
array(3) { ["for"]=> float(5.0000000000328E-6) ["foreach"]=> float(0.019434) ["is for faster than foreach?"]=> bool(true) }
Output for 4.4.6
array(3) { ["for"]=> float(4.000000000004E-6) ["foreach"]=> float(0.027075) ["is for faster than foreach?"]=> bool(true) }
Output for 4.4.5
array(3) { ["for"]=> float(4.000000000004E-6) ["foreach"]=> float(0.018131) ["is for faster than foreach?"]=> bool(true) }
Output for 4.4.4
array(3) { ["for"]=> float(4.000000000004E-6) ["foreach"]=> float(0.031384) ["is for faster than foreach?"]=> bool(true) }
Output for 4.4.3
array(3) { ["for"]=> float(5.0000000000328E-6) ["foreach"]=> float(0.02178) ["is for faster than foreach?"]=> bool(true) }
Output for 4.4.2
array(3) { ["for"]=> float(5.0000000000328E-6) ["foreach"]=> float(0.030715) ["is for faster than foreach?"]=> bool(true) }
Output for 4.4.1
array(3) { ["for"]=> float(4.000000000004E-6) ["foreach"]=> float(0.052646) ["is for faster than foreach?"]=> bool(true) }
Output for 4.4.0
array(3) { ["for"]=> float(4.9999999999217E-6) ["foreach"]=> float(0.027691) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.11
array(3) { ["for"]=> float(4.9999999999772E-6) ["foreach"]=> float(0.037294) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.10
array(3) { ["for"]=> float(5.0000000000328E-6) ["foreach"]=> float(0.031002) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.9
array(3) { ["for"]=> float(6.000000000006E-6) ["foreach"]=> float(0.035621) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.8
array(3) { ["for"]=> float(5.9999999999505E-6) ["foreach"]=> float(-0.951774) ["is for faster than foreach?"]=> bool(false) }
Output for 4.3.7
array(3) { ["for"]=> float(5.0000000000328E-6) ["foreach"]=> float(0.033037) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.6
array(3) { ["for"]=> float(5.0000000000328E-6) ["foreach"]=> float(0.097398) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.5
array(3) { ["for"]=> float(4.000000000004E-6) ["foreach"]=> float(0.026078) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.4
array(3) { ["for"]=> float(4.000000000004E-6) ["foreach"]=> float(0.028681) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.3
array(3) { ["for"]=> float(4.9999999999217E-6) ["foreach"]=> float(0.039101) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.2
array(3) { ["for"]=> float(4.9999999999772E-6) ["foreach"]=> float(0.058059) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.1
array(3) { ["for"]=> float(5.0000000000328E-6) ["foreach"]=> float(0.037518) ["is for faster than foreach?"]=> bool(true) }
Output for 4.3.0
array(3) { ["for"]=> float(2.9999999999752E-6) ["foreach"]=> float(0.03801) ["is for faster than foreach?"]=> bool(true) }