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.4.4 | 100.000 | 0.003578 | 100% |
8.3.9 | 100.000 | 0.004918 | +137% |
7.4.1 | 100.000 | 0.004014 | +112% |
7.4.0 | 100.000 | 0.004876 | +136% |
7.3.33 | 100.000 | 0.005033 | +141% |
7.3.31 | 100.000 | 0.004476 | +125% |
7.3.30 | 100.000 | 0.005504 | +154% |
7.3.29 | 100.000 | 0.004647 | +130% |
7.3.28 | 100.000 | 0.004928 | +138% |
7.3.27 | 100.000 | 0.005960 | +167% |
7.3.24 | 100.000 | 0.004435 | +124% |
7.3.23 | 100.000 | 0.004784 | +134% |
7.3.22 | 100.000 | 0.004948 | +138% |
7.3.19 | 100.000 | 0.004626 | +129% |
7.3.18 | 100.000 | 0.004283 | +120% |
7.3.17 | 100.000 | 0.004646 | +130% |
7.3.16 | 100.000 | 0.004313 | +121% |
7.3.15 | 100.000 | 0.004431 | +124% |
7.3.14 | 100.000 | 0.004454 | +124% |
7.3.13 | 100.000 | 0.004556 | +127% |
7.3.12 | 100.000 | 0.004092 | +114% |
7.3.11 | 100.000 | 0.004693 | +131% |
7.3.9 | 100.000 | 0.005242 | +147% |
7.3.8 | 100.000 | 0.005086 | +142% |
7.2.34 | 100.000 | 0.005025 | +140% |
7.2.33 | 100.000 | 0.004797 | +134% |
7.2.31 | 100.000 | 0.004674 | +131% |
7.2.30 | 100.000 | 0.004676 | +131% |
7.2.29 | 100.000 | 0.004499 | +126% |
7.2.28 | 100.000 | 0.004269 | +119% |
7.2.27 | 100.000 | 0.004559 | +127% |
7.2.26 | 100.000 | 0.004372 | +122% |
7.2.25 | 100.000 | 0.003978 | +111% |
7.2.24 | 100.000 | 0.004502 | +126% |
7.2.22 | 100.000 | 0.005083 | +142% |
7.2.21 | 100.000 | 0.005468 | +153% |
7.1.33 | 100.000 | 0.006137 | +172% |
7.1.32 | 100.000 | 0.014992 | +419% |
7.1.31 | 100.000 | 0.015377 | +430% |
7.1.0 | 100.000 | 0.026313 | +735% |
7.0.33 | 100.000 | 0.014809 | +414% |
7.0.7 | 100.000 | 0.027339 | +764% |
5.6.40 | 100.000 | 0.027686 | +774% |
5.6.22 | 100.000 | 0.161703 | +4520% |
5.5.36 | 100.000 | 0.161106 | +4503% |
5.4.45 | 100.000 | 0.161775 | +4522% |
5.3.29 | 100.000 | 0.153436 | +4289% |
8.4.4 | 10.000 | 0.000474 | +164% |
8.3.16 | 100.000 | 0.003636 | +102% |
8.3.13 | 100.000 | 0.005126 | +143% |
8.3.10 | 10.000 | 0.000480 | +166% |
8.3.10 | 100.000 | 0.004358 | +122% |
8.0.29 | 100.000 | 0.004319 | +121% |
8.0.28 | 100.000 | 0.004205 | +118% |
8.0.27 | 100.000 | 0.004495 | +126% |
8.0.26 | 100.000 | 0.004592 | +128% |
8.0.25 | 100.000 | 0.004464 | +125% |
8.0.24 | 100.000 | 0.004418 | +123% |
8.0.23 | 100.000 | 0.003993 | +112% |
8.0.20 | 100.000 | 0.004181 | +117% |
8.3.16 | 10.000 | 0.000427 | +148% |
8.3.13 | 10.000 | 0.000560 | +194% |
8.0.19 | 100.000 | 0.004717 | +132% |
8.0.17 | 100.000 | 0.004494 | +126% |
8.0.16 | 100.000 | 0.004359 | +122% |
8.0.14 | 100.000 | 0.004836 | +135% |
8.0.11 | 100.000 | 0.004537 | +127% |
8.0.9 | 100.000 | 0.006334 | +177% |
8.0.8 | 100.000 | 0.004636 | +130% |
7.4.10 | 100.000 | 0.004699 | +131% |
8.3.9 | 10.000 | 0.000656 | +227% |
8.0.30 | 100.000 | 0.005627 | +157% |
7.4.11 | 100.000 | 0.004669 | +131% |
8.0.30 | 10.000 | 0.000529 | +184% |
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.20 | 10.000 | 0.000295 | +102% |
8.0.19 | 10.000 | 0.000410 | +142% |
8.0.17 | 10.000 | 0.000449 | +156% |
8.0.16 | 10.000 | 0.000449 | +156% |
8.0.14 | 10.000 | 0.000432 | +150% |
8.0.11 | 10.000 | 0.000390 | +135% |
8.0.7 | 100.000 | 0.004569 | +128% |
8.0.10 | 10.000 | 0.000465 | +161% |
8.0.10 | 100.000 | 0.004272 | +119% |
8.0.3 | 100.000 | 0.005494 | +154% |
8.0.2 | 100.000 | 0.006627 | +185% |
8.0.0 | 100.000 | 0.004539 | +127% |
7.4.29 | 100.000 | 0.004495 | +126% |
8.0.0 | 10.000 | 0.000415 | +144% |
7.4.33 | 100.000 | 0.005333 | +149% |
7.4.32 | 100.000 | 0.004354 | +122% |
8.0.2 | 10.000 | 0.000644 | +223% |
7.4.33 | 10.000 | 0.000467 | +162% |
7.4.30 | 10.000 | 0.000329 | +114% |
7.4.30 | 100.000 | 0.004314 | +121% |
7.4.29 | 10.000 | 0.000441 | +153% |
7.4.28 | 10.000 | 0.000462 | +160% |
7.4.28 | 100.000 | 0.004493 | +126% |
7.4.27 | 100.000 | 0.004555 | +127% |
7.4.24 | 10.000 | 0.000437 | +152% |
7.4.24 | 100.000 | 0.004609 | +129% |
7.4.23 | 100.000 | 0.004741 | +133% |
7.4.22 | 10.000 | 0.000412 | +143% |
7.4.22 | 100.000 | 0.004296 | +120% |
7.4.21 | 100.000 | 0.004293 | +120% |
8.0.9 | 10.000 | 0.000441 | +153% |
7.4.27 | 10.000 | 0.000459 | +159% |
7.4.21 | 10.000 | 0.000520 | +181% |
7.4.20 | 10.000 | 0.000437 | +151% |
7.4.20 | 100.000 | 0.004319 | +121% |
7.4.16 | 100.000 | 0.005477 | +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.32 | 10.000 | 0.000375 | +130% |
7.4.23 | 10.000 | 0.000443 | +154% |
7.4.16 | 10.000 | 0.000596 | +207% |
7.4.15 | 10.000 | 0.000589 | +204% |
7.4.15 | 100.000 | 0.006943 | +194% |
7.4.13 | 100.000 | 0.004515 | +126% |
7.4.13 | 10.000 | 0.000456 | +158% |
7.4.12 | 100.000 | 0.004998 | +140% |
7.4.6 | 100.000 | 0.004404 | +123% |
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 | +132% |
7.4.6 | 10.000 | 0.000467 | +162% |
7.4.5 | 10.000 | 0.000395 | +137% |
7.4.5 | 100.000 | 0.004595 | +128% |
7.4.4 | 10.000 | 0.000434 | +150% |
7.4.4 | 100.000 | 0.004252 | +119% |
7.4.3 | 100.000 | 0.004332 | +121% |
7.4.3 | 10.000 | 0.000541 | +188% |
7.4.2 | 10.000 | 0.000568 | +197% |
7.4.2 | 100.000 | 0.004743 | +133% |
7.4.1 | 10.000 | 0.000491 | +170% |
7.4.0 | 10.000 | 0.000411 | +142% |
7.3.33 | 10.000 | 0.000471 | +163% |
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.000479 | +166% |
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.000612 | +212% |
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.000574 | +199% |
7.0.7 | 10.000 | 0.002320 | +805% |
5.6.40 | 10.000 | 0.003271 | +1135% |
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% |