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 | +116% |
8.3.10 | 100.000 | 0.003031 | +196% |
8.3.9 | 100.000 | 0.002641 | +149% |
7.3.33 | 100.000 | 0.002146 | +148% |
7.3.31 | 100.000 | 0.001711 | +155% |
7.3.30 | 100.000 | 0.001717 | +148% |
7.3.29 | 100.000 | 0.001763 | +153% |
7.3.28 | 100.000 | 0.001648 | +140% |
7.3.27 | 100.000 | 0.002314 | +155% |
7.3.24 | 100.000 | 0.001819 | +148% |
7.3.23 | 100.000 | 0.001854 | +164% |
7.3.22 | 100.000 | 0.002016 | +174% |
7.3.19 | 100.000 | 0.001866 | +147% |
7.3.18 | 100.000 | 0.001762 | +160% |
7.3.17 | 100.000 | 0.001917 | +170% |
7.3.16 | 100.000 | 0.001934 | +164% |
7.3.15 | 100.000 | 0.001722 | +155% |
7.3.14 | 100.000 | 0.001918 | +153% |
7.3.13 | 100.000 | 0.001987 | +161% |
7.3.12 | 100.000 | 0.001761 | +153% |
7.3.11 | 100.000 | 0.001927 | +150% |
7.3.9 | 100.000 | 0.002147 | +154% |
7.3.8 | 100.000 | 0.002232 | +145% |
7.2.29 | 100.000 | 0.001955 | +170% |
8.3.13 | 10.000 | 0.000599 | +141% |
7.2.34 | 100.000 | 0.002122 | +152% |
7.2.33 | 100.000 | 0.001853 | +136% |
7.2.31 | 100.000 | 0.001733 | +124% |
7.2.30 | 100.000 | 0.002072 | +171% |
8.3.10 | 10.000 | 0.000575 | +192% |
7.2.28 | 100.000 | 0.002784 | +219% |
7.2.27 | 100.000 | 0.001869 | +138% |
7.2.26 | 100.000 | 0.001946 | +135% |
7.2.25 | 100.000 | 0.001573 | +135% |
7.2.24 | 100.000 | 0.001856 | +153% |
7.2.22 | 100.000 | 0.002130 | +147% |
7.2.21 | 100.000 | 0.002350 | +152% |
7.1.33 | 100.000 | 0.003077 | +162% |
7.1.32 | 100.000 | 0.003274 | +160% |
7.1.31 | 100.000 | 0.003646 | +179% |
7.1.0 | 100.000 | 0.018781 | +211% |
7.0.33 | 100.000 | 0.002536 | +170% |
7.0.7 | 100.000 | 0.021671 | +225% |
5.6.40 | 100.000 | 0.006068 | +102% |
5.6.22 | 100.000 | 0.042197 | 100% |
5.5.36 | 100.000 | 0.042018 | 100% |
5.4.45 | 100.000 | 0.043531 | +101% |
5.3.29 | 100.000 | 0.038950 | 100% |
8.3.9 | 10.000 | 0.000508 | +122% |
8.0.30 | 100.000 | 0.002355 | +140% |
8.0.29 | 100.000 | 0.001510 | +138% |
8.0.28 | 100.000 | 0.001402 | +138% |
8.0.27 | 100.000 | 0.001683 | +135% |
8.0.26 | 100.000 | 0.001733 | +150% |
8.0.25 | 100.000 | 0.001598 | +134% |
8.0.24 | 100.000 | 0.001644 | +139% |
8.0.23 | 100.000 | 0.001652 | +147% |
8.0.20 | 10.000 | 0.000212 | +156% |
8.0.20 | 100.000 | 0.001481 | +135% |
8.0.19 | 10.000 | 0.000272 | +127% |
8.0.19 | 100.000 | 0.001882 | +152% |
8.0.17 | 10.000 | 0.000286 | +136% |
8.0.17 | 100.000 | 0.001821 | +161% |
8.0.16 | 10.000 | 0.000289 | +150% |
8.0.16 | 100.000 | 0.001557 | +143% |
8.0.14 | 10.000 | 0.000265 | +131% |
8.0.14 | 100.000 | 0.001586 | +124% |
8.0.11 | 100.000 | 0.001593 | +138% |
8.0.10 | 100.000 | 0.001532 | +132% |
8.0.9 | 100.000 | 0.001629 | 100% |
8.0.8 | 100.000 | 0.001591 | +138% |
8.0.7 | 100.000 | 0.001479 | +119% |
8.0.3 | 100.000 | 0.002102 | +135% |
8.0.2 | 100.000 | 0.002265 | +136% |
8.0.0 | 100.000 | 0.001665 | +140% |
7.4.33 | 100.000 | 0.002043 | +134% |
7.4.32 | 100.000 | 0.001687 | +145% |
7.4.30 | 100.000 | 0.001576 | +150% |
7.4.28 | 100.000 | 0.001909 | +149% |
7.4.27 | 100.000 | 0.001666 | +141% |
7.4.24 | 100.000 | 0.001429 | +116% |
7.4.23 | 100.000 | 0.001472 | +127% |
7.4.22 | 100.000 | 0.001523 | +128% |
8.0.11 | 10.000 | 0.000263 | +125% |
8.0.10 | 10.000 | 0.000309 | +144% |
8.0.0 | 10.000 | 0.000274 | +141% |
7.4.29 | 100.000 | 0.001750 | +150% |
7.4.21 | 10.000 | 0.000291 | +103% |
7.4.21 | 100.000 | 0.001398 | +111% |
7.4.20 | 10.000 | 0.000232 | +103% |
7.4.20 | 100.000 | 0.001407 | +118% |
7.4.16 | 100.000 | 0.001973 | +134% |
7.4.15 | 100.000 | 0.002508 | +156% |
7.4.33 | 10.000 | 0.000308 | +129% |
7.4.32 | 10.000 | 0.000231 | +138% |
7.4.30 | 10.000 | 0.000222 | +167% |
7.4.29 | 10.000 | 0.000311 | +135% |
7.4.24 | 10.000 | 0.000243 | +120% |
7.4.23 | 10.000 | 0.000283 | +151% |
7.4.22 | 10.000 | 0.000213 | +125% |
7.4.13 | 100.000 | 0.001494 | +120% |
7.4.12 | 100.000 | 0.001602 | +121% |
7.4.11 | 100.000 | 0.001662 | +144% |
7.4.10 | 100.000 | 0.001468 | +126% |
8.0.2 | 10.000 | 0.000350 | +126% |
7.4.0 | 100.000 | 0.001786 | +141% |
8.0.30 | 10.000 | 0.000393 | +137% |
8.0.29 | 10.000 | 0.000161 | +130% |
8.0.28 | 10.000 | 0.000188 | +138% |
8.0.27 | 10.000 | 0.000243 | +154% |
8.0.26 | 10.000 | 0.000231 | +130% |
8.0.25 | 10.000 | 0.000213 | +115% |
8.0.24 | 10.000 | 0.000238 | +123% |
8.0.23 | 10.000 | 0.000337 | +314% |
8.0.9 | 10.000 | 0.000233 | +117% |
8.0.8 | 10.000 | 0.000315 | +126% |
8.0.7 | 10.000 | 0.000310 | +157% |
8.0.3 | 10.000 | 0.000345 | +133% |
7.4.28 | 10.000 | 0.000255 | +117% |
7.4.27 | 10.000 | 0.000294 | +142% |
7.4.16 | 10.000 | 0.000326 | +122% |
7.4.15 | 10.000 | 0.000347 | +130% |
7.4.13 | 10.000 | 0.000228 | +105% |
7.4.12 | 10.000 | 0.000252 | +115% |
7.4.11 | 10.000 | 0.000249 | +112% |
7.4.10 | 10.000 | 0.000277 | +144% |
7.4.7 | 10.000 | 0.000258 | +127% |
7.4.7 | 100.000 | 0.001514 | +124% |
7.4.6 | 10.000 | 0.000259 | +131% |
7.4.6 | 100.000 | 0.001454 | +133% |
7.4.5 | 10.000 | 0.000322 | +157% |
7.4.5 | 100.000 | 0.001679 | +142% |
7.4.4 | 10.000 | 0.000278 | +147% |
7.4.4 | 100.000 | 0.001624 | +136% |
7.4.3 | 10.000 | 0.000265 | +155% |
7.4.3 | 100.000 | 0.001475 | +138% |
7.4.1 | 100.000 | 0.001554 | +129% |
7.4.2 | 10.000 | 0.000323 | +130% |
7.4.2 | 100.000 | 0.001553 | +120% |
7.4.1 | 10.000 | 0.000348 | +155% |
7.4.0 | 10.000 | 0.000232 | +127% |
7.3.33 | 10.000 | 0.000347 | +151% |
7.3.31 | 10.000 | 0.000339 | +178% |
7.3.30 | 10.000 | 0.000307 | +174% |
7.3.29 | 10.000 | 0.000310 | +179% |
7.3.28 | 10.000 | 0.000387 | +188% |
7.3.27 | 10.000 | 0.000397 | +148% |
7.3.24 | 10.000 | 0.000321 | +187% |
7.3.23 | 10.000 | 0.000299 | +134% |
7.3.22 | 10.000 | 0.000333 | +172% |
7.3.19 | 10.000 | 0.000327 | +147% |
7.3.18 | 10.000 | 0.000304 | +160% |
7.3.17 | 10.000 | 0.000304 | +156% |
7.3.16 | 10.000 | 0.000312 | +164% |
7.3.15 | 10.000 | 0.000324 | +153% |
7.3.14 | 10.000 | 0.000406 | +152% |
7.3.13 | 10.000 | 0.000412 | +164% |
7.3.12 | 10.000 | 0.000389 | +163% |
7.3.11 | 10.000 | 0.000254 | +175% |
7.3.9 | 10.000 | 0.000254 | +148% |
7.3.8 | 10.000 | 0.000264 | +146% |
7.2.34 | 10.000 | 0.000357 | +162% |
7.2.33 | 10.000 | 0.000323 | +182% |
7.2.31 | 10.000 | 0.000354 | +137% |
7.2.30 | 10.000 | 0.000325 | +144% |
7.2.29 | 10.000 | 0.000307 | +147% |
7.2.28 | 10.000 | 0.000240 | +129% |
7.2.27 | 10.000 | 0.000318 | +121% |
7.2.26 | 10.000 | 0.000392 | +163% |
7.2.25 | 10.000 | 0.000307 | +146% |
7.2.24 | 10.000 | 0.000301 | +178% |
7.2.22 | 10.000 | 0.000243 | +143% |
7.2.21 | 10.000 | 0.000259 | +149% |
7.1.33 | 10.000 | 0.000506 | +161% |
7.1.32 | 10.000 | 0.000409 | +172% |
7.1.31 | 10.000 | 0.000380 | +166% |
7.1.0 | 10.000 | 0.002004 | +208% |
7.0.33 | 10.000 | 0.000410 | +169% |
7.0.7 | 10.000 | 0.002291 | +225% |
5.6.40 | 10.000 | 0.001193 | 100% |
5.6.22 | 10.000 | 0.005616 | +105% |
5.5.36 | 10.000 | 0.005435 | +102% |
5.4.45 | 10.000 | 0.005195 | +104% |
5.3.29 | 10.000 | 0.004732 | +104% |
Create loop with foreach (only value)
<?php
$values = $this->getRange($loop);
$this->start($loop);
foreach ($values as $value) {
$value++;
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.002757 | 100% |
8.3.10 | 100.000 | 0.001543 | 100% |
8.3.9 | 100.000 | 0.001773 | 100% |
7.3.33 | 100.000 | 0.001445 | 100% |
7.3.31 | 100.000 | 0.001107 | 100% |
7.3.30 | 100.000 | 0.001159 | 100% |
7.3.29 | 100.000 | 0.001154 | 100% |
7.3.28 | 100.000 | 0.001182 | 100% |
7.3.27 | 100.000 | 0.001495 | 100% |
7.3.24 | 100.000 | 0.001231 | 100% |
7.3.23 | 100.000 | 0.001129 | 100% |
7.3.22 | 100.000 | 0.001161 | 100% |
7.3.19 | 100.000 | 0.001270 | 100% |
7.3.18 | 100.000 | 0.001101 | 100% |
7.3.17 | 100.000 | 0.001129 | 100% |
7.3.16 | 100.000 | 0.001180 | 100% |
7.3.15 | 100.000 | 0.001108 | 100% |
7.3.14 | 100.000 | 0.001255 | 100% |
7.3.13 | 100.000 | 0.001235 | 100% |
7.3.12 | 100.000 | 0.001152 | 100% |
7.3.11 | 100.000 | 0.001287 | 100% |
7.3.9 | 100.000 | 0.001397 | 100% |
7.3.8 | 100.000 | 0.001538 | 100% |
7.2.29 | 100.000 | 0.001149 | 100% |
8.3.13 | 10.000 | 0.000424 | 100% |
7.2.34 | 100.000 | 0.001396 | 100% |
7.2.33 | 100.000 | 0.001361 | 100% |
7.2.31 | 100.000 | 0.001394 | 100% |
7.2.30 | 100.000 | 0.001211 | 100% |
8.3.10 | 10.000 | 0.000300 | 100% |
7.2.28 | 100.000 | 0.001268 | 100% |
7.2.27 | 100.000 | 0.001355 | 100% |
7.2.26 | 100.000 | 0.001442 | 100% |
7.2.25 | 100.000 | 0.001165 | 100% |
7.2.24 | 100.000 | 0.001214 | 100% |
7.2.22 | 100.000 | 0.001450 | 100% |
7.2.21 | 100.000 | 0.001544 | 100% |
7.1.33 | 100.000 | 0.001901 | 100% |
7.1.32 | 100.000 | 0.002041 | 100% |
7.1.31 | 100.000 | 0.002042 | 100% |
7.1.0 | 100.000 | 0.008911 | 100% |
7.0.33 | 100.000 | 0.001494 | 100% |
7.0.7 | 100.000 | 0.009649 | 100% |
5.6.40 | 100.000 | 0.005937 | 100% |
5.6.22 | 100.000 | 0.042543 | +101% |
5.5.36 | 100.000 | 0.043192 | +103% |
5.4.45 | 100.000 | 0.043103 | 100% |
5.3.29 | 100.000 | 0.039365 | +101% |
8.3.9 | 10.000 | 0.000416 | 100% |
8.0.30 | 100.000 | 0.001682 | 100% |
8.0.29 | 100.000 | 0.001096 | 100% |
8.0.28 | 100.000 | 0.001014 | 100% |
8.0.27 | 100.000 | 0.001247 | 100% |
8.0.26 | 100.000 | 0.001159 | 100% |
8.0.25 | 100.000 | 0.001191 | 100% |
8.0.24 | 100.000 | 0.001187 | 100% |
8.0.23 | 100.000 | 0.001124 | 100% |
8.0.20 | 10.000 | 0.000136 | 100% |
8.0.20 | 100.000 | 0.001097 | 100% |
8.0.19 | 10.000 | 0.000215 | 100% |
8.0.19 | 100.000 | 0.001239 | 100% |
8.0.17 | 10.000 | 0.000210 | 100% |
8.0.17 | 100.000 | 0.001127 | 100% |
8.0.16 | 10.000 | 0.000193 | 100% |
8.0.16 | 100.000 | 0.001089 | 100% |
8.0.14 | 10.000 | 0.000202 | 100% |
8.0.14 | 100.000 | 0.001282 | 100% |
8.0.11 | 100.000 | 0.001153 | 100% |
8.0.10 | 100.000 | 0.001161 | 100% |
8.0.9 | 100.000 | 0.001978 | +121% |
8.0.8 | 100.000 | 0.001154 | 100% |
8.0.7 | 100.000 | 0.001244 | 100% |
8.0.3 | 100.000 | 0.001555 | 100% |
8.0.2 | 100.000 | 0.001671 | 100% |
8.0.0 | 100.000 | 0.001190 | 100% |
7.4.33 | 100.000 | 0.001529 | 100% |
7.4.32 | 100.000 | 0.001166 | 100% |
7.4.30 | 100.000 | 0.001050 | 100% |
7.4.28 | 100.000 | 0.001278 | 100% |
7.4.27 | 100.000 | 0.001182 | 100% |
7.4.24 | 100.000 | 0.001230 | 100% |
7.4.23 | 100.000 | 0.001160 | 100% |
7.4.22 | 100.000 | 0.001186 | 100% |
8.0.11 | 10.000 | 0.000210 | 100% |
8.0.10 | 10.000 | 0.000215 | 100% |
8.0.0 | 10.000 | 0.000195 | 100% |
7.4.29 | 100.000 | 0.001164 | 100% |
7.4.21 | 10.000 | 0.000283 | 100% |
7.4.21 | 100.000 | 0.001258 | 100% |
7.4.20 | 10.000 | 0.000225 | 100% |
7.4.20 | 100.000 | 0.001193 | 100% |
7.4.16 | 100.000 | 0.001472 | 100% |
7.4.15 | 100.000 | 0.001605 | 100% |
7.4.33 | 10.000 | 0.000239 | 100% |
7.4.32 | 10.000 | 0.000167 | 100% |
7.4.30 | 10.000 | 0.000133 | 100% |
7.4.29 | 10.000 | 0.000231 | 100% |
7.4.24 | 10.000 | 0.000202 | 100% |
7.4.23 | 10.000 | 0.000187 | 100% |
7.4.22 | 10.000 | 0.000170 | 100% |
7.4.13 | 100.000 | 0.001241 | 100% |
7.4.12 | 100.000 | 0.001321 | 100% |
7.4.11 | 100.000 | 0.001151 | 100% |
7.4.10 | 100.000 | 0.001168 | 100% |
8.0.2 | 10.000 | 0.000278 | 100% |
7.4.0 | 100.000 | 0.001270 | 100% |
8.0.30 | 10.000 | 0.000286 | 100% |
8.0.29 | 10.000 | 0.000124 | 100% |
8.0.28 | 10.000 | 0.000137 | 100% |
8.0.27 | 10.000 | 0.000158 | 100% |
8.0.26 | 10.000 | 0.000177 | 100% |
8.0.25 | 10.000 | 0.000185 | 100% |
8.0.24 | 10.000 | 0.000193 | 100% |
8.0.23 | 10.000 | 0.000107 | 100% |
8.0.9 | 10.000 | 0.000200 | 100% |
8.0.8 | 10.000 | 0.000249 | 100% |
8.0.7 | 10.000 | 0.000197 | 100% |
8.0.3 | 10.000 | 0.000259 | 100% |
7.4.28 | 10.000 | 0.000218 | 100% |
7.4.27 | 10.000 | 0.000207 | 100% |
7.4.16 | 10.000 | 0.000269 | 100% |
7.4.15 | 10.000 | 0.000268 | 100% |
7.4.13 | 10.000 | 0.000217 | 100% |
7.4.12 | 10.000 | 0.000220 | 100% |
7.4.11 | 10.000 | 0.000223 | 100% |
7.4.10 | 10.000 | 0.000193 | 100% |
7.4.7 | 10.000 | 0.000204 | 100% |
7.4.7 | 100.000 | 0.001217 | 100% |
7.4.6 | 10.000 | 0.000197 | 100% |
7.4.6 | 100.000 | 0.001095 | 100% |
7.4.5 | 10.000 | 0.000205 | 100% |
7.4.5 | 100.000 | 0.001179 | 100% |
7.4.4 | 10.000 | 0.000190 | 100% |
7.4.4 | 100.000 | 0.001197 | 100% |
7.4.3 | 10.000 | 0.000172 | 100% |
7.4.3 | 100.000 | 0.001067 | 100% |
7.4.1 | 100.000 | 0.001200 | 100% |
7.4.2 | 10.000 | 0.000249 | 100% |
7.4.2 | 100.000 | 0.001299 | 100% |
7.4.1 | 10.000 | 0.000225 | 100% |
7.4.0 | 10.000 | 0.000183 | 100% |
7.3.33 | 10.000 | 0.000230 | 100% |
7.3.31 | 10.000 | 0.000190 | 100% |
7.3.30 | 10.000 | 0.000177 | 100% |
7.3.29 | 10.000 | 0.000173 | 100% |
7.3.28 | 10.000 | 0.000207 | 100% |
7.3.27 | 10.000 | 0.000268 | 100% |
7.3.24 | 10.000 | 0.000171 | 100% |
7.3.23 | 10.000 | 0.000224 | 100% |
7.3.22 | 10.000 | 0.000194 | 100% |
7.3.19 | 10.000 | 0.000222 | 100% |
7.3.18 | 10.000 | 0.000190 | 100% |
7.3.17 | 10.000 | 0.000194 | 100% |
7.3.16 | 10.000 | 0.000191 | 100% |
7.3.15 | 10.000 | 0.000212 | 100% |
7.3.14 | 10.000 | 0.000266 | 100% |
7.3.13 | 10.000 | 0.000251 | 100% |
7.3.12 | 10.000 | 0.000238 | 100% |
7.3.11 | 10.000 | 0.000145 | 100% |
7.3.9 | 10.000 | 0.000171 | 100% |
7.3.8 | 10.000 | 0.000181 | 100% |
7.2.34 | 10.000 | 0.000220 | 100% |
7.2.33 | 10.000 | 0.000177 | 100% |
7.2.31 | 10.000 | 0.000259 | 100% |
7.2.30 | 10.000 | 0.000226 | 100% |
7.2.29 | 10.000 | 0.000209 | 100% |
7.2.28 | 10.000 | 0.000186 | 100% |
7.2.27 | 10.000 | 0.000263 | 100% |
7.2.26 | 10.000 | 0.000240 | 100% |
7.2.25 | 10.000 | 0.000210 | 100% |
7.2.24 | 10.000 | 0.000169 | 100% |
7.2.22 | 10.000 | 0.000170 | 100% |
7.2.21 | 10.000 | 0.000174 | 100% |
7.1.33 | 10.000 | 0.000314 | 100% |
7.1.32 | 10.000 | 0.000237 | 100% |
7.1.31 | 10.000 | 0.000229 | 100% |
7.1.0 | 10.000 | 0.000964 | 100% |
7.0.33 | 10.000 | 0.000243 | 100% |
7.0.7 | 10.000 | 0.001018 | 100% |
5.6.40 | 10.000 | 0.001203 | +101% |
5.6.22 | 10.000 | 0.005358 | 100% |
5.5.36 | 10.000 | 0.005303 | 100% |
5.4.45 | 10.000 | 0.005004 | 100% |
5.3.29 | 10.000 | 0.004534 | 100% |