Create a if without brackets
<?php
$this->start($loop);
$value = 0;
for ($i = 0; $i < $this->loop; ++$i) {
if ($value === $i)
$value = $i;
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.006883 | +311% |
8.3.10 | 100.000 | 0.005943 | +268% |
8.3.9 | 100.000 | 0.006175 | +279% |
7.3.33 | 100.000 | 0.004157 | +188% |
7.3.31 | 100.000 | 0.003058 | +138% |
7.3.30 | 100.000 | 0.003141 | +142% |
7.3.29 | 100.000 | 0.003091 | +140% |
7.3.28 | 100.000 | 0.003397 | +153% |
7.3.27 | 100.000 | 0.004242 | +192% |
7.3.24 | 100.000 | 0.002607 | +118% |
7.3.23 | 100.000 | 0.002822 | +127% |
7.3.22 | 100.000 | 0.003267 | +148% |
7.3.19 | 100.000 | 0.002934 | +133% |
7.3.18 | 100.000 | 0.003052 | +138% |
7.3.17 | 100.000 | 0.003177 | +144% |
7.3.16 | 100.000 | 0.003367 | +152% |
7.3.15 | 100.000 | 0.003074 | +139% |
7.3.14 | 100.000 | 0.003746 | +169% |
7.3.13 | 100.000 | 0.003982 | +180% |
7.3.12 | 100.000 | 0.003773 | +170% |
7.3.11 | 100.000 | 0.002731 | +123% |
7.3.9 | 100.000 | 0.002720 | +123% |
7.3.8 | 100.000 | 0.002499 | +113% |
7.2.29 | 100.000 | 0.003753 | +170% |
8.3.13 | 10.000 | 0.000755 | +326% |
7.2.34 | 100.000 | 0.004135 | +187% |
7.2.33 | 100.000 | 0.003266 | +148% |
7.2.31 | 100.000 | 0.003542 | +160% |
7.2.30 | 100.000 | 0.004083 | +184% |
8.3.10 | 10.000 | 0.000679 | +293% |
7.2.28 | 100.000 | 0.003180 | +144% |
7.2.27 | 100.000 | 0.004323 | +195% |
7.2.26 | 100.000 | 0.004644 | +210% |
7.2.25 | 100.000 | 0.003607 | +163% |
7.2.24 | 100.000 | 0.003011 | +136% |
7.2.22 | 100.000 | 0.003195 | +144% |
7.2.21 | 100.000 | 0.002800 | +126% |
7.1.33 | 100.000 | 0.004365 | +197% |
7.1.32 | 100.000 | 0.003429 | +155% |
7.1.31 | 100.000 | 0.003349 | +151% |
7.1.0 | 100.000 | 0.016625 | +751% |
7.0.33 | 100.000 | 0.004231 | +191% |
7.0.7 | 100.000 | 0.016048 | +725% |
5.6.40 | 100.000 | 0.008546 | +386% |
5.6.22 | 100.000 | 0.026758 | +1209% |
5.5.36 | 100.000 | 0.028499 | +1287% |
5.4.45 | 100.000 | 0.029870 | +1349% |
5.3.29 | 100.000 | 0.040277 | +1819% |
8.3.9 | 10.000 | 0.000813 | +351% |
8.0.30 | 100.000 | 0.004181 | +189% |
8.0.29 | 100.000 | 0.002415 | +109% |
8.0.28 | 100.000 | 0.002922 | +132% |
8.0.27 | 100.000 | 0.003316 | +150% |
8.0.26 | 100.000 | 0.002729 | +123% |
8.0.25 | 100.000 | 0.003216 | +145% |
8.0.24 | 100.000 | 0.003435 | +155% |
8.0.23 | 100.000 | 0.003363 | +152% |
8.0.20 | 10.000 | 0.000248 | +107% |
8.0.20 | 100.000 | 0.002371 | +107% |
8.0.19 | 10.000 | 0.000386 | +166% |
8.0.19 | 100.000 | 0.003742 | +169% |
8.0.17 | 10.000 | 0.000344 | +148% |
8.0.17 | 100.000 | 0.003086 | +139% |
8.0.16 | 10.000 | 0.000342 | +148% |
8.0.16 | 100.000 | 0.002841 | +128% |
8.0.14 | 10.000 | 0.000302 | +130% |
8.0.14 | 100.000 | 0.003075 | +139% |
8.0.11 | 100.000 | 0.002762 | +125% |
8.0.10 | 100.000 | 0.002517 | +114% |
8.0.9 | 100.000 | 0.002492 | +113% |
8.0.8 | 100.000 | 0.002341 | +106% |
8.0.7 | 100.000 | 0.003229 | +146% |
8.0.3 | 100.000 | 0.003226 | +146% |
8.0.2 | 100.000 | 0.003719 | +168% |
8.0.0 | 100.000 | 0.002490 | +112% |
7.4.33 | 100.000 | 0.003972 | +179% |
7.4.32 | 100.000 | 0.003210 | +145% |
7.4.30 | 100.000 | 0.002874 | +130% |
7.4.28 | 100.000 | 0.003229 | +146% |
7.4.27 | 100.000 | 0.003172 | +143% |
7.4.24 | 100.000 | 0.002672 | +121% |
7.4.23 | 100.000 | 0.003054 | +138% |
7.4.22 | 100.000 | 0.002214 | 100% |
8.0.11 | 10.000 | 0.000301 | +130% |
8.0.10 | 10.000 | 0.000317 | +137% |
8.0.0 | 10.000 | 0.000234 | +101% |
7.4.29 | 100.000 | 0.003867 | +175% |
7.4.21 | 10.000 | 0.000326 | +141% |
7.4.21 | 100.000 | 0.002791 | +126% |
7.4.20 | 10.000 | 0.000334 | +144% |
7.4.20 | 100.000 | 0.003132 | +141% |
7.4.16 | 100.000 | 0.003676 | +166% |
7.4.15 | 100.000 | 0.003918 | +177% |
7.4.33 | 10.000 | 0.000439 | +189% |
7.4.32 | 10.000 | 0.000323 | +139% |
7.4.30 | 10.000 | 0.000312 | +134% |
7.4.29 | 10.000 | 0.000453 | +195% |
7.4.24 | 10.000 | 0.000263 | +113% |
7.4.23 | 10.000 | 0.000277 | +119% |
7.4.22 | 10.000 | 0.000232 | 100% |
7.4.13 | 100.000 | 0.002738 | +124% |
7.4.12 | 100.000 | 0.002659 | +120% |
7.4.11 | 100.000 | 0.003040 | +137% |
7.4.10 | 100.000 | 0.002769 | +125% |
8.0.2 | 10.000 | 0.000431 | +186% |
7.4.0 | 100.000 | 0.002632 | +119% |
8.0.30 | 10.000 | 0.000490 | +211% |
8.0.29 | 10.000 | 0.000248 | +107% |
8.0.28 | 10.000 | 0.000290 | +125% |
8.0.27 | 10.000 | 0.000382 | +165% |
8.0.26 | 10.000 | 0.000304 | +131% |
8.0.25 | 10.000 | 0.000321 | +138% |
8.0.24 | 10.000 | 0.000309 | +133% |
8.0.23 | 10.000 | 0.000277 | +120% |
8.0.9 | 10.000 | 0.000306 | +132% |
8.0.8 | 10.000 | 0.000288 | +124% |
8.0.7 | 10.000 | 0.000329 | +142% |
8.0.3 | 10.000 | 0.000344 | +148% |
7.4.28 | 10.000 | 0.000376 | +162% |
7.4.27 | 10.000 | 0.000353 | +152% |
7.4.16 | 10.000 | 0.000402 | +173% |
7.4.15 | 10.000 | 0.000354 | +153% |
7.4.13 | 10.000 | 0.000267 | +115% |
7.4.12 | 10.000 | 0.000277 | +120% |
7.4.11 | 10.000 | 0.000355 | +153% |
7.4.10 | 10.000 | 0.000331 | +143% |
7.4.7 | 10.000 | 0.000291 | +126% |
7.4.7 | 100.000 | 0.002753 | +124% |
7.4.6 | 10.000 | 0.000326 | +140% |
7.4.6 | 100.000 | 0.002754 | +124% |
7.4.5 | 10.000 | 0.000300 | +129% |
7.4.5 | 100.000 | 0.002606 | +118% |
7.4.4 | 10.000 | 0.000267 | +115% |
7.4.4 | 100.000 | 0.002760 | +125% |
7.4.3 | 10.000 | 0.000340 | +147% |
7.4.3 | 100.000 | 0.003016 | +136% |
7.4.1 | 100.000 | 0.003828 | +173% |
7.4.2 | 10.000 | 0.000402 | +173% |
7.4.2 | 100.000 | 0.003950 | +178% |
7.4.1 | 10.000 | 0.000422 | +182% |
7.4.0 | 10.000 | 0.000269 | +116% |
7.3.33 | 10.000 | 0.000457 | +197% |
7.3.31 | 10.000 | 0.000362 | +156% |
7.3.30 | 10.000 | 0.000319 | +138% |
7.3.29 | 10.000 | 0.000348 | +150% |
7.3.28 | 10.000 | 0.000348 | +150% |
7.3.27 | 10.000 | 0.000421 | +182% |
7.3.24 | 10.000 | 0.000308 | +133% |
7.3.23 | 10.000 | 0.000351 | +152% |
7.3.22 | 10.000 | 0.000313 | +135% |
7.3.19 | 10.000 | 0.000332 | +143% |
7.3.18 | 10.000 | 0.000305 | +132% |
7.3.17 | 10.000 | 0.000347 | +150% |
7.3.16 | 10.000 | 0.000328 | +141% |
7.3.15 | 10.000 | 0.000390 | +168% |
7.3.14 | 10.000 | 0.000460 | +199% |
7.3.13 | 10.000 | 0.000433 | +187% |
7.3.12 | 10.000 | 0.000350 | +151% |
7.3.11 | 10.000 | 0.000284 | +123% |
7.3.9 | 10.000 | 0.000335 | +145% |
7.3.8 | 10.000 | 0.000268 | +115% |
7.2.34 | 10.000 | 0.000464 | +200% |
7.2.33 | 10.000 | 0.000283 | +122% |
7.2.31 | 10.000 | 0.000344 | +148% |
7.2.30 | 10.000 | 0.000463 | +200% |
7.2.29 | 10.000 | 0.000416 | +180% |
7.2.28 | 10.000 | 0.000355 | +153% |
7.2.27 | 10.000 | 0.000456 | +197% |
7.2.26 | 10.000 | 0.000493 | +213% |
7.2.25 | 10.000 | 0.000395 | +170% |
7.2.24 | 10.000 | 0.000302 | +130% |
7.2.22 | 10.000 | 0.000394 | +170% |
7.2.21 | 10.000 | 0.000289 | +124% |
7.1.33 | 10.000 | 0.000467 | +202% |
7.1.32 | 10.000 | 0.000358 | +154% |
7.1.31 | 10.000 | 0.000329 | +142% |
7.1.0 | 10.000 | 0.001728 | +745% |
7.0.33 | 10.000 | 0.000460 | +199% |
7.0.7 | 10.000 | 0.001647 | +711% |
5.6.40 | 10.000 | 0.000941 | +406% |
5.6.22 | 10.000 | 0.002776 | +1197% |
5.5.36 | 10.000 | 0.002974 | +1283% |
5.4.45 | 10.000 | 0.003082 | +1329% |
5.3.29 | 10.000 | 0.004189 | +1807% |