Create loop with foreach (key and value)
<?php
$values = $this->getRange($loop);
$this->start($loop);
foreach ($values as $key => $value) {
$value++;
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.002460 | +172% |
8.3.10 | 100.000 | 0.002210 | +154% |
8.3.9 | 100.000 | 0.002280 | +159% |
7.3.33 | 100.000 | 0.001984 | +138% |
7.3.31 | 100.000 | 0.001763 | +123% |
7.3.30 | 100.000 | 0.001780 | +124% |
7.3.29 | 100.000 | 0.001752 | +122% |
7.3.28 | 100.000 | 0.001769 | +123% |
7.3.27 | 100.000 | 0.002274 | +159% |
7.3.24 | 100.000 | 0.001801 | +126% |
7.3.23 | 100.000 | 0.001948 | +136% |
7.3.22 | 100.000 | 0.001772 | +124% |
7.3.19 | 100.000 | 0.001795 | +125% |
7.3.18 | 100.000 | 0.001755 | +122% |
7.3.17 | 100.000 | 0.001908 | +133% |
7.3.16 | 100.000 | 0.001715 | +120% |
7.3.15 | 100.000 | 0.001685 | +118% |
7.3.14 | 100.000 | 0.001907 | +133% |
7.3.13 | 100.000 | 0.001809 | +126% |
7.3.12 | 100.000 | 0.001663 | +116% |
7.3.11 | 100.000 | 0.001905 | +133% |
7.3.9 | 100.000 | 0.002115 | +148% |
7.3.8 | 100.000 | 0.002160 | +151% |
7.2.29 | 100.000 | 0.001781 | +124% |
8.3.13 | 10.000 | 0.000521 | +282% |
7.2.34 | 100.000 | 0.001908 | +133% |
7.2.33 | 100.000 | 0.001948 | +136% |
7.2.31 | 100.000 | 0.001921 | +134% |
7.2.30 | 100.000 | 0.001919 | +134% |
8.3.10 | 10.000 | 0.000465 | +252% |
7.2.28 | 100.000 | 0.001861 | +130% |
7.2.27 | 100.000 | 0.001908 | +133% |
7.2.26 | 100.000 | 0.001816 | +127% |
7.2.25 | 100.000 | 0.001643 | +115% |
7.2.24 | 100.000 | 0.001818 | +127% |
7.2.22 | 100.000 | 0.002078 | +145% |
7.2.21 | 100.000 | 0.002246 | +157% |
7.1.33 | 100.000 | 0.002471 | +172% |
7.1.32 | 100.000 | 0.002630 | +183% |
7.1.31 | 100.000 | 0.002612 | +182% |
7.1.0 | 100.000 | 0.013282 | +926% |
7.0.33 | 100.000 | 0.002030 | +142% |
7.0.7 | 100.000 | 0.014005 | +977% |
5.6.40 | 100.000 | 0.007046 | +491% |
5.6.22 | 100.000 | 0.048110 | +3356% |
5.5.36 | 100.000 | 0.050040 | +3490% |
5.4.45 | 100.000 | 0.050025 | +3489% |
5.3.29 | 100.000 | 0.047971 | +3346% |
8.3.9 | 10.000 | 0.000461 | +250% |
8.0.30 | 100.000 | 0.002197 | +153% |
8.0.29 | 100.000 | 0.001623 | +113% |
8.0.28 | 100.000 | 0.001468 | +102% |
8.0.27 | 100.000 | 0.001457 | +102% |
8.0.26 | 100.000 | 0.001578 | +110% |
8.0.25 | 100.000 | 0.001592 | +111% |
8.0.24 | 100.000 | 0.001590 | +111% |
8.0.23 | 100.000 | 0.001448 | +101% |
8.0.20 | 10.000 | 0.000184 | 100% |
8.0.20 | 100.000 | 0.001434 | 100% |
8.0.19 | 10.000 | 0.000277 | +150% |
8.0.19 | 100.000 | 0.001597 | +111% |
8.0.17 | 10.000 | 0.000272 | +148% |
8.0.17 | 100.000 | 0.001636 | +114% |
8.0.16 | 10.000 | 0.000254 | +138% |
8.0.16 | 100.000 | 0.001524 | +106% |
8.0.14 | 10.000 | 0.000287 | +156% |
8.0.14 | 100.000 | 0.001608 | +112% |
8.0.11 | 100.000 | 0.001538 | +107% |
8.0.10 | 100.000 | 0.001539 | +107% |
8.0.9 | 100.000 | 0.001562 | +109% |
8.0.8 | 100.000 | 0.002310 | +161% |
8.0.7 | 100.000 | 0.001628 | +114% |
8.0.3 | 100.000 | 0.002010 | +140% |
8.0.2 | 100.000 | 0.002334 | +163% |
8.0.0 | 100.000 | 0.001623 | +113% |
7.4.33 | 100.000 | 0.001935 | +135% |
7.4.32 | 100.000 | 0.001559 | +109% |
7.4.30 | 100.000 | 0.001435 | 100% |
7.4.28 | 100.000 | 0.001629 | +114% |
7.4.27 | 100.000 | 0.001710 | +119% |
7.4.24 | 100.000 | 0.001957 | +136% |
7.4.23 | 100.000 | 0.001552 | +108% |
7.4.22 | 100.000 | 0.001496 | +104% |
8.0.11 | 10.000 | 0.000284 | +154% |
8.0.10 | 10.000 | 0.000285 | +154% |
8.0.0 | 10.000 | 0.000254 | +138% |
7.4.29 | 100.000 | 0.001542 | +108% |
7.4.21 | 10.000 | 0.000376 | +204% |
7.4.21 | 100.000 | 0.001577 | +110% |
7.4.20 | 10.000 | 0.000321 | +174% |
7.4.20 | 100.000 | 0.001673 | +117% |
7.4.16 | 100.000 | 0.002092 | +146% |
7.4.15 | 100.000 | 0.002549 | +178% |
7.4.33 | 10.000 | 0.000312 | +169% |
7.4.32 | 10.000 | 0.000268 | +145% |
7.4.30 | 10.000 | 0.000230 | +125% |
7.4.29 | 10.000 | 0.000312 | +169% |
7.4.24 | 10.000 | 0.000296 | +160% |
7.4.23 | 10.000 | 0.000274 | +148% |
7.4.22 | 10.000 | 0.000302 | +164% |
7.4.13 | 100.000 | 0.001689 | +118% |
7.4.12 | 100.000 | 0.001810 | +126% |
7.4.11 | 100.000 | 0.001722 | +120% |
7.4.10 | 100.000 | 0.001646 | +115% |
8.0.2 | 10.000 | 0.000466 | +253% |
7.4.0 | 100.000 | 0.001897 | +132% |
8.0.30 | 10.000 | 0.000358 | +194% |
8.0.29 | 10.000 | 0.000186 | +101% |
8.0.28 | 10.000 | 0.000200 | +108% |
8.0.27 | 10.000 | 0.000246 | +133% |
8.0.26 | 10.000 | 0.000192 | +104% |
8.0.25 | 10.000 | 0.000268 | +145% |
8.0.24 | 10.000 | 0.000243 | +132% |
8.0.23 | 10.000 | 0.000205 | +111% |
8.0.9 | 10.000 | 0.000230 | +125% |
8.0.8 | 10.000 | 0.000290 | +157% |
8.0.7 | 10.000 | 0.000328 | +178% |
8.0.3 | 10.000 | 0.000378 | +205% |
7.4.28 | 10.000 | 0.000283 | +154% |
7.4.27 | 10.000 | 0.000296 | +160% |
7.4.16 | 10.000 | 0.000370 | +201% |
7.4.15 | 10.000 | 0.000335 | +182% |
7.4.13 | 10.000 | 0.000269 | +146% |
7.4.12 | 10.000 | 0.000208 | +113% |
7.4.11 | 10.000 | 0.000266 | +144% |
7.4.10 | 10.000 | 0.000248 | +134% |
7.4.7 | 10.000 | 0.000282 | +153% |
7.4.7 | 100.000 | 0.001718 | +120% |
7.4.6 | 10.000 | 0.000324 | +176% |
7.4.6 | 100.000 | 0.001555 | +108% |
7.4.5 | 10.000 | 0.000304 | +165% |
7.4.5 | 100.000 | 0.001642 | +115% |
7.4.4 | 10.000 | 0.000286 | +155% |
7.4.4 | 100.000 | 0.001662 | +116% |
7.4.3 | 10.000 | 0.000266 | +144% |
7.4.3 | 100.000 | 0.001541 | +108% |
7.4.1 | 100.000 | 0.001762 | +123% |
7.4.2 | 10.000 | 0.000343 | +186% |
7.4.2 | 100.000 | 0.001746 | +122% |
7.4.1 | 10.000 | 0.000366 | +199% |
7.4.0 | 10.000 | 0.000242 | +131% |
7.3.33 | 10.000 | 0.000319 | +173% |
7.3.31 | 10.000 | 0.000332 | +180% |
7.3.30 | 10.000 | 0.000321 | +174% |
7.3.29 | 10.000 | 0.000312 | +169% |
7.3.28 | 10.000 | 0.000374 | +203% |
7.3.27 | 10.000 | 0.000370 | +201% |
7.3.24 | 10.000 | 0.000273 | +148% |
7.3.23 | 10.000 | 0.000301 | +163% |
7.3.22 | 10.000 | 0.000254 | +138% |
7.3.19 | 10.000 | 0.000312 | +169% |
7.3.18 | 10.000 | 0.000336 | +182% |
7.3.17 | 10.000 | 0.000327 | +177% |
7.3.16 | 10.000 | 0.000308 | +167% |
7.3.15 | 10.000 | 0.000308 | +167% |
7.3.14 | 10.000 | 0.000394 | +214% |
7.3.13 | 10.000 | 0.000407 | +221% |
7.3.12 | 10.000 | 0.000296 | +160% |
7.3.11 | 10.000 | 0.000268 | +145% |
7.3.9 | 10.000 | 0.000257 | +139% |
7.3.8 | 10.000 | 0.000233 | +126% |
7.2.34 | 10.000 | 0.000312 | +169% |
7.2.33 | 10.000 | 0.000303 | +164% |
7.2.31 | 10.000 | 0.000329 | +178% |
7.2.30 | 10.000 | 0.000256 | +139% |
7.2.29 | 10.000 | 0.000269 | +146% |
7.2.28 | 10.000 | 0.000345 | +187% |
7.2.27 | 10.000 | 0.000369 | +200% |
7.2.26 | 10.000 | 0.000353 | +191% |
7.2.25 | 10.000 | 0.000325 | +176% |
7.2.24 | 10.000 | 0.000246 | +134% |
7.2.22 | 10.000 | 0.000246 | +133% |
7.2.21 | 10.000 | 0.000248 | +134% |
7.1.33 | 10.000 | 0.000417 | +226% |
7.1.32 | 10.000 | 0.000302 | +164% |
7.1.31 | 10.000 | 0.000289 | +157% |
7.1.0 | 10.000 | 0.001441 | +781% |
7.0.33 | 10.000 | 0.000347 | +188% |
7.0.7 | 10.000 | 0.001472 | +798% |
5.6.40 | 10.000 | 0.001226 | +665% |
5.6.22 | 10.000 | 0.005950 | +3226% |
5.5.36 | 10.000 | 0.005964 | +3234% |
5.4.45 | 10.000 | 0.005737 | +3111% |
5.3.29 | 10.000 | 0.005682 | +3081% |