LoopWhileTest

Create loop with while


<?php 

$values 
$this->getRange($loop);

$this->start($loop);

while ((
$key key($values)) !== null) {
    
$values[$key]++;

    
next($values);
}

return 
$this->end();
PHP Loops Seconds Percent
8.3.13 100.000 0.012169 +211%
8.3.10 100.000 0.010113 +175%
8.3.9 100.000 0.010110 +175%
7.4.10 100.000 0.007616 +132%
7.4.1 100.000 0.006434 +111%
8.3.13 10.000 0.002279 +321%
7.4.0 100.000 0.007496 +130%
7.3.33 100.000 0.007566 +131%
7.3.31 100.000 0.006418 +111%
7.3.30 100.000 0.006452 +112%
7.3.29 100.000 0.006377 +110%
7.3.28 100.000 0.006715 +116%
7.3.27 100.000 0.008564 +148%
7.3.24 100.000 0.006625 +115%
7.3.23 100.000 0.007124 +123%
7.3.22 100.000 0.006553 +113%
7.3.19 100.000 0.006930 +120%
7.3.18 100.000 0.006792 +118%
7.3.17 100.000 0.006262 +108%
7.3.16 100.000 0.006641 +115%
7.3.15 100.000 0.006071 +105%
7.3.14 100.000 0.006752 +117%
7.3.13 100.000 0.006995 +121%
7.3.12 100.000 0.006328 +109%
7.3.11 100.000 0.006923 +120%
7.3.9 100.000 0.008262 +143%
7.3.8 100.000 0.008641 +150%
7.2.34 100.000 0.007839 +136%
7.2.33 100.000 0.007088 +123%
7.2.31 100.000 0.006947 +120%
7.2.30 100.000 0.007606 +132%
7.2.29 100.000 0.006807 +118%
7.2.28 100.000 0.005961 +103%
7.2.27 100.000 0.007081 +123%
7.2.26 100.000 0.007236 +125%
8.3.10 10.000 0.001756 +247%
7.2.25 100.000 0.005979 +103%
7.2.24 100.000 0.007260 +126%
7.2.22 100.000 0.008667 +150%
7.2.21 100.000 0.008900 +154%
7.1.33 100.000 0.008808 +152%
7.1.32 100.000 0.010150 +176%
7.1.31 100.000 0.010595 +183%
7.0.33 100.000 0.008681 +150%
5.6.40 100.000 0.025716 +445%
8.3.9 10.000 0.001394 +196%
8.0.30 10.000 0.001337 +188%
8.0.30 100.000 0.008164 +141%
8.0.29 100.000 0.006215 +108%
8.0.28 100.000 0.006023 +104%
8.0.25 100.000 0.006237 +108%
8.0.24 100.000 0.005824 +101%
8.0.23 100.000 0.006096 +105%
8.0.20 100.000 0.005965 +103%
8.0.19 100.000 0.006524 +113%
8.0.17 100.000 0.006045 +105%
8.0.16 100.000 0.005915 +102%
8.0.14 100.000 0.007274 +126%
8.0.11 100.000 0.005877 +102%
8.0.10 100.000 0.005793 100%
8.0.9 100.000 0.007057 +122%
8.0.3 100.000 0.007933 +137%
7.4.11 100.000 0.007105 +123%
8.0.29 10.000 0.000710 100%
8.0.27 100.000 0.006321 +109%
8.0.28 10.000 0.000791 +111%
8.0.26 100.000 0.006394 +111%
8.0.27 10.000 0.000930 +131%
8.0.26 10.000 0.000906 +128%
8.0.25 10.000 0.000919 +130%
8.0.24 10.000 0.000792 +112%
8.0.23 10.000 0.001143 +161%
8.0.19 10.000 0.001074 +151%
8.0.17 10.000 0.001191 +168%
8.0.16 10.000 0.001086 +153%
8.0.14 10.000 0.001117 +157%
8.0.11 10.000 0.001155 +163%
8.0.10 10.000 0.001304 +184%
8.0.9 10.000 0.000929 +131%
8.0.7 100.000 0.006235 +108%
8.0.20 10.000 0.000785 +111%
8.0.8 10.000 0.001073 +151%
8.0.8 100.000 0.007006 +121%
8.0.2 100.000 0.009709 +168%
8.0.7 10.000 0.001184 +167%
8.0.3 10.000 0.001498 +211%
8.0.2 10.000 0.001714 +242%
7.4.12 100.000 0.006660 +115%
8.0.0 10.000 0.001129 +159%
8.0.0 100.000 0.006247 +108%
7.4.33 100.000 0.007680 +133%
7.4.33 10.000 0.001202 +169%
7.4.32 100.000 0.006087 +105%
7.4.30 100.000 0.005779 100%
7.4.29 100.000 0.006402 +111%
7.4.32 10.000 0.000967 +136%
7.4.30 10.000 0.000856 +121%
7.4.28 100.000 0.007011 +121%
7.4.27 10.000 0.001305 +184%
7.4.27 100.000 0.006576 +114%
7.4.24 100.000 0.006438 +111%
7.4.23 100.000 0.006543 +113%
7.4.22 100.000 0.006203 +107%
7.4.24 10.000 0.001073 +151%
7.4.23 10.000 0.001146 +161%
7.4.22 10.000 0.001030 +145%
7.4.21 10.000 0.001124 +158%
7.4.21 100.000 0.006627 +115%
7.4.16 100.000 0.008701 +151%
7.4.15 100.000 0.009114 +158%
7.4.13 100.000 0.006734 +117%
7.4.20 10.000 0.001225 +173%
7.4.20 100.000 0.006044 +105%
7.4.28 10.000 0.001170 +165%
7.4.16 10.000 0.001434 +202%
7.4.15 10.000 0.001782 +251%
7.4.13 10.000 0.001065 +150%
7.4.7 100.000 0.006723 +116%
7.4.29 10.000 0.001261 +178%
7.4.12 10.000 0.001106 +156%
7.4.10 10.000 0.001123 +158%
7.4.5 100.000 0.006287 +109%
7.4.11 10.000 0.001218 +172%
7.4.7 10.000 0.001280 +180%
7.4.6 10.000 0.001176 +166%
7.4.6 100.000 0.006103 +106%
7.4.5 10.000 0.001133 +160%
7.4.4 10.000 0.001116 +157%
7.4.4 100.000 0.005967 +103%
7.4.3 10.000 0.001061 +149%
7.4.3 100.000 0.005780 100%
7.4.2 10.000 0.001325 +187%
7.4.2 100.000 0.006566 +114%
7.4.1 10.000 0.001370 +193%
7.4.0 10.000 0.000992 +140%
7.3.33 10.000 0.001182 +167%
7.3.31 10.000 0.001144 +161%
7.3.30 10.000 0.001185 +167%
7.3.29 10.000 0.001134 +160%
7.3.28 10.000 0.001388 +195%
7.3.27 10.000 0.001536 +216%
7.3.24 10.000 0.001079 +152%
7.3.23 10.000 0.001173 +165%
7.3.22 10.000 0.001081 +152%
7.3.19 10.000 0.001288 +181%
7.3.18 10.000 0.001203 +170%
7.3.17 10.000 0.000907 +128%
7.3.16 10.000 0.001060 +149%
7.3.15 10.000 0.001278 +180%
7.3.14 10.000 0.001407 +198%
7.3.13 10.000 0.001429 +201%
7.3.12 10.000 0.001218 +172%
7.3.11 10.000 0.000972 +137%
7.3.9 10.000 0.000946 +133%
7.3.8 10.000 0.000964 +136%
7.2.34 10.000 0.001219 +172%
7.2.33 10.000 0.001261 +178%
7.2.31 10.000 0.001238 +174%
7.2.30 10.000 0.001506 +212%
7.2.29 10.000 0.001165 +164%
7.2.28 10.000 0.001124 +158%
7.2.27 10.000 0.001521 +214%
7.2.26 10.000 0.001425 +201%
7.2.25 10.000 0.001356 +191%
7.2.24 10.000 0.001056 +149%
7.2.22 10.000 0.001064 +150%
7.2.21 10.000 0.000995 +140%
7.1.33 10.000 0.001467 +207%
7.1.32 10.000 0.001140 +161%
7.1.31 10.000 0.001181 +166%
7.0.33 10.000 0.001405 +198%
5.6.40 10.000 0.003785 +533%