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($i.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' => sprintf('%f', $t_for), 'foreach' => sprintf('%f', $t_foreach), 'is "for" faster than "foreach"?' => $t_for < $t_foreach, 'how much faster?' => (1 - ($t_for / $t_foreach))) );
Output for 7.1.0
array(4) { ["for"]=> string(8) "0.000003" ["foreach"]=> string(8) "0.007684" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99962766452574) }
Output for 7.0.14
array(4) { ["for"]=> string(9) "-0.000003" ["foreach"]=> string(9) "-0.007297" ["is "for" faster than "foreach"?"]=> bool(false) ["how much faster?"]=> float(0.99957524668366) }
Output for 7.0.6
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.007441" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99932711717774) }
Output for 7.0.5
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.006984" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99928310517871) }
Output for 7.0.4
array(4) { ["for"]=> string(8) "0.000003" ["foreach"]=> string(8) "0.006896" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99958511962384) }
Output for 7.0.3
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.006896" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99941225280044) }
Output for 7.0.2
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.006969" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99941840574752) }
Output for 7.0.1
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.007778" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99950954847807) }
Output for 7.0.0
array(4) { ["for"]=> string(8) "0.000003" ["foreach"]=> string(8) "0.006400" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99951572045895) }
Output for hhvm-3.12.0
array(4) { ["for"]=> string(8) "0.000038" ["foreach"]=> string(8) "0.005567" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99319057815846) }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
array(4) { ["for"]=> string(8) "0.000002" ["foreach"]=> string(8) "0.022089" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99991365167084) }
Output for 5.6.21
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.030409" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99986671266387) }
Output for 5.6.20
array(4) { ["for"]=> string(8) "0.000003" ["foreach"]=> string(8) "0.027132" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99988576449912) }
Output for 5.6.19
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.026965" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985853102149) }
Output for 5.6.18
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.027330" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99986042048329) }
Output for 5.6.17
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.027936" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99986344860547) }
Output for 5.6.16
array(4) { ["for"]=> string(8) "0.000003" ["foreach"]=> string(8) "0.024756" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99988443091858) }
Output for 5.6.15
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.027706" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985370932904) }
Output for 5.6.14
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.027743" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985390545105) }
Output for 5.6.13
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.024439" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99983415443149) }
Output for 5.6.12
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.028375" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99986556090511) }
Output for 5.6.11
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.028858" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985954940143) }
Output for 5.6.10
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.028015" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985532284282) }
Output for 5.6.9
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.027683" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985358837664) }
Output for 5.6.8
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.028153" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985603346798) }
Output for 5.5.35
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.023214" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99983567158967) }
Output for 5.5.34
array(4) { ["for"]=> string(8) "0.000003" ["foreach"]=> string(8) "0.024469" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9998733326188) }
Output for 5.5.33
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.028504" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985780484133) }
Output for 5.5.32
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.030699" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99987573877183) }
Output for 5.5.31
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.031253" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99987794086235) }
Output for 5.5.30
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.039157" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989649104648) }
Output for 5.5.29
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.027909" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985477408828) }
Output for 5.5.28
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.027627" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985329144948) }
Output for 5.5.27
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.028113" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985582712825) }
Output for 5.5.26
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.030750" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99987594495057) }
Output for 5.5.25
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.031130" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99987745942758) }
Output for 5.5.24
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.029461" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99987051663861) }
Output for 5.4.45
array(4) { ["for"]=> string(8) "0.000008" ["foreach"]=> string(8) "0.045631" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99982235226501) }
Output for 5.4.44
array(4) { ["for"]=> string(8) "0.000009" ["foreach"]=> string(8) "0.047360" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99980870108034) }
Output for 5.4.43
array(4) { ["for"]=> string(8) "0.000008" ["foreach"]=> string(8) "0.043035" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99981717654098) }
Output for 5.4.42
array(4) { ["for"]=> string(8) "0.000010" ["foreach"]=> string(8) "0.042844" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99976627842917) }
Output for 5.4.41
array(4) { ["for"]=> string(8) "0.000010" ["foreach"]=> string(8) "0.047558" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99978944518807) }
Output for 5.4.40
array(4) { ["for"]=> string(8) "0.000011" ["foreach"]=> string(8) "0.053084" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99979339770941) }
Output for 5.4.39
array(4) { ["for"]=> string(8) "0.000009" ["foreach"]=> string(8) "0.039578" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9997710884743) }
Output for 5.4.38
array(4) { ["for"]=> string(8) "0.000010" ["foreach"]=> string(8) "0.046165" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99978309258332) }
Output for 5.4.37
array(4) { ["for"]=> string(8) "0.000008" ["foreach"]=> string(8) "0.042371" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99980868459405) }
Output for 5.4.36
array(4) { ["for"]=> string(8) "0.000008" ["foreach"]=> string(8) "0.040094" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99979781882188) }
Output for 5.4.35
array(4) { ["for"]=> string(8) "0.000010" ["foreach"]=> string(8) "0.037073" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99972989485192) }
Output for 5.4.34
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.037562" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99980957942442) }
Output for 5.4.32
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.026774" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99981299756006) }
Output for 5.4.31
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.027139" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9998155127428) }
Output for 5.4.30
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.026450" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99981070678481) }
Output for 5.4.29
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.029084" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99982785050866) }
Output for 5.4.28
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.028633" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99982513988809) }
Output for 5.4.27
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.025495" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99980361534793) }
Output for 5.4.26
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.026316" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99984598380112) }
Output for 5.4.25
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.026513" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99981115787202) }
Output for 5.4.24
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.030048" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99986511148139) }
Output for 5.4.23
array(4) { ["for"]=> string(8) "0.000008" ["foreach"]=> string(8) "0.056379" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985621854781) }
Output for 5.4.22
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.034929" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99988396142059) }
Output for 5.4.21
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.076289" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99993437089818) }
Output for 5.4.20
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.057459" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9999128634321) }
Output for 5.4.19
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.030216" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99986586183769) }
Output for 5.4.18
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.064254" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99992207821121) }
Output for 5.4.17
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.068197" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99992658343792) }
Output for 5.4.16
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.060287" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99991695074784) }
Output for 5.4.15
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.061151" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99993371957924) }
Output for 5.4.14
array(4) { ["for"]=> string(8) "0.000000" ["foreach"]=> string(8) "0.026271" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(1) }
Output for 5.4.13
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.062954" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99993561801029) }
Output for 5.4.12
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.027038" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99981482297959) }
Output for 5.4.11
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.030846" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9997758506083) }
Output for 5.4.10
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.057301" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99991262305586) }
Output for 5.4.9
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.048017" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989572833756) }
Output for 5.4.8
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.046931" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989331545097) }
Output for 5.4.7
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.027030" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99985887292389) }
Output for 5.4.6
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.057382" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989612677519) }
Output for 5.4.5
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.030984" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99976915263628) }
Output for 5.4.4
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.026799" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99984875848509) }
Output for 5.4.3
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.070263" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99991516911884) }
Output for 5.4.2
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.026612" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99984769618076) }
Output for 5.4.1
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.026838" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9998578624286) }
Output for 5.4.0
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.028082" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99978774886446) }
Output for 5.3.29
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.029260" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99986962721532) }
Output for 5.3.28
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.029305" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99979660575687) }
Output for 5.3.27
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.056781" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989082831913) }
Output for 5.3.26
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.030006" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99987286856198) }
Output for 5.3.25
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.063731" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989151051039) }
Output for 5.3.24
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.054196" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9998900204562) }
Output for 5.3.23
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.055352" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99990954631014) }
Output for 5.3.22
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.035820" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99988684771033) }
Output for 5.3.21
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.073165" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9999315684511) }
Output for 5.3.20
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.033229" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99984932519211) }
Output for 5.3.19
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.064829" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99990438082909) }
Output for 5.3.18
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.049183" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989820106743) }
Output for 5.3.17
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.066889" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99992514783303) }
Output for 5.3.16
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.029991" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99983305641898) }
Output for 5.3.15
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.030897" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99983795170961) }
Output for 5.3.14
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.073342" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99990572753959) }
Output for 5.3.13
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.055274" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989216515123) }
Output for 5.3.12
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.056763" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99991179509581) }
Output for 5.3.11
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.028491" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99982426778243) }
Output for 5.3.10
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.056489" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989448449344) }
Output for 5.3.9
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.059778" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99991624356372) }
Output for 5.3.8
array(4) { ["for"]=> string(8) "0.000009" ["foreach"]=> string(8) "0.035149" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99974224181787) }
Output for 5.3.7
array(4) { ["for"]=> string(8) "0.000000" ["foreach"]=> string(8) "0.026665" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(1) }
Output for 5.3.6
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.031931" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99984320050176) }
Output for 5.3.5
array(4) { ["for"]=> string(8) "0.000000" ["foreach"]=> string(8) "0.028589" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(1) }
Output for 5.3.4
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.030401" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99980393848374) }
Output for 5.3.3
array(4) { ["for"]=> string(8) "0.000000" ["foreach"]=> string(8) "0.039274" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(1) }
Output for 5.3.2
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.056621" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989473063675) }
Output for 5.3.1
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.222829" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99996897111425) }
Output for 5.3.0
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.181669" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99996587814561) }
Output for 5.2.17
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.009052" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99944688808702) }
Output for 5.2.16
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.015772" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99974301608417) }
Output for 5.2.15
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.022931" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99982324807652) }
Output for 5.2.14
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.017236" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9997095154441) }
Output for 5.2.13
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.015848" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99968407275353) }
Output for 5.2.12
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.024389" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9998338139694) }
Output for 5.2.11
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.015522" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99955455201757) }
Output for 5.2.10
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.024084" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99979211214065) }
Output for 5.2.9
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.017107" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99976307280633) }
Output for 5.2.8
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.015540" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99975452216205) }
Output for 5.2.7
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.016105" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99974833084132) }
Output for 5.2.6
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.008360" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99940109514031) }
Output for 5.2.5
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.015944" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99968597661273) }
Output for 5.2.4
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.015307" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99967290738606) }
Output for 5.2.3
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.015836" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99974405684949) }
Output for 5.2.2
array(4) { ["for"]=> string(8) "0.000010" ["foreach"]=> string(8) "0.024881" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99959753923992) }
Output for 5.2.1
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.013043" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9994516241066) }
Output for 5.2.0
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.011401" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99964449277484) }
Output for 5.1.6
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.012613" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99943291368946) }
Output for 5.1.5
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.014005" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99964249842529) }
Output for 5.1.4
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.028146" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99974587685192) }
Output for 5.1.3
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.008619" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99952975021438) }
Output for 5.1.2
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.028431" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99975680933852) }
Output for 5.1.1
array(4) { ["for"]=> string(8) "0.000010" ["foreach"]=> string(8) "0.019427" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99948455506056) }
Output for 5.1.0
array(4) { ["for"]=> string(8) "0.000008" ["foreach"]=> string(8) "0.015241" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99948377811845) }
Output for 5.0.5
array(4) { ["for"]=> string(8) "0.000009" ["foreach"]=> string(8) "0.108210" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99991627484764) }
Output for 5.0.4
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.035824" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99988686051232) }
Output for 5.0.3
array(4) { ["for"]=> string(8) "0.000012" ["foreach"]=> string(8) "0.045791" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99973446074705) }
Output for 5.0.2
array(4) { ["for"]=> string(8) "0.000028" ["foreach"]=> string(8) "0.098749" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99971510177868) }
Output for 5.0.1
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.052352" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99988614627926) }
Output for 5.0.0
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.099063" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99996149227078) }
Output for 4.4.9
array(4) { ["for"]=> string(8) "0.000008" ["foreach"]=> string(8) "0.044224" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99981910274964) }
Output for 4.4.8
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.082151" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9999147910555) }
Output for 4.4.7
array(4) { ["for"]=> string(8) "0.000009" ["foreach"]=> string(8) "0.034175" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99973664959766) }
Output for 4.4.6
array(4) { ["for"]=> string(8) "0.000009" ["foreach"]=> string(8) "0.055456" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99983770917484) }
Output for 4.4.5
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.025114" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99980090786016) }
Output for 4.4.4
array(4) { ["for"]=> string(8) "0.000008" ["foreach"]=> string(8) "0.045424" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99982388164847) }
Output for 4.4.3
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.024900" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99979919678715) }
Output for 4.4.2
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.064610" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9999071351184) }
Output for 4.4.1
array(4) { ["for"]=> string(8) "0.000009" ["foreach"]=> string(8) "0.047982" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99981242966112) }
Output for 4.4.0
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.066122" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99990925864311) }
Output for 4.3.11
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.105829" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99994330476523) }
Output for 4.3.10
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.086819" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99991937248759) }
Output for 4.3.9
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.084565" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.9999526991072) }
Output for 4.3.8
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.090533" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99995581721582) }
Output for 4.3.7
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.107835" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99996290629202) }
Output for 4.3.6
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.065822" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99989365257817) }
Output for 4.3.5
array(4) { ["for"]=> string(8) "0.000007" ["foreach"]=> string(8) "0.167815" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99995828739982) }
Output for 4.3.4
array(4) { ["for"]=> string(8) "0.000005" ["foreach"]=> string(8) "0.101247" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99995061582072) }
Output for 4.3.3
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.147762" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99995939416088) }
Output for 4.3.2
array(4) { ["for"]=> string(8) "0.000004" ["foreach"]=> string(8) "0.086919" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99995398014243) }
Output for 4.3.1
array(4) { ["for"]=> string(8) "0.000006" ["foreach"]=> string(8) "0.101881" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99994110776298) }
Output for 4.3.0
array(4) { ["for"]=> string(8) "0.000010" ["foreach"]=> string(8) "0.056332" ["is "for" faster than "foreach"?"]=> bool(true) ["how much faster?"]=> float(0.99982248100547) }