Check if element 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]);
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.004643 | +335% |
8.3.10 | 100.000 | 0.003355 | +242% |
8.3.9 | 100.000 | 0.003382 | +244% |
7.3.33 | 100.000 | 0.002484 | +179% |
7.3.31 | 100.000 | 0.001851 | +134% |
7.3.30 | 100.000 | 0.001907 | +138% |
7.3.29 | 100.000 | 0.001965 | +142% |
7.3.28 | 100.000 | 0.001837 | +133% |
7.3.27 | 100.000 | 0.002510 | +181% |
7.3.24 | 100.000 | 0.001818 | +131% |
7.3.23 | 100.000 | 0.001882 | +136% |
7.3.22 | 100.000 | 0.001910 | +138% |
7.3.19 | 100.000 | 0.001864 | +135% |
7.3.18 | 100.000 | 0.001763 | +127% |
7.3.17 | 100.000 | 0.001950 | +141% |
7.3.16 | 100.000 | 0.001710 | +124% |
7.3.15 | 100.000 | 0.001625 | +117% |
7.3.14 | 100.000 | 0.001903 | +138% |
7.3.13 | 100.000 | 0.002059 | +149% |
7.3.12 | 100.000 | 0.001753 | +127% |
7.3.11 | 100.000 | 0.002079 | +150% |
7.3.9 | 100.000 | 0.002513 | +182% |
7.3.8 | 100.000 | 0.002337 | +169% |
7.2.29 | 100.000 | 0.002281 | +165% |
8.3.13 | 10.000 | 0.000654 | +349% |
7.2.34 | 100.000 | 0.002597 | +188% |
7.2.33 | 100.000 | 0.002153 | +156% |
7.2.31 | 100.000 | 0.002169 | +157% |
7.2.30 | 100.000 | 0.002473 | +179% |
8.3.10 | 10.000 | 0.000576 | +307% |
7.2.28 | 100.000 | 0.002220 | +160% |
7.2.27 | 100.000 | 0.002237 | +162% |
7.2.26 | 100.000 | 0.002244 | +162% |
7.2.25 | 100.000 | 0.002300 | +166% |
7.2.24 | 100.000 | 0.002309 | +167% |
7.2.22 | 100.000 | 0.002851 | +206% |
7.2.21 | 100.000 | 0.002930 | +212% |
7.1.33 | 100.000 | 0.003064 | +221% |
7.1.32 | 100.000 | 0.004700 | +340% |
7.1.31 | 100.000 | 0.004630 | +334% |
7.1.0 | 100.000 | 0.017937 | +1296% |
7.0.33 | 100.000 | 0.003030 | +219% |
7.0.7 | 100.000 | 0.017243 | +1246% |
5.6.40 | 100.000 | 0.006472 | +468% |
5.6.22 | 100.000 | 0.032375 | +2339% |
5.5.36 | 100.000 | 0.033067 | +2389% |
5.4.45 | 100.000 | 0.032847 | +2373% |
5.3.29 | 100.000 | 0.044023 | +3180% |
8.3.9 | 10.000 | 0.000643 | +343% |
8.0.30 | 100.000 | 0.002675 | +193% |
8.0.29 | 100.000 | 0.001736 | +125% |
8.0.28 | 100.000 | 0.001766 | +128% |
8.0.27 | 100.000 | 0.002122 | +153% |
8.0.26 | 100.000 | 0.001926 | +139% |
8.0.25 | 100.000 | 0.001937 | +140% |
8.0.24 | 100.000 | 0.001709 | +123% |
8.0.23 | 100.000 | 0.002436 | +176% |
8.0.20 | 10.000 | 0.000281 | +150% |
8.0.20 | 100.000 | 0.001779 | +128% |
8.0.19 | 10.000 | 0.000350 | +187% |
8.0.19 | 100.000 | 0.001758 | +127% |
8.0.17 | 10.000 | 0.000372 | +198% |
8.0.17 | 100.000 | 0.001939 | +140% |
8.0.16 | 10.000 | 0.000331 | +177% |
8.0.16 | 100.000 | 0.001856 | +134% |
8.0.14 | 10.000 | 0.000368 | +196% |
8.0.14 | 100.000 | 0.001948 | +141% |
8.0.11 | 100.000 | 0.001756 | +127% |
8.0.10 | 100.000 | 0.001755 | +127% |
8.0.9 | 100.000 | 0.001523 | +110% |
8.0.8 | 100.000 | 0.001854 | +134% |
8.0.7 | 100.000 | 0.002584 | +187% |
8.0.3 | 100.000 | 0.002247 | +162% |
8.0.2 | 100.000 | 0.002507 | +181% |
8.0.0 | 100.000 | 0.001781 | +129% |
7.4.33 | 100.000 | 0.002161 | +156% |
7.4.32 | 100.000 | 0.001538 | +111% |
7.4.30 | 100.000 | 0.001663 | +120% |
7.4.28 | 100.000 | 0.001616 | +117% |
7.4.27 | 100.000 | 0.001521 | +110% |
7.4.24 | 100.000 | 0.001384 | 100% |
7.4.23 | 100.000 | 0.001533 | +111% |
7.4.22 | 100.000 | 0.001440 | +104% |
8.0.11 | 10.000 | 0.000340 | +181% |
8.0.10 | 10.000 | 0.000298 | +159% |
8.0.0 | 10.000 | 0.000308 | +164% |
7.4.29 | 100.000 | 0.001753 | +127% |
7.4.21 | 10.000 | 0.000241 | +129% |
7.4.21 | 100.000 | 0.001531 | +111% |
7.4.20 | 10.000 | 0.000277 | +148% |
7.4.20 | 100.000 | 0.001604 | +116% |
7.4.16 | 100.000 | 0.001998 | +144% |
7.4.15 | 100.000 | 0.002328 | +168% |
7.4.33 | 10.000 | 0.000333 | +177% |
7.4.32 | 10.000 | 0.000235 | +125% |
7.4.30 | 10.000 | 0.000235 | +125% |
7.4.29 | 10.000 | 0.000358 | +191% |
7.4.24 | 10.000 | 0.000261 | +140% |
7.4.23 | 10.000 | 0.000298 | +159% |
7.4.22 | 10.000 | 0.000256 | +137% |
7.4.13 | 100.000 | 0.001647 | +119% |
7.4.12 | 100.000 | 0.001948 | +141% |
7.4.11 | 100.000 | 0.001599 | +116% |
7.4.10 | 100.000 | 0.001710 | +124% |
8.0.2 | 10.000 | 0.000458 | +244% |
7.4.0 | 100.000 | 0.001762 | +127% |
8.0.30 | 10.000 | 0.000466 | +248% |
8.0.29 | 10.000 | 0.000218 | +116% |
8.0.28 | 10.000 | 0.000241 | +128% |
8.0.27 | 10.000 | 0.000310 | +165% |
8.0.26 | 10.000 | 0.000290 | +155% |
8.0.25 | 10.000 | 0.000287 | +153% |
8.0.24 | 10.000 | 0.000272 | +145% |
8.0.23 | 10.000 | 0.000187 | 100% |
8.0.9 | 10.000 | 0.000302 | +161% |
8.0.8 | 10.000 | 0.000366 | +195% |
8.0.7 | 10.000 | 0.000368 | +196% |
8.0.3 | 10.000 | 0.000448 | +239% |
7.4.28 | 10.000 | 0.000275 | +146% |
7.4.27 | 10.000 | 0.000312 | +167% |
7.4.16 | 10.000 | 0.000371 | +198% |
7.4.15 | 10.000 | 0.000398 | +212% |
7.4.13 | 10.000 | 0.000235 | +125% |
7.4.12 | 10.000 | 0.000259 | +138% |
7.4.11 | 10.000 | 0.000334 | +178% |
7.4.10 | 10.000 | 0.000271 | +145% |
7.4.7 | 10.000 | 0.000286 | +153% |
7.4.7 | 100.000 | 0.001580 | +114% |
7.4.6 | 10.000 | 0.000265 | +141% |
7.4.6 | 100.000 | 0.001644 | +119% |
7.4.5 | 10.000 | 0.000287 | +153% |
7.4.5 | 100.000 | 0.001531 | +111% |
7.4.4 | 10.000 | 0.000235 | +126% |
7.4.4 | 100.000 | 0.001653 | +119% |
7.4.3 | 10.000 | 0.000266 | +142% |
7.4.3 | 100.000 | 0.001469 | +106% |
7.4.1 | 100.000 | 0.001710 | +124% |
7.4.2 | 10.000 | 0.000293 | +157% |
7.4.2 | 100.000 | 0.001517 | +110% |
7.4.1 | 10.000 | 0.000334 | +178% |
7.4.0 | 10.000 | 0.000242 | +129% |
7.3.33 | 10.000 | 0.000398 | +212% |
7.3.31 | 10.000 | 0.000336 | +180% |
7.3.30 | 10.000 | 0.000353 | +188% |
7.3.29 | 10.000 | 0.000320 | +171% |
7.3.28 | 10.000 | 0.000355 | +190% |
7.3.27 | 10.000 | 0.000425 | +227% |
7.3.24 | 10.000 | 0.000290 | +155% |
7.3.23 | 10.000 | 0.000289 | +154% |
7.3.22 | 10.000 | 0.000353 | +189% |
7.3.19 | 10.000 | 0.000325 | +174% |
7.3.18 | 10.000 | 0.000329 | +175% |
7.3.17 | 10.000 | 0.000308 | +164% |
7.3.16 | 10.000 | 0.000299 | +159% |
7.3.15 | 10.000 | 0.000295 | +158% |
7.3.14 | 10.000 | 0.000382 | +204% |
7.3.13 | 10.000 | 0.000385 | +205% |
7.3.12 | 10.000 | 0.000336 | +179% |
7.3.11 | 10.000 | 0.000467 | +249% |
7.3.9 | 10.000 | 0.000305 | +163% |
7.3.8 | 10.000 | 0.000266 | +142% |
7.2.34 | 10.000 | 0.000430 | +229% |
7.2.33 | 10.000 | 0.000389 | +208% |
7.2.31 | 10.000 | 0.000431 | +230% |
7.2.30 | 10.000 | 0.000350 | +187% |
7.2.29 | 10.000 | 0.000343 | +183% |
7.2.28 | 10.000 | 0.000427 | +228% |
7.2.27 | 10.000 | 0.000488 | +260% |
7.2.26 | 10.000 | 0.000482 | +257% |
7.2.25 | 10.000 | 0.000377 | +201% |
7.2.24 | 10.000 | 0.000315 | +168% |
7.2.22 | 10.000 | 0.000345 | +184% |
7.2.21 | 10.000 | 0.000331 | +176% |
7.1.33 | 10.000 | 0.000515 | +275% |
7.1.32 | 10.000 | 0.000574 | +306% |
7.1.31 | 10.000 | 0.000497 | +265% |
7.1.0 | 10.000 | 0.001866 | +996% |
7.0.33 | 10.000 | 0.000502 | +268% |
7.0.7 | 10.000 | 0.001893 | +1010% |
5.6.40 | 10.000 | 0.000851 | +454% |
5.6.22 | 10.000 | 0.003342 | +1783% |
5.5.36 | 10.000 | 0.003512 | +1874% |
5.4.45 | 10.000 | 0.003479 | +1856% |
5.3.29 | 10.000 | 0.004581 | +2444% |