Create loop with for
<?php
$values = $this->getRange($loop);
$this->start($loop);
$count = count($values);
for ($i = 0; $i < $count; $i++) {
$values[$i]++;
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.003202 | +130% |
8.3.10 | 100.000 | 0.003031 | +137% |
8.3.9 | 100.000 | 0.002641 | +116% |
7.3.33 | 100.000 | 0.002146 | +108% |
7.3.31 | 100.000 | 0.001711 | 100% |
7.3.30 | 100.000 | 0.001717 | 100% |
7.3.29 | 100.000 | 0.001763 | +101% |
7.3.28 | 100.000 | 0.001648 | 100% |
7.3.27 | 100.000 | 0.002314 | +102% |
7.3.24 | 100.000 | 0.001819 | +101% |
7.3.23 | 100.000 | 0.001854 | 100% |
7.3.22 | 100.000 | 0.002016 | +114% |
7.3.19 | 100.000 | 0.001866 | +104% |
7.3.18 | 100.000 | 0.001762 | 100% |
7.3.17 | 100.000 | 0.001917 | 100% |
7.3.16 | 100.000 | 0.001934 | +113% |
7.3.15 | 100.000 | 0.001722 | +102% |
7.3.14 | 100.000 | 0.001918 | +101% |
7.3.13 | 100.000 | 0.001987 | +110% |
7.3.12 | 100.000 | 0.001761 | +106% |
7.3.11 | 100.000 | 0.001927 | +101% |
7.3.9 | 100.000 | 0.002147 | +102% |
7.3.8 | 100.000 | 0.002232 | +103% |
7.2.29 | 100.000 | 0.001955 | +110% |
8.3.13 | 10.000 | 0.000599 | +115% |
7.2.34 | 100.000 | 0.002122 | +111% |
7.2.33 | 100.000 | 0.001853 | 100% |
7.2.31 | 100.000 | 0.001733 | 100% |
7.2.30 | 100.000 | 0.002072 | +108% |
8.3.10 | 10.000 | 0.000575 | +124% |
7.2.28 | 100.000 | 0.002784 | +150% |
7.2.27 | 100.000 | 0.001869 | 100% |
7.2.26 | 100.000 | 0.001946 | +107% |
7.2.25 | 100.000 | 0.001573 | 100% |
7.2.24 | 100.000 | 0.001856 | +102% |
7.2.22 | 100.000 | 0.002130 | +103% |
7.2.21 | 100.000 | 0.002350 | +105% |
7.1.33 | 100.000 | 0.003077 | +124% |
7.1.32 | 100.000 | 0.003274 | +125% |
7.1.31 | 100.000 | 0.003646 | +140% |
7.1.0 | 100.000 | 0.018781 | +141% |
7.0.33 | 100.000 | 0.002536 | +125% |
7.0.7 | 100.000 | 0.021671 | +155% |
5.6.40 | 100.000 | 0.006068 | 100% |
5.6.22 | 100.000 | 0.042197 | 100% |
5.5.36 | 100.000 | 0.042018 | 100% |
5.4.45 | 100.000 | 0.043531 | 100% |
5.3.29 | 100.000 | 0.038950 | 100% |
8.3.9 | 10.000 | 0.000508 | +110% |
8.0.30 | 100.000 | 0.002355 | +107% |
8.0.29 | 100.000 | 0.001510 | 100% |
8.0.28 | 100.000 | 0.001402 | 100% |
8.0.27 | 100.000 | 0.001683 | +116% |
8.0.26 | 100.000 | 0.001733 | +110% |
8.0.25 | 100.000 | 0.001598 | 100% |
8.0.24 | 100.000 | 0.001644 | +103% |
8.0.23 | 100.000 | 0.001652 | +114% |
8.0.20 | 10.000 | 0.000212 | +115% |
8.0.20 | 100.000 | 0.001481 | +103% |
8.0.19 | 10.000 | 0.000272 | 100% |
8.0.19 | 100.000 | 0.001882 | +118% |
8.0.17 | 10.000 | 0.000286 | +105% |
8.0.17 | 100.000 | 0.001821 | +111% |
8.0.16 | 10.000 | 0.000289 | +114% |
8.0.16 | 100.000 | 0.001557 | +102% |
8.0.14 | 10.000 | 0.000265 | 100% |
8.0.14 | 100.000 | 0.001586 | 100% |
8.0.11 | 100.000 | 0.001593 | +104% |
8.0.10 | 100.000 | 0.001532 | 100% |
8.0.9 | 100.000 | 0.001629 | +104% |
8.0.8 | 100.000 | 0.001591 | 100% |
8.0.7 | 100.000 | 0.001479 | 100% |
8.0.3 | 100.000 | 0.002102 | +105% |
8.0.2 | 100.000 | 0.002265 | 100% |
8.0.0 | 100.000 | 0.001665 | +103% |
7.4.33 | 100.000 | 0.002043 | +106% |
7.4.32 | 100.000 | 0.001687 | +108% |
7.4.30 | 100.000 | 0.001576 | +110% |
7.4.28 | 100.000 | 0.001909 | +117% |
7.4.27 | 100.000 | 0.001666 | 100% |
7.4.24 | 100.000 | 0.001429 | 100% |
7.4.23 | 100.000 | 0.001472 | 100% |
7.4.22 | 100.000 | 0.001523 | +102% |
8.0.11 | 10.000 | 0.000263 | 100% |
8.0.10 | 10.000 | 0.000309 | +109% |
8.0.0 | 10.000 | 0.000274 | +108% |
7.4.29 | 100.000 | 0.001750 | +114% |
7.4.21 | 10.000 | 0.000291 | 100% |
7.4.21 | 100.000 | 0.001398 | 100% |
7.4.20 | 10.000 | 0.000232 | 100% |
7.4.20 | 100.000 | 0.001407 | 100% |
7.4.16 | 100.000 | 0.001973 | 100% |
7.4.15 | 100.000 | 0.002508 | 100% |
7.4.33 | 10.000 | 0.000308 | 100% |
7.4.32 | 10.000 | 0.000231 | 100% |
7.4.30 | 10.000 | 0.000222 | 100% |
7.4.29 | 10.000 | 0.000311 | 100% |
7.4.24 | 10.000 | 0.000243 | 100% |
7.4.23 | 10.000 | 0.000283 | +103% |
7.4.22 | 10.000 | 0.000213 | 100% |
7.4.13 | 100.000 | 0.001494 | 100% |
7.4.12 | 100.000 | 0.001602 | 100% |
7.4.11 | 100.000 | 0.001662 | 100% |
7.4.10 | 100.000 | 0.001468 | 100% |
8.0.2 | 10.000 | 0.000350 | 100% |
7.4.0 | 100.000 | 0.001786 | 100% |
8.0.30 | 10.000 | 0.000393 | +110% |
8.0.29 | 10.000 | 0.000161 | 100% |
8.0.28 | 10.000 | 0.000188 | 100% |
8.0.27 | 10.000 | 0.000243 | 100% |
8.0.26 | 10.000 | 0.000231 | +120% |
8.0.25 | 10.000 | 0.000213 | 100% |
8.0.24 | 10.000 | 0.000238 | 100% |
8.0.23 | 10.000 | 0.000337 | +165% |
8.0.9 | 10.000 | 0.000233 | +101% |
8.0.8 | 10.000 | 0.000315 | +109% |
8.0.7 | 10.000 | 0.000310 | 100% |
8.0.3 | 10.000 | 0.000345 | 100% |
7.4.28 | 10.000 | 0.000255 | 100% |
7.4.27 | 10.000 | 0.000294 | 100% |
7.4.16 | 10.000 | 0.000326 | 100% |
7.4.15 | 10.000 | 0.000347 | +104% |
7.4.13 | 10.000 | 0.000228 | 100% |
7.4.12 | 10.000 | 0.000252 | +121% |
7.4.11 | 10.000 | 0.000249 | 100% |
7.4.10 | 10.000 | 0.000277 | +112% |
7.4.7 | 10.000 | 0.000258 | 100% |
7.4.7 | 100.000 | 0.001514 | 100% |
7.4.6 | 10.000 | 0.000259 | 100% |
7.4.6 | 100.000 | 0.001454 | 100% |
7.4.5 | 10.000 | 0.000322 | +106% |
7.4.5 | 100.000 | 0.001679 | +102% |
7.4.4 | 10.000 | 0.000278 | 100% |
7.4.4 | 100.000 | 0.001624 | 100% |
7.4.3 | 10.000 | 0.000265 | 100% |
7.4.3 | 100.000 | 0.001475 | 100% |
7.4.1 | 100.000 | 0.001554 | 100% |
7.4.2 | 10.000 | 0.000323 | 100% |
7.4.2 | 100.000 | 0.001553 | 100% |
7.4.1 | 10.000 | 0.000348 | 100% |
7.4.0 | 10.000 | 0.000232 | 100% |
7.3.33 | 10.000 | 0.000347 | +108% |
7.3.31 | 10.000 | 0.000339 | +102% |
7.3.30 | 10.000 | 0.000307 | 100% |
7.3.29 | 10.000 | 0.000310 | 100% |
7.3.28 | 10.000 | 0.000387 | +104% |
7.3.27 | 10.000 | 0.000397 | +107% |
7.3.24 | 10.000 | 0.000321 | +117% |
7.3.23 | 10.000 | 0.000299 | 100% |
7.3.22 | 10.000 | 0.000333 | +131% |
7.3.19 | 10.000 | 0.000327 | +105% |
7.3.18 | 10.000 | 0.000304 | 100% |
7.3.17 | 10.000 | 0.000304 | 100% |
7.3.16 | 10.000 | 0.000312 | +101% |
7.3.15 | 10.000 | 0.000324 | +105% |
7.3.14 | 10.000 | 0.000406 | +103% |
7.3.13 | 10.000 | 0.000412 | +101% |
7.3.12 | 10.000 | 0.000389 | +132% |
7.3.11 | 10.000 | 0.000254 | 100% |
7.3.9 | 10.000 | 0.000254 | 100% |
7.3.8 | 10.000 | 0.000264 | +113% |
7.2.34 | 10.000 | 0.000357 | +114% |
7.2.33 | 10.000 | 0.000323 | +106% |
7.2.31 | 10.000 | 0.000354 | +108% |
7.2.30 | 10.000 | 0.000325 | +127% |
7.2.29 | 10.000 | 0.000307 | +114% |
7.2.28 | 10.000 | 0.000240 | 100% |
7.2.27 | 10.000 | 0.000318 | 100% |
7.2.26 | 10.000 | 0.000392 | +111% |
7.2.25 | 10.000 | 0.000307 | 100% |
7.2.24 | 10.000 | 0.000301 | +122% |
7.2.22 | 10.000 | 0.000243 | 100% |
7.2.21 | 10.000 | 0.000259 | +104% |
7.1.33 | 10.000 | 0.000506 | +121% |
7.1.32 | 10.000 | 0.000409 | +135% |
7.1.31 | 10.000 | 0.000380 | +132% |
7.1.0 | 10.000 | 0.002004 | +139% |
7.0.33 | 10.000 | 0.000410 | +118% |
7.0.7 | 10.000 | 0.002291 | +156% |
5.6.40 | 10.000 | 0.001193 | 100% |
5.6.22 | 10.000 | 0.005616 | 100% |
5.5.36 | 10.000 | 0.005435 | 100% |
5.4.45 | 10.000 | 0.005195 | 100% |
5.3.29 | 10.000 | 0.004732 | 100% |
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 | 100% |
8.3.10 | 100.000 | 0.002210 | 100% |
8.3.9 | 100.000 | 0.002280 | 100% |
7.3.33 | 100.000 | 0.001984 | 100% |
7.3.31 | 100.000 | 0.001763 | +103% |
7.3.30 | 100.000 | 0.001780 | +104% |
7.3.29 | 100.000 | 0.001752 | 100% |
7.3.28 | 100.000 | 0.001769 | +107% |
7.3.27 | 100.000 | 0.002274 | 100% |
7.3.24 | 100.000 | 0.001801 | 100% |
7.3.23 | 100.000 | 0.001948 | +105% |
7.3.22 | 100.000 | 0.001772 | 100% |
7.3.19 | 100.000 | 0.001795 | 100% |
7.3.18 | 100.000 | 0.001755 | 100% |
7.3.17 | 100.000 | 0.001908 | 100% |
7.3.16 | 100.000 | 0.001715 | 100% |
7.3.15 | 100.000 | 0.001685 | 100% |
7.3.14 | 100.000 | 0.001907 | 100% |
7.3.13 | 100.000 | 0.001809 | 100% |
7.3.12 | 100.000 | 0.001663 | 100% |
7.3.11 | 100.000 | 0.001905 | 100% |
7.3.9 | 100.000 | 0.002115 | 100% |
7.3.8 | 100.000 | 0.002160 | 100% |
7.2.29 | 100.000 | 0.001781 | 100% |
8.3.13 | 10.000 | 0.000521 | 100% |
7.2.34 | 100.000 | 0.001908 | 100% |
7.2.33 | 100.000 | 0.001948 | +105% |
7.2.31 | 100.000 | 0.001921 | +111% |
7.2.30 | 100.000 | 0.001919 | 100% |
8.3.10 | 10.000 | 0.000465 | 100% |
7.2.28 | 100.000 | 0.001861 | 100% |
7.2.27 | 100.000 | 0.001908 | +102% |
7.2.26 | 100.000 | 0.001816 | 100% |
7.2.25 | 100.000 | 0.001643 | +104% |
7.2.24 | 100.000 | 0.001818 | 100% |
7.2.22 | 100.000 | 0.002078 | 100% |
7.2.21 | 100.000 | 0.002246 | 100% |
7.1.33 | 100.000 | 0.002471 | 100% |
7.1.32 | 100.000 | 0.002630 | 100% |
7.1.31 | 100.000 | 0.002612 | 100% |
7.1.0 | 100.000 | 0.013282 | 100% |
7.0.33 | 100.000 | 0.002030 | 100% |
7.0.7 | 100.000 | 0.014005 | 100% |
5.6.40 | 100.000 | 0.007046 | +116% |
5.6.22 | 100.000 | 0.048110 | +114% |
5.5.36 | 100.000 | 0.050040 | +119% |
5.4.45 | 100.000 | 0.050025 | +115% |
5.3.29 | 100.000 | 0.047971 | +123% |
8.3.9 | 10.000 | 0.000461 | 100% |
8.0.30 | 100.000 | 0.002197 | 100% |
8.0.29 | 100.000 | 0.001623 | +108% |
8.0.28 | 100.000 | 0.001468 | +105% |
8.0.27 | 100.000 | 0.001457 | 100% |
8.0.26 | 100.000 | 0.001578 | 100% |
8.0.25 | 100.000 | 0.001592 | 100% |
8.0.24 | 100.000 | 0.001590 | 100% |
8.0.23 | 100.000 | 0.001448 | 100% |
8.0.20 | 10.000 | 0.000184 | 100% |
8.0.20 | 100.000 | 0.001434 | 100% |
8.0.19 | 10.000 | 0.000277 | +102% |
8.0.19 | 100.000 | 0.001597 | 100% |
8.0.17 | 10.000 | 0.000272 | 100% |
8.0.17 | 100.000 | 0.001636 | 100% |
8.0.16 | 10.000 | 0.000254 | 100% |
8.0.16 | 100.000 | 0.001524 | 100% |
8.0.14 | 10.000 | 0.000287 | +108% |
8.0.14 | 100.000 | 0.001608 | +101% |
8.0.11 | 100.000 | 0.001538 | 100% |
8.0.10 | 100.000 | 0.001539 | 100% |
8.0.9 | 100.000 | 0.001562 | 100% |
8.0.8 | 100.000 | 0.002310 | +145% |
8.0.7 | 100.000 | 0.001628 | +110% |
8.0.3 | 100.000 | 0.002010 | 100% |
8.0.2 | 100.000 | 0.002334 | +103% |
8.0.0 | 100.000 | 0.001623 | 100% |
7.4.33 | 100.000 | 0.001935 | 100% |
7.4.32 | 100.000 | 0.001559 | 100% |
7.4.30 | 100.000 | 0.001435 | 100% |
7.4.28 | 100.000 | 0.001629 | 100% |
7.4.27 | 100.000 | 0.001710 | +103% |
7.4.24 | 100.000 | 0.001957 | +137% |
7.4.23 | 100.000 | 0.001552 | +105% |
7.4.22 | 100.000 | 0.001496 | 100% |
8.0.11 | 10.000 | 0.000284 | +108% |
8.0.10 | 10.000 | 0.000285 | 100% |
8.0.0 | 10.000 | 0.000254 | 100% |
7.4.29 | 100.000 | 0.001542 | 100% |
7.4.21 | 10.000 | 0.000376 | +129% |
7.4.21 | 100.000 | 0.001577 | +113% |
7.4.20 | 10.000 | 0.000321 | +138% |
7.4.20 | 100.000 | 0.001673 | +119% |
7.4.16 | 100.000 | 0.002092 | +106% |
7.4.15 | 100.000 | 0.002549 | +102% |
7.4.33 | 10.000 | 0.000312 | +101% |
7.4.32 | 10.000 | 0.000268 | +116% |
7.4.30 | 10.000 | 0.000230 | +104% |
7.4.29 | 10.000 | 0.000312 | +101% |
7.4.24 | 10.000 | 0.000296 | +122% |
7.4.23 | 10.000 | 0.000274 | 100% |
7.4.22 | 10.000 | 0.000302 | +142% |
7.4.13 | 100.000 | 0.001689 | +113% |
7.4.12 | 100.000 | 0.001810 | +113% |
7.4.11 | 100.000 | 0.001722 | +104% |
7.4.10 | 100.000 | 0.001646 | +112% |
8.0.2 | 10.000 | 0.000466 | +133% |
7.4.0 | 100.000 | 0.001897 | +106% |
8.0.30 | 10.000 | 0.000358 | 100% |
8.0.29 | 10.000 | 0.000186 | +116% |
8.0.28 | 10.000 | 0.000200 | +106% |
8.0.27 | 10.000 | 0.000246 | +101% |
8.0.26 | 10.000 | 0.000192 | 100% |
8.0.25 | 10.000 | 0.000268 | +126% |
8.0.24 | 10.000 | 0.000243 | +102% |
8.0.23 | 10.000 | 0.000205 | 100% |
8.0.9 | 10.000 | 0.000230 | 100% |
8.0.8 | 10.000 | 0.000290 | 100% |
8.0.7 | 10.000 | 0.000328 | +106% |
8.0.3 | 10.000 | 0.000378 | +110% |
7.4.28 | 10.000 | 0.000283 | +111% |
7.4.27 | 10.000 | 0.000296 | +101% |
7.4.16 | 10.000 | 0.000370 | +113% |
7.4.15 | 10.000 | 0.000335 | 100% |
7.4.13 | 10.000 | 0.000269 | +118% |
7.4.12 | 10.000 | 0.000208 | 100% |
7.4.11 | 10.000 | 0.000266 | +107% |
7.4.10 | 10.000 | 0.000248 | 100% |
7.4.7 | 10.000 | 0.000282 | +109% |
7.4.7 | 100.000 | 0.001718 | +114% |
7.4.6 | 10.000 | 0.000324 | +125% |
7.4.6 | 100.000 | 0.001555 | +107% |
7.4.5 | 10.000 | 0.000304 | 100% |
7.4.5 | 100.000 | 0.001642 | 100% |
7.4.4 | 10.000 | 0.000286 | +103% |
7.4.4 | 100.000 | 0.001662 | +102% |
7.4.3 | 10.000 | 0.000266 | 100% |
7.4.3 | 100.000 | 0.001541 | +104% |
7.4.1 | 100.000 | 0.001762 | +113% |
7.4.2 | 10.000 | 0.000343 | +106% |
7.4.2 | 100.000 | 0.001746 | +112% |
7.4.1 | 10.000 | 0.000366 | +105% |
7.4.0 | 10.000 | 0.000242 | +104% |
7.3.33 | 10.000 | 0.000319 | 100% |
7.3.31 | 10.000 | 0.000332 | 100% |
7.3.30 | 10.000 | 0.000321 | +105% |
7.3.29 | 10.000 | 0.000312 | +101% |
7.3.28 | 10.000 | 0.000374 | 100% |
7.3.27 | 10.000 | 0.000370 | 100% |
7.3.24 | 10.000 | 0.000273 | 100% |
7.3.23 | 10.000 | 0.000301 | 100% |
7.3.22 | 10.000 | 0.000254 | 100% |
7.3.19 | 10.000 | 0.000312 | 100% |
7.3.18 | 10.000 | 0.000336 | +110% |
7.3.17 | 10.000 | 0.000327 | +108% |
7.3.16 | 10.000 | 0.000308 | 100% |
7.3.15 | 10.000 | 0.000308 | 100% |
7.3.14 | 10.000 | 0.000394 | 100% |
7.3.13 | 10.000 | 0.000407 | 100% |
7.3.12 | 10.000 | 0.000296 | 100% |
7.3.11 | 10.000 | 0.000268 | +106% |
7.3.9 | 10.000 | 0.000257 | +101% |
7.3.8 | 10.000 | 0.000233 | 100% |
7.2.34 | 10.000 | 0.000312 | 100% |
7.2.33 | 10.000 | 0.000303 | 100% |
7.2.31 | 10.000 | 0.000329 | 100% |
7.2.30 | 10.000 | 0.000256 | 100% |
7.2.29 | 10.000 | 0.000269 | 100% |
7.2.28 | 10.000 | 0.000345 | +144% |
7.2.27 | 10.000 | 0.000369 | +116% |
7.2.26 | 10.000 | 0.000353 | 100% |
7.2.25 | 10.000 | 0.000325 | +106% |
7.2.24 | 10.000 | 0.000246 | 100% |
7.2.22 | 10.000 | 0.000246 | +101% |
7.2.21 | 10.000 | 0.000248 | 100% |
7.1.33 | 10.000 | 0.000417 | 100% |
7.1.32 | 10.000 | 0.000302 | 100% |
7.1.31 | 10.000 | 0.000289 | 100% |
7.1.0 | 10.000 | 0.001441 | 100% |
7.0.33 | 10.000 | 0.000347 | 100% |
7.0.7 | 10.000 | 0.001472 | 100% |
5.6.40 | 10.000 | 0.001226 | +103% |
5.6.22 | 10.000 | 0.005950 | +106% |
5.5.36 | 10.000 | 0.005964 | +110% |
5.4.45 | 10.000 | 0.005737 | +110% |
5.3.29 | 10.000 | 0.005682 | +120% |