IfNestedTest

Create a double if (nested)


<?php 

$this
->start($loop);

$value1 true;
$value2 false;

for (
$i 0$i $this->loop; ++$i) {
    if (
$value1 === true) {
        if (
$value2 === true) {
            
$value $i;
        }
    }
}

return 
$this->end();
PHP Loops Seconds Percent
8.0.30 10.000 0.000366 +299%
8.0.30 100.000 0.003273 +294%
8.0.9 100.000 0.001958 +176%
8.0.8 100.000 0.002441 +219%
7.3.13 100.000 0.002402 +216%
7.3.12 100.000 0.002149 +193%
7.3.11 100.000 0.001673 +150%
7.2.34 100.000 0.002646 +237%
7.2.33 100.000 0.001894 +170%
7.2.31 100.000 0.002195 +197%
7.2.30 100.000 0.002258 +203%
7.2.29 100.000 0.002135 +192%
7.2.28 100.000 0.002161 +194%
7.2.27 100.000 0.002516 +226%
7.2.26 100.000 0.002702 +243%
7.2.25 100.000 0.002399 +215%
7.2.24 100.000 0.001946 +175%
7.2.22 100.000 0.002026 +182%
7.2.21 100.000 0.001838 +165%
7.1.33 100.000 0.004356 +391%
7.1.32 100.000 0.003444 +309%
7.1.31 100.000 0.003195 +287%
7.1.0 100.000 0.016823 +1510%
7.0.33 100.000 0.004036 +362%
7.0.7 100.000 0.016010 +1437%
5.6.40 100.000 0.011361 +1020%
5.6.22 100.000 0.039683 +3562%
5.5.36 100.000 0.041591 +3733%
5.4.45 100.000 0.042199 +3788%
5.3.29 100.000 0.240156 +21556%
8.0.29 10.000 0.000183 +150%
8.0.29 100.000 0.001840 +165%
8.0.28 100.000 0.002083 +187%
8.0.27 100.000 0.002566 +230%
8.0.26 100.000 0.002274 +204%
8.0.25 100.000 0.002483 +223%
8.0.24 100.000 0.002585 +232%
8.0.23 100.000 0.002369 +213%
8.0.20 100.000 0.001787 +160%
8.0.19 100.000 0.003097 +278%
8.0.17 100.000 0.002691 +242%
8.0.16 100.000 0.002507 +225%
8.0.14 100.000 0.002628 +236%
8.0.11 10.000 0.000270 +221%
8.0.11 100.000 0.002328 +209%
8.0.10 10.000 0.000246 +201%
8.0.10 100.000 0.002097 +188%
7.3.15 100.000 0.001853 +166%
8.0.28 10.000 0.000215 +176%
8.0.27 10.000 0.000249 +204%
8.0.26 10.000 0.000235 +193%
8.0.25 10.000 0.000244 +200%
8.0.24 10.000 0.000255 +209%
8.0.23 10.000 0.000207 +170%
8.0.20 10.000 0.000186 +152%
8.0.19 10.000 0.000320 +262%
8.0.17 10.000 0.000266 +218%
8.0.16 10.000 0.000248 +203%
8.0.14 10.000 0.000280 +229%
7.3.14 100.000 0.002420 +217%
8.0.9 10.000 0.000205 +168%
8.0.7 100.000 0.002487 +223%
8.0.8 10.000 0.000247 +202%
8.0.3 100.000 0.003014 +271%
8.0.2 100.000 0.002831 +254%
8.0.0 100.000 0.002282 +205%
7.4.33 100.000 0.001678 +151%
8.0.7 10.000 0.000292 +239%
7.4.32 100.000 0.001494 +134%
7.4.30 100.000 0.001393 +125%
7.4.29 100.000 0.001843 +165%
7.4.27 100.000 0.001656 +149%
8.0.3 10.000 0.000311 +254%
7.4.28 100.000 0.001745 +157%
7.4.24 100.000 0.001546 +139%
7.4.7 100.000 0.001486 +133%
7.4.6 100.000 0.001682 +151%
7.4.5 100.000 0.001702 +153%
7.4.4 100.000 0.001163 +104%
8.0.2 10.000 0.000329 +269%
8.0.0 10.000 0.000233 +191%
7.4.3 100.000 0.001734 +156%
7.4.33 10.000 0.000188 +154%
7.4.32 10.000 0.000154 +126%
7.4.30 10.000 0.000153 +126%
7.4.29 10.000 0.000198 +162%
7.3.17 100.000 0.001716 +154%
7.3.16 100.000 0.001884 +169%
7.4.28 10.000 0.000191 +156%
7.4.23 100.000 0.001413 +127%
7.4.21 100.000 0.001455 +131%
7.4.20 100.000 0.001667 +150%
7.4.24 10.000 0.000165 +135%
7.4.16 100.000 0.001986 +178%
7.4.15 10.000 0.000247 +202%
7.4.15 100.000 0.001976 +177%
7.4.13 100.000 0.001397 +125%
7.4.27 10.000 0.000183 +150%
7.4.23 10.000 0.000160 +131%
7.4.22 10.000 0.000160 +131%
7.4.22 100.000 0.001114 100%
7.4.21 10.000 0.000168 +138%
7.4.20 10.000 0.000183 +150%
7.4.16 10.000 0.000199 +163%
7.4.13 10.000 0.000155 +127%
7.4.12 10.000 0.000122 100%
7.4.12 100.000 0.001195 +107%
7.4.11 100.000 0.002042 +183%
7.4.11 10.000 0.000166 +136%
7.4.10 10.000 0.000168 +138%
7.4.10 100.000 0.001451 +130%
7.4.7 10.000 0.000164 +134%
7.4.6 10.000 0.000161 +132%
7.4.5 10.000 0.000171 +140%
7.4.4 10.000 0.000156 +127%
7.4.2 10.000 0.000183 +150%
7.4.2 100.000 0.001921 +172%
7.4.3 10.000 0.000184 +151%
7.4.1 10.000 0.000231 +189%
7.4.1 100.000 0.002018 +181%
7.4.0 100.000 0.001425 +128%
7.3.33 100.000 0.002699 +242%
7.3.31 100.000 0.001780 +160%
7.3.18 100.000 0.001841 +165%
7.3.33 10.000 0.000293 +240%
7.3.30 100.000 0.001710 +153%
7.4.0 10.000 0.000152 +124%
7.3.31 10.000 0.000193 +158%
7.3.29 10.000 0.000196 +160%
7.3.29 100.000 0.002031 +182%
7.3.28 10.000 0.000198 +162%
7.3.28 100.000 0.002049 +184%
7.3.27 10.000 0.000242 +198%
7.3.27 100.000 0.002346 +211%
7.3.30 10.000 0.000205 +168%
7.3.24 10.000 0.000187 +153%
7.3.24 100.000 0.001542 +138%
7.3.23 10.000 0.000236 +193%
7.3.23 100.000 0.001689 +152%
7.3.22 10.000 0.000196 +160%
7.3.22 100.000 0.002052 +184%
7.3.19 10.000 0.000202 +165%
7.3.19 100.000 0.001836 +165%
7.3.18 10.000 0.000198 +162%
7.3.17 10.000 0.000224 +183%
7.3.9 10.000 0.000189 +154%
7.3.9 100.000 0.001709 +153%
7.3.8 10.000 0.000188 +153%
7.3.8 100.000 0.001709 +153%
7.3.16 10.000 0.000205 +168%
7.3.15 10.000 0.000208 +170%
7.3.14 10.000 0.000232 +190%
7.3.13 10.000 0.000285 +233%
7.3.12 10.000 0.000211 +172%
7.3.11 10.000 0.000211 +172%
7.2.34 10.000 0.000290 +237%
7.2.33 10.000 0.000233 +191%
7.2.31 10.000 0.000214 +175%
7.2.30 10.000 0.000231 +189%
7.2.29 10.000 0.000237 +194%
7.2.28 10.000 0.000251 +205%
7.2.27 10.000 0.000279 +228%
7.2.26 10.000 0.000284 +233%
7.2.25 10.000 0.000240 +196%
7.2.24 10.000 0.000204 +167%
7.2.22 10.000 0.000222 +182%
7.2.21 10.000 0.000192 +157%
7.1.33 10.000 0.000462 +378%
7.1.32 10.000 0.000392 +321%
7.1.31 10.000 0.000338 +276%
7.1.0 10.000 0.001734 +1419%
7.0.33 10.000 0.000432 +353%
7.0.7 10.000 0.001648 +1348%
5.6.40 10.000 0.001264 +1034%
5.6.22 10.000 0.004085 +3342%
5.5.36 10.000 0.004327 +3540%
5.4.45 10.000 0.004385 +3587%
5.3.29 10.000 0.024484 +20030%