Create loop with for and count values in each iteration
<?php
$values = $this->getRange($loop);
$this->start($loop);
for ($i = 0; $i < count($values); $i++) {
$values[$i]++;
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.005994 | +190% |
8.3.10 | 100.000 | 0.005704 | +181% |
8.3.9 | 100.000 | 0.005478 | +173% |
7.3.33 | 100.000 | 0.004552 | +144% |
7.3.31 | 100.000 | 0.003464 | +110% |
7.3.30 | 100.000 | 0.003543 | +112% |
7.3.29 | 100.000 | 0.003531 | +112% |
7.3.28 | 100.000 | 0.003594 | +114% |
7.3.27 | 100.000 | 0.004932 | +156% |
7.3.24 | 100.000 | 0.004033 | +128% |
7.3.23 | 100.000 | 0.003592 | +114% |
7.3.22 | 100.000 | 0.003965 | +126% |
7.3.19 | 100.000 | 0.003882 | +123% |
7.3.18 | 100.000 | 0.003567 | +113% |
7.3.17 | 100.000 | 0.004263 | +135% |
7.3.16 | 100.000 | 0.003879 | +123% |
7.3.15 | 100.000 | 0.003558 | +113% |
7.3.14 | 100.000 | 0.003782 | +120% |
7.3.13 | 100.000 | 0.003932 | +124% |
7.3.12 | 100.000 | 0.003387 | +107% |
7.3.11 | 100.000 | 0.003943 | +125% |
7.3.9 | 100.000 | 0.004402 | +139% |
7.3.8 | 100.000 | 0.004634 | +147% |
7.2.29 | 100.000 | 0.003775 | +119% |
8.3.13 | 10.000 | 0.000894 | +196% |
7.2.34 | 100.000 | 0.004763 | +151% |
7.2.33 | 100.000 | 0.003736 | +118% |
7.2.31 | 100.000 | 0.003879 | +123% |
7.2.30 | 100.000 | 0.004050 | +128% |
8.3.10 | 10.000 | 0.001100 | +241% |
7.2.28 | 100.000 | 0.003906 | +124% |
7.2.27 | 100.000 | 0.003892 | +123% |
7.2.26 | 100.000 | 0.004011 | +127% |
7.2.25 | 100.000 | 0.003602 | +114% |
7.2.24 | 100.000 | 0.004234 | +134% |
7.2.22 | 100.000 | 0.004831 | +153% |
7.2.21 | 100.000 | 0.005069 | +160% |
7.1.33 | 100.000 | 0.005856 | +185% |
7.1.32 | 100.000 | 0.007248 | +229% |
7.1.31 | 100.000 | 0.008006 | +253% |
7.1.0 | 100.000 | 0.038407 | +1216% |
7.0.33 | 100.000 | 0.005406 | +171% |
7.0.7 | 100.000 | 0.041100 | +1301% |
5.6.40 | 100.000 | 0.016031 | +507% |
5.6.22 | 100.000 | 0.090595 | +2868% |
5.5.36 | 100.000 | 0.097936 | +3100% |
5.4.45 | 100.000 | 0.108840 | +3446% |
5.3.29 | 100.000 | 0.106949 | +3386% |
8.3.9 | 10.000 | 0.001210 | +266% |
8.0.30 | 100.000 | 0.005056 | +160% |
8.0.29 | 100.000 | 0.003716 | +118% |
8.0.28 | 100.000 | 0.003392 | +107% |
8.0.27 | 100.000 | 0.003809 | +121% |
8.0.26 | 100.000 | 0.003693 | +117% |
8.0.25 | 100.000 | 0.003496 | +111% |
8.0.24 | 100.000 | 0.003494 | +111% |
8.0.23 | 100.000 | 0.003744 | +119% |
8.0.20 | 10.000 | 0.000456 | 100% |
8.0.20 | 100.000 | 0.003415 | +108% |
8.0.19 | 10.000 | 0.000662 | +145% |
8.0.19 | 100.000 | 0.003685 | +117% |
8.0.17 | 10.000 | 0.000706 | +155% |
8.0.17 | 100.000 | 0.003591 | +114% |
8.0.16 | 10.000 | 0.000767 | +168% |
8.0.16 | 100.000 | 0.003679 | +116% |
8.0.14 | 10.000 | 0.000804 | +176% |
8.0.14 | 100.000 | 0.003490 | +110% |
8.0.11 | 100.000 | 0.003400 | +108% |
8.0.10 | 100.000 | 0.003389 | +107% |
8.0.9 | 100.000 | 0.004230 | +134% |
8.0.8 | 100.000 | 0.004099 | +130% |
8.0.7 | 100.000 | 0.003606 | +114% |
8.0.3 | 100.000 | 0.004574 | +145% |
8.0.2 | 100.000 | 0.005637 | +178% |
8.0.0 | 100.000 | 0.003658 | +116% |
7.4.33 | 100.000 | 0.004652 | +147% |
7.4.32 | 100.000 | 0.003283 | +104% |
7.4.30 | 100.000 | 0.003281 | +104% |
7.4.28 | 100.000 | 0.003568 | +113% |
7.4.27 | 100.000 | 0.003358 | +106% |
7.4.24 | 100.000 | 0.003254 | +103% |
7.4.23 | 100.000 | 0.003882 | +123% |
7.4.22 | 100.000 | 0.003159 | 100% |
8.0.11 | 10.000 | 0.000772 | +169% |
8.0.10 | 10.000 | 0.000611 | +134% |
8.0.0 | 10.000 | 0.000717 | +157% |
7.4.29 | 100.000 | 0.003423 | +108% |
7.4.21 | 10.000 | 0.000778 | +171% |
7.4.21 | 100.000 | 0.003411 | +108% |
7.4.20 | 10.000 | 0.000732 | +161% |
7.4.20 | 100.000 | 0.003579 | +113% |
7.4.16 | 100.000 | 0.004244 | +134% |
7.4.15 | 100.000 | 0.004622 | +146% |
7.4.33 | 10.000 | 0.000734 | +161% |
7.4.32 | 10.000 | 0.000547 | +120% |
7.4.30 | 10.000 | 0.000479 | +105% |
7.4.29 | 10.000 | 0.000680 | +149% |
7.4.24 | 10.000 | 0.000600 | +132% |
7.4.23 | 10.000 | 0.000608 | +133% |
7.4.22 | 10.000 | 0.000579 | +127% |
7.4.13 | 100.000 | 0.003478 | +110% |
7.4.12 | 100.000 | 0.003851 | +122% |
7.4.11 | 100.000 | 0.003496 | +111% |
7.4.10 | 100.000 | 0.003472 | +110% |
8.0.2 | 10.000 | 0.001008 | +221% |
7.4.0 | 100.000 | 0.003908 | +124% |
8.0.30 | 10.000 | 0.000988 | +217% |
8.0.29 | 10.000 | 0.000518 | +114% |
8.0.28 | 10.000 | 0.000530 | +116% |
8.0.27 | 10.000 | 0.000558 | +122% |
8.0.26 | 10.000 | 0.000607 | +133% |
8.0.25 | 10.000 | 0.000538 | +118% |
8.0.24 | 10.000 | 0.000631 | +138% |
8.0.23 | 10.000 | 0.000669 | +147% |
8.0.9 | 10.000 | 0.000572 | +126% |
8.0.8 | 10.000 | 0.000676 | +148% |
8.0.7 | 10.000 | 0.000781 | +171% |
8.0.3 | 10.000 | 0.000895 | +196% |
7.4.28 | 10.000 | 0.000616 | +135% |
7.4.27 | 10.000 | 0.000734 | +161% |
7.4.16 | 10.000 | 0.000733 | +161% |
7.4.15 | 10.000 | 0.000853 | +187% |
7.4.13 | 10.000 | 0.000605 | +133% |
7.4.12 | 10.000 | 0.000562 | +123% |
7.4.11 | 10.000 | 0.000531 | +117% |
7.4.10 | 10.000 | 0.000603 | +132% |
7.4.7 | 10.000 | 0.000638 | +140% |
7.4.7 | 100.000 | 0.003563 | +113% |
7.4.6 | 10.000 | 0.000563 | +124% |
7.4.6 | 100.000 | 0.003305 | +105% |
7.4.5 | 10.000 | 0.000646 | +142% |
7.4.5 | 100.000 | 0.003432 | +109% |
7.4.4 | 10.000 | 0.000627 | +138% |
7.4.4 | 100.000 | 0.003702 | +117% |
7.4.3 | 10.000 | 0.000581 | +128% |
7.4.3 | 100.000 | 0.003365 | +107% |
7.4.1 | 100.000 | 0.003314 | +105% |
7.4.2 | 10.000 | 0.000704 | +155% |
7.4.2 | 100.000 | 0.003396 | +108% |
7.4.1 | 10.000 | 0.000731 | +161% |
7.4.0 | 10.000 | 0.000505 | +111% |
7.3.33 | 10.000 | 0.000814 | +179% |
7.3.31 | 10.000 | 0.001191 | +261% |
7.3.30 | 10.000 | 0.001783 | +391% |
7.3.29 | 10.000 | 0.001456 | +320% |
7.3.28 | 10.000 | 0.000856 | +188% |
7.3.27 | 10.000 | 0.000908 | +199% |
7.3.24 | 10.000 | 0.000635 | +139% |
7.3.23 | 10.000 | 0.000665 | +146% |
7.3.22 | 10.000 | 0.000775 | +170% |
7.3.19 | 10.000 | 0.000672 | +147% |
7.3.18 | 10.000 | 0.000675 | +148% |
7.3.17 | 10.000 | 0.000643 | +141% |
7.3.16 | 10.000 | 0.000594 | +130% |
7.3.15 | 10.000 | 0.000711 | +156% |
7.3.14 | 10.000 | 0.000869 | +191% |
7.3.13 | 10.000 | 0.000815 | +179% |
7.3.12 | 10.000 | 0.000761 | +167% |
7.3.11 | 10.000 | 0.000468 | +103% |
7.3.9 | 10.000 | 0.000574 | +126% |
7.3.8 | 10.000 | 0.000517 | +113% |
7.2.34 | 10.000 | 0.000778 | +171% |
7.2.33 | 10.000 | 0.000721 | +158% |
7.2.31 | 10.000 | 0.000745 | +164% |
7.2.30 | 10.000 | 0.000625 | +137% |
7.2.29 | 10.000 | 0.000833 | +183% |
7.2.28 | 10.000 | 0.000680 | +149% |
7.2.27 | 10.000 | 0.000915 | +201% |
7.2.26 | 10.000 | 0.000884 | +194% |
7.2.25 | 10.000 | 0.000741 | +163% |
7.2.24 | 10.000 | 0.000571 | +125% |
7.2.22 | 10.000 | 0.000612 | +134% |
7.2.21 | 10.000 | 0.000540 | +119% |
7.1.33 | 10.000 | 0.000991 | +218% |
7.1.32 | 10.000 | 0.000769 | +169% |
7.1.31 | 10.000 | 0.000820 | +180% |
7.1.0 | 10.000 | 0.004221 | +927% |
7.0.33 | 10.000 | 0.000922 | +202% |
7.0.7 | 10.000 | 0.004578 | +1005% |
5.6.40 | 10.000 | 0.002370 | +520% |
5.6.22 | 10.000 | 0.010529 | +2311% |
5.5.36 | 10.000 | 0.012153 | +2668% |
5.4.45 | 10.000 | 0.012122 | +2661% |
5.3.29 | 10.000 | 0.011860 | +2603% |