Check if multiple elements exists into array with isset
<?php
$values = array_flip($this->getRange($loop));
$this->start($loop);
for ($i = 0; $i < $this->loop; ++$i) {
$value = isset($values[$i], $values[$i - 1], $values[$i + 1]);
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.10 | 100.000 | 0.004867 | +298% |
8.3.9 | 100.000 | 0.004918 | +301% |
7.3.33 | 100.000 | 0.002864 | +175% |
7.3.31 | 100.000 | 0.002040 | +125% |
7.3.30 | 100.000 | 0.002049 | +125% |
7.3.29 | 100.000 | 0.002255 | +138% |
7.3.28 | 100.000 | 0.002025 | +124% |
7.3.27 | 100.000 | 0.002674 | +164% |
7.3.24 | 100.000 | 0.002185 | +134% |
7.3.23 | 100.000 | 0.002153 | +132% |
7.3.22 | 100.000 | 0.002418 | +148% |
7.3.19 | 100.000 | 0.002283 | +140% |
7.3.18 | 100.000 | 0.002159 | +132% |
7.3.17 | 100.000 | 0.002031 | +124% |
7.3.16 | 100.000 | 0.001938 | +119% |
7.3.15 | 100.000 | 0.001947 | +119% |
7.3.14 | 100.000 | 0.002138 | +131% |
7.3.13 | 100.000 | 0.002205 | +135% |
7.3.12 | 100.000 | 0.001819 | +111% |
7.3.11 | 100.000 | 0.002493 | +153% |
7.3.9 | 100.000 | 0.002778 | +170% |
7.3.8 | 100.000 | 0.002738 | +168% |
7.2.30 | 100.000 | 0.002487 | +152% |
8.3.10 | 10.000 | 0.000902 | +328% |
7.2.34 | 100.000 | 0.002919 | +179% |
7.2.33 | 100.000 | 0.002456 | +150% |
7.2.31 | 100.000 | 0.002566 | +157% |
7.2.29 | 100.000 | 0.002269 | +139% |
7.2.28 | 100.000 | 0.002363 | +145% |
7.2.27 | 100.000 | 0.002407 | +147% |
7.2.26 | 100.000 | 0.002461 | +151% |
7.2.25 | 100.000 | 0.002245 | +137% |
7.2.24 | 100.000 | 0.002492 | +152% |
7.2.22 | 100.000 | 0.003245 | +199% |
7.2.21 | 100.000 | 0.003302 | +202% |
7.1.33 | 100.000 | 0.004179 | +256% |
7.1.32 | 100.000 | 0.006443 | +394% |
7.1.31 | 100.000 | 0.006212 | +380% |
7.1.0 | 100.000 | 0.025811 | +1579% |
7.0.33 | 100.000 | 0.003557 | +218% |
7.0.7 | 100.000 | 0.024610 | +1506% |
5.6.40 | 100.000 | 0.007597 | +465% |
5.6.22 | 100.000 | 0.043023 | +2632% |
5.5.36 | 100.000 | 0.044183 | +2703% |
5.4.45 | 100.000 | 0.043394 | +2655% |
5.3.29 | 100.000 | 0.054401 | +3328% |
8.3.9 | 10.000 | 0.000922 | +336% |
8.0.30 | 100.000 | 0.003799 | +232% |
8.0.29 | 100.000 | 0.002747 | +168% |
8.0.28 | 100.000 | 0.002610 | +160% |
8.0.27 | 100.000 | 0.002911 | +178% |
8.0.26 | 100.000 | 0.003005 | +184% |
8.0.25 | 100.000 | 0.003122 | +191% |
8.0.24 | 100.000 | 0.002611 | +160% |
8.0.23 | 100.000 | 0.003089 | +189% |
8.0.20 | 10.000 | 0.000405 | +147% |
8.0.20 | 100.000 | 0.002932 | +179% |
8.0.19 | 10.000 | 0.000572 | +208% |
8.0.19 | 100.000 | 0.002767 | +169% |
8.0.17 | 10.000 | 0.000511 | +186% |
8.0.17 | 100.000 | 0.002609 | +160% |
8.0.16 | 10.000 | 0.000540 | +197% |
8.0.16 | 100.000 | 0.002829 | +173% |
8.0.14 | 10.000 | 0.000567 | +206% |
8.0.14 | 100.000 | 0.002916 | +178% |
8.0.11 | 100.000 | 0.002719 | +166% |
8.0.10 | 100.000 | 0.002730 | +167% |
8.0.9 | 100.000 | 0.002551 | +156% |
8.0.8 | 100.000 | 0.002410 | +147% |
8.0.7 | 100.000 | 0.003084 | +189% |
8.0.3 | 100.000 | 0.003258 | +199% |
8.0.2 | 100.000 | 0.004231 | +259% |
8.0.0 | 100.000 | 0.002852 | +174% |
7.4.33 | 100.000 | 0.002263 | +138% |
7.4.32 | 100.000 | 0.001758 | +108% |
7.4.30 | 100.000 | 0.001774 | +109% |
7.4.28 | 100.000 | 0.001748 | +107% |
7.4.27 | 100.000 | 0.001762 | +108% |
7.4.24 | 100.000 | 0.001678 | +103% |
7.4.23 | 100.000 | 0.001647 | +101% |
7.4.22 | 100.000 | 0.001689 | +103% |
8.0.11 | 10.000 | 0.000524 | +191% |
8.0.10 | 10.000 | 0.000473 | +172% |
8.0.0 | 10.000 | 0.000548 | +200% |
7.4.29 | 100.000 | 0.001867 | +114% |
7.4.21 | 10.000 | 0.000381 | +138% |
7.4.21 | 100.000 | 0.001662 | +102% |
7.4.20 | 10.000 | 0.000313 | +114% |
7.4.20 | 100.000 | 0.001875 | +115% |
7.4.16 | 100.000 | 0.002098 | +128% |
7.4.15 | 100.000 | 0.002712 | +166% |
7.4.33 | 10.000 | 0.000352 | +128% |
7.4.32 | 10.000 | 0.000298 | +108% |
7.4.30 | 10.000 | 0.000307 | +112% |
7.4.29 | 10.000 | 0.000433 | +157% |
7.4.24 | 10.000 | 0.000321 | +117% |
7.4.23 | 10.000 | 0.000323 | +118% |
7.4.22 | 10.000 | 0.000301 | +109% |
7.4.13 | 100.000 | 0.001743 | +107% |
7.4.12 | 100.000 | 0.002181 | +133% |
7.4.11 | 100.000 | 0.001986 | +122% |
7.4.10 | 100.000 | 0.001663 | +102% |
8.0.2 | 10.000 | 0.000680 | +247% |
7.4.0 | 100.000 | 0.002087 | +128% |
8.0.30 | 10.000 | 0.000625 | +227% |
8.0.29 | 10.000 | 0.000379 | +138% |
8.0.28 | 10.000 | 0.000390 | +142% |
8.0.27 | 10.000 | 0.000469 | +171% |
8.0.26 | 10.000 | 0.000443 | +161% |
8.0.25 | 10.000 | 0.000487 | +177% |
8.0.24 | 10.000 | 0.000385 | +140% |
8.0.23 | 10.000 | 0.000403 | +147% |
8.0.9 | 10.000 | 0.000452 | +165% |
8.0.8 | 10.000 | 0.000443 | +161% |
8.0.7 | 10.000 | 0.000500 | +182% |
8.0.3 | 10.000 | 0.000576 | +210% |
7.4.28 | 10.000 | 0.000322 | +117% |
7.4.27 | 10.000 | 0.000348 | +127% |
7.4.16 | 10.000 | 0.000405 | +147% |
7.4.15 | 10.000 | 0.000449 | +163% |
7.4.13 | 10.000 | 0.000296 | +108% |
7.4.12 | 10.000 | 0.000275 | 100% |
7.4.11 | 10.000 | 0.000322 | +117% |
7.4.10 | 10.000 | 0.000296 | +108% |
7.4.7 | 10.000 | 0.000332 | +121% |
7.4.7 | 100.000 | 0.001716 | +105% |
7.4.6 | 10.000 | 0.000304 | +111% |
7.4.6 | 100.000 | 0.001700 | +104% |
7.4.5 | 10.000 | 0.000288 | +105% |
7.4.5 | 100.000 | 0.001651 | +101% |
7.4.4 | 10.000 | 0.000278 | +101% |
7.4.4 | 100.000 | 0.001716 | +105% |
7.4.3 | 10.000 | 0.000282 | +103% |
7.4.3 | 100.000 | 0.001634 | 100% |
7.4.1 | 100.000 | 0.001759 | +108% |
7.4.2 | 10.000 | 0.000375 | +136% |
7.4.2 | 100.000 | 0.001674 | +102% |
7.4.1 | 10.000 | 0.000363 | +132% |
7.4.0 | 10.000 | 0.000293 | +107% |
7.3.33 | 10.000 | 0.000483 | +176% |
7.3.31 | 10.000 | 0.000407 | +148% |
7.3.30 | 10.000 | 0.000405 | +147% |
7.3.29 | 10.000 | 0.000400 | +145% |
7.3.28 | 10.000 | 0.000430 | +156% |
7.3.27 | 10.000 | 0.000485 | +176% |
7.3.24 | 10.000 | 0.000316 | +115% |
7.3.23 | 10.000 | 0.000380 | +138% |
7.3.22 | 10.000 | 0.000407 | +148% |
7.3.19 | 10.000 | 0.000419 | +152% |
7.3.18 | 10.000 | 0.000356 | +130% |
7.3.17 | 10.000 | 0.000330 | +120% |
7.3.16 | 10.000 | 0.000348 | +127% |
7.3.15 | 10.000 | 0.000295 | +107% |
7.3.14 | 10.000 | 0.000403 | +147% |
7.3.13 | 10.000 | 0.000396 | +144% |
7.3.12 | 10.000 | 0.000325 | +118% |
7.3.11 | 10.000 | 0.000317 | +115% |
7.3.9 | 10.000 | 0.000363 | +132% |
7.3.8 | 10.000 | 0.000315 | +115% |
7.2.34 | 10.000 | 0.000489 | +178% |
7.2.33 | 10.000 | 0.000451 | +164% |
7.2.31 | 10.000 | 0.000451 | +164% |
7.2.30 | 10.000 | 0.000436 | +159% |
7.2.29 | 10.000 | 0.000435 | +158% |
7.2.28 | 10.000 | 0.000407 | +148% |
7.2.27 | 10.000 | 0.000542 | +197% |
7.2.26 | 10.000 | 0.000497 | +181% |
7.2.25 | 10.000 | 0.000409 | +149% |
7.2.24 | 10.000 | 0.000358 | +130% |
7.2.22 | 10.000 | 0.000364 | +132% |
7.2.21 | 10.000 | 0.000378 | +138% |
7.1.33 | 10.000 | 0.000714 | +260% |
7.1.32 | 10.000 | 0.000828 | +301% |
7.1.31 | 10.000 | 0.000702 | +255% |
7.1.0 | 10.000 | 0.002730 | +994% |
7.0.33 | 10.000 | 0.000606 | +221% |
7.0.7 | 10.000 | 0.002621 | +954% |
5.6.40 | 10.000 | 0.000996 | +363% |
5.6.22 | 10.000 | 0.004511 | +1641% |
5.5.36 | 10.000 | 0.004618 | +1681% |
5.4.45 | 10.000 | 0.004639 | +1688% |
5.3.29 | 10.000 | 0.005687 | +2069% |