Create loop with foreach array_keys and sum value
<?php
$values = $this->getRange($loop);
$this->start($loop);
foreach (array_keys($values) as $key) {
$values[$key]++;
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.006463 | +162% |
8.3.10 | 100.000 | 0.004358 | +110% |
8.3.9 | 100.000 | 0.004918 | +124% |
7.3.33 | 100.000 | 0.004914 | +124% |
7.3.31 | 100.000 | 0.004476 | +113% |
7.3.30 | 100.000 | 0.005504 | +138% |
7.3.29 | 100.000 | 0.004647 | +117% |
7.3.28 | 100.000 | 0.004928 | +124% |
7.3.27 | 100.000 | 0.005960 | +150% |
7.3.24 | 100.000 | 0.004435 | +111% |
7.3.23 | 100.000 | 0.004784 | +120% |
7.3.22 | 100.000 | 0.004948 | +124% |
7.3.19 | 100.000 | 0.004626 | +116% |
7.3.18 | 100.000 | 0.004283 | +108% |
7.3.17 | 100.000 | 0.004646 | +117% |
7.3.16 | 100.000 | 0.004313 | +108% |
7.3.15 | 100.000 | 0.004431 | +111% |
7.3.14 | 100.000 | 0.004454 | +112% |
7.3.13 | 100.000 | 0.004556 | +115% |
7.3.12 | 100.000 | 0.004092 | +103% |
7.3.11 | 100.000 | 0.004693 | +118% |
7.3.9 | 100.000 | 0.005242 | +132% |
7.3.8 | 100.000 | 0.005086 | +128% |
7.2.29 | 100.000 | 0.004499 | +113% |
8.3.13 | 10.000 | 0.000647 | +225% |
7.2.34 | 100.000 | 0.004927 | +124% |
7.2.33 | 100.000 | 0.004797 | +121% |
7.2.31 | 100.000 | 0.004674 | +117% |
7.2.30 | 100.000 | 0.004676 | +118% |
8.3.10 | 10.000 | 0.000480 | +166% |
7.2.28 | 100.000 | 0.004269 | +107% |
7.2.27 | 100.000 | 0.004559 | +115% |
7.2.26 | 100.000 | 0.004372 | +110% |
7.2.25 | 100.000 | 0.003978 | 100% |
7.2.24 | 100.000 | 0.004502 | +113% |
7.2.22 | 100.000 | 0.005083 | +128% |
7.2.21 | 100.000 | 0.005468 | +137% |
7.1.33 | 100.000 | 0.005900 | +148% |
7.1.32 | 100.000 | 0.014992 | +377% |
7.1.31 | 100.000 | 0.015377 | +387% |
7.1.0 | 100.000 | 0.026313 | +661% |
7.0.33 | 100.000 | 0.015292 | +384% |
7.0.7 | 100.000 | 0.027339 | +687% |
5.6.40 | 100.000 | 0.027570 | +693% |
5.6.22 | 100.000 | 0.161703 | +4065% |
5.5.36 | 100.000 | 0.161106 | +4050% |
5.4.45 | 100.000 | 0.161775 | +4066% |
5.3.29 | 100.000 | 0.153436 | +3857% |
8.3.9 | 10.000 | 0.000656 | +227% |
8.0.30 | 100.000 | 0.005598 | +141% |
8.0.29 | 100.000 | 0.004319 | +109% |
8.0.28 | 100.000 | 0.004205 | +106% |
8.0.27 | 100.000 | 0.004495 | +113% |
8.0.26 | 100.000 | 0.004592 | +115% |
8.0.25 | 100.000 | 0.004464 | +112% |
8.0.24 | 100.000 | 0.004418 | +111% |
8.0.23 | 100.000 | 0.003993 | 100% |
8.0.20 | 10.000 | 0.000295 | +102% |
8.0.20 | 100.000 | 0.004181 | +105% |
8.0.19 | 10.000 | 0.000410 | +142% |
8.0.19 | 100.000 | 0.004717 | +119% |
8.0.17 | 10.000 | 0.000449 | +156% |
8.0.17 | 100.000 | 0.004494 | +113% |
8.0.16 | 10.000 | 0.000449 | +156% |
8.0.16 | 100.000 | 0.004359 | +110% |
8.0.14 | 10.000 | 0.000432 | +150% |
8.0.14 | 100.000 | 0.004836 | +122% |
8.0.11 | 100.000 | 0.004537 | +114% |
8.0.10 | 100.000 | 0.004272 | +107% |
8.0.9 | 100.000 | 0.006334 | +159% |
8.0.8 | 100.000 | 0.004636 | +117% |
8.0.7 | 100.000 | 0.004569 | +115% |
8.0.3 | 100.000 | 0.005494 | +138% |
8.0.2 | 100.000 | 0.006627 | +167% |
8.0.0 | 100.000 | 0.004539 | +114% |
7.4.33 | 100.000 | 0.005222 | +131% |
7.4.32 | 100.000 | 0.004354 | +109% |
7.4.30 | 100.000 | 0.004314 | +108% |
7.4.28 | 100.000 | 0.004493 | +113% |
7.4.27 | 100.000 | 0.004555 | +114% |
7.4.24 | 100.000 | 0.004609 | +116% |
7.4.23 | 100.000 | 0.004741 | +119% |
7.4.22 | 100.000 | 0.004296 | +108% |
8.0.11 | 10.000 | 0.000390 | +135% |
8.0.10 | 10.000 | 0.000465 | +161% |
8.0.0 | 10.000 | 0.000415 | +144% |
7.4.29 | 100.000 | 0.004495 | +113% |
7.4.21 | 10.000 | 0.000520 | +181% |
7.4.21 | 100.000 | 0.004293 | +108% |
7.4.20 | 10.000 | 0.000437 | +151% |
7.4.20 | 100.000 | 0.004319 | +109% |
7.4.16 | 100.000 | 0.005477 | +138% |
7.4.15 | 100.000 | 0.006943 | +175% |
7.4.33 | 10.000 | 0.000445 | +154% |
7.4.32 | 10.000 | 0.000375 | +130% |
7.4.30 | 10.000 | 0.000329 | +114% |
7.4.29 | 10.000 | 0.000441 | +153% |
7.4.24 | 10.000 | 0.000437 | +152% |
7.4.23 | 10.000 | 0.000443 | +154% |
7.4.22 | 10.000 | 0.000412 | +143% |
7.4.13 | 100.000 | 0.004515 | +113% |
7.4.12 | 100.000 | 0.004998 | +126% |
7.4.11 | 100.000 | 0.004669 | +117% |
7.4.10 | 100.000 | 0.004699 | +118% |
8.0.2 | 10.000 | 0.000644 | +223% |
7.4.0 | 100.000 | 0.004876 | +123% |
8.0.30 | 10.000 | 0.000519 | +180% |
8.0.29 | 10.000 | 0.000288 | 100% |
8.0.28 | 10.000 | 0.000326 | +113% |
8.0.27 | 10.000 | 0.000343 | +119% |
8.0.26 | 10.000 | 0.000366 | +127% |
8.0.25 | 10.000 | 0.000365 | +127% |
8.0.24 | 10.000 | 0.000382 | +132% |
8.0.23 | 10.000 | 0.000288 | 100% |
8.0.9 | 10.000 | 0.000441 | +153% |
8.0.8 | 10.000 | 0.000411 | +143% |
8.0.7 | 10.000 | 0.000482 | +167% |
8.0.3 | 10.000 | 0.000540 | +187% |
7.4.28 | 10.000 | 0.000462 | +160% |
7.4.27 | 10.000 | 0.000459 | +159% |
7.4.16 | 10.000 | 0.000596 | +207% |
7.4.15 | 10.000 | 0.000589 | +204% |
7.4.13 | 10.000 | 0.000456 | +158% |
7.4.12 | 10.000 | 0.000339 | +118% |
7.4.11 | 10.000 | 0.000404 | +140% |
7.4.10 | 10.000 | 0.000409 | +142% |
7.4.7 | 10.000 | 0.000456 | +158% |
7.4.7 | 100.000 | 0.004718 | +119% |
7.4.6 | 10.000 | 0.000467 | +162% |
7.4.6 | 100.000 | 0.004404 | +111% |
7.4.5 | 10.000 | 0.000395 | +137% |
7.4.5 | 100.000 | 0.004595 | +116% |
7.4.4 | 10.000 | 0.000434 | +150% |
7.4.4 | 100.000 | 0.004252 | +107% |
7.4.3 | 10.000 | 0.000541 | +188% |
7.4.3 | 100.000 | 0.004332 | +109% |
7.4.1 | 100.000 | 0.004014 | +101% |
7.4.2 | 10.000 | 0.000568 | +197% |
7.4.2 | 100.000 | 0.004743 | +119% |
7.4.1 | 10.000 | 0.000491 | +170% |
7.4.0 | 10.000 | 0.000411 | +142% |
7.3.33 | 10.000 | 0.000461 | +160% |
7.3.31 | 10.000 | 0.000486 | +169% |
7.3.30 | 10.000 | 0.000484 | +168% |
7.3.29 | 10.000 | 0.000456 | +158% |
7.3.28 | 10.000 | 0.000439 | +152% |
7.3.27 | 10.000 | 0.000648 | +225% |
7.3.24 | 10.000 | 0.000411 | +143% |
7.3.23 | 10.000 | 0.000396 | +138% |
7.3.22 | 10.000 | 0.000478 | +166% |
7.3.19 | 10.000 | 0.000476 | +165% |
7.3.18 | 10.000 | 0.000453 | +157% |
7.3.17 | 10.000 | 0.000468 | +162% |
7.3.16 | 10.000 | 0.000485 | +168% |
7.3.15 | 10.000 | 0.000418 | +145% |
7.3.14 | 10.000 | 0.000555 | +193% |
7.3.13 | 10.000 | 0.000541 | +188% |
7.3.12 | 10.000 | 0.000503 | +174% |
7.3.11 | 10.000 | 0.000391 | +136% |
7.3.9 | 10.000 | 0.000395 | +137% |
7.3.8 | 10.000 | 0.000395 | +137% |
7.2.34 | 10.000 | 0.000473 | +164% |
7.2.33 | 10.000 | 0.000465 | +161% |
7.2.31 | 10.000 | 0.000489 | +170% |
7.2.30 | 10.000 | 0.000459 | +159% |
7.2.29 | 10.000 | 0.000460 | +160% |
7.2.28 | 10.000 | 0.000426 | +148% |
7.2.27 | 10.000 | 0.000575 | +200% |
7.2.26 | 10.000 | 0.000593 | +206% |
7.2.25 | 10.000 | 0.000442 | +153% |
7.2.24 | 10.000 | 0.000381 | +132% |
7.2.22 | 10.000 | 0.000446 | +155% |
7.2.21 | 10.000 | 0.000417 | +145% |
7.1.33 | 10.000 | 0.000606 | +210% |
7.1.32 | 10.000 | 0.000498 | +173% |
7.1.31 | 10.000 | 0.000447 | +155% |
7.1.0 | 10.000 | 0.002220 | +770% |
7.0.33 | 10.000 | 0.000569 | +197% |
7.0.7 | 10.000 | 0.002320 | +805% |
5.6.40 | 10.000 | 0.003259 | +1131% |
5.6.22 | 10.000 | 0.016530 | +5734% |
5.5.36 | 10.000 | 0.017176 | +5958% |
5.4.45 | 10.000 | 0.017083 | +5926% |
5.3.29 | 10.000 | 0.015156 | +5258% |