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 | 100% |
8.3.10 | 100.000 | 0.003355 | 100% |
8.3.9 | 100.000 | 0.003382 | 100% |
7.3.33 | 100.000 | 0.002484 | 100% |
7.3.31 | 100.000 | 0.001851 | 100% |
7.3.30 | 100.000 | 0.001907 | 100% |
7.3.29 | 100.000 | 0.001965 | 100% |
7.3.28 | 100.000 | 0.001837 | 100% |
7.3.27 | 100.000 | 0.002510 | 100% |
7.3.24 | 100.000 | 0.001818 | 100% |
7.3.23 | 100.000 | 0.001882 | 100% |
7.3.22 | 100.000 | 0.001910 | 100% |
7.3.19 | 100.000 | 0.001864 | 100% |
7.3.18 | 100.000 | 0.001763 | 100% |
7.3.17 | 100.000 | 0.001950 | 100% |
7.3.16 | 100.000 | 0.001710 | 100% |
7.3.15 | 100.000 | 0.001625 | 100% |
7.3.14 | 100.000 | 0.001903 | 100% |
7.3.13 | 100.000 | 0.002059 | 100% |
7.3.12 | 100.000 | 0.001753 | 100% |
7.3.11 | 100.000 | 0.002079 | 100% |
7.3.9 | 100.000 | 0.002513 | 100% |
7.3.8 | 100.000 | 0.002337 | 100% |
7.2.29 | 100.000 | 0.002281 | +102% |
8.3.13 | 10.000 | 0.000654 | 100% |
7.2.34 | 100.000 | 0.002597 | 100% |
7.2.33 | 100.000 | 0.002153 | +106% |
7.2.31 | 100.000 | 0.002169 | +104% |
7.2.30 | 100.000 | 0.002473 | +113% |
8.3.10 | 10.000 | 0.000576 | 100% |
7.2.28 | 100.000 | 0.002220 | +113% |
7.2.27 | 100.000 | 0.002237 | +110% |
7.2.26 | 100.000 | 0.002244 | +105% |
7.2.25 | 100.000 | 0.002300 | +125% |
7.2.24 | 100.000 | 0.002309 | +106% |
7.2.22 | 100.000 | 0.002851 | +103% |
7.2.21 | 100.000 | 0.002930 | +101% |
7.1.33 | 100.000 | 0.003064 | 100% |
7.1.32 | 100.000 | 0.004700 | +118% |
7.1.31 | 100.000 | 0.004630 | +118% |
7.1.0 | 100.000 | 0.017937 | 100% |
7.0.33 | 100.000 | 0.003030 | 100% |
7.0.7 | 100.000 | 0.017243 | 100% |
5.6.40 | 100.000 | 0.006472 | 100% |
5.6.22 | 100.000 | 0.032375 | 100% |
5.5.36 | 100.000 | 0.033067 | 100% |
5.4.45 | 100.000 | 0.032847 | 100% |
5.3.29 | 100.000 | 0.044023 | 100% |
8.3.9 | 10.000 | 0.000643 | +109% |
8.0.30 | 100.000 | 0.002675 | 100% |
8.0.29 | 100.000 | 0.001736 | 100% |
8.0.28 | 100.000 | 0.001766 | 100% |
8.0.27 | 100.000 | 0.002122 | 100% |
8.0.26 | 100.000 | 0.001926 | 100% |
8.0.25 | 100.000 | 0.001937 | 100% |
8.0.24 | 100.000 | 0.001709 | 100% |
8.0.23 | 100.000 | 0.002436 | +114% |
8.0.20 | 10.000 | 0.000281 | 100% |
8.0.20 | 100.000 | 0.001779 | 100% |
8.0.19 | 10.000 | 0.000350 | 100% |
8.0.19 | 100.000 | 0.001758 | 100% |
8.0.17 | 10.000 | 0.000372 | 100% |
8.0.17 | 100.000 | 0.001939 | 100% |
8.0.16 | 10.000 | 0.000331 | 100% |
8.0.16 | 100.000 | 0.001856 | 100% |
8.0.14 | 10.000 | 0.000368 | 100% |
8.0.14 | 100.000 | 0.001948 | 100% |
8.0.11 | 100.000 | 0.001756 | 100% |
8.0.10 | 100.000 | 0.001755 | 100% |
8.0.9 | 100.000 | 0.001523 | 100% |
8.0.8 | 100.000 | 0.001854 | 100% |
8.0.7 | 100.000 | 0.002584 | +111% |
8.0.3 | 100.000 | 0.002247 | 100% |
8.0.2 | 100.000 | 0.002507 | 100% |
8.0.0 | 100.000 | 0.001781 | 100% |
7.4.33 | 100.000 | 0.002161 | 100% |
7.4.32 | 100.000 | 0.001538 | 100% |
7.4.30 | 100.000 | 0.001663 | +104% |
7.4.28 | 100.000 | 0.001616 | 100% |
7.4.27 | 100.000 | 0.001521 | 100% |
7.4.24 | 100.000 | 0.001384 | 100% |
7.4.23 | 100.000 | 0.001533 | 100% |
7.4.22 | 100.000 | 0.001440 | 100% |
8.0.11 | 10.000 | 0.000340 | 100% |
8.0.10 | 10.000 | 0.000298 | 100% |
8.0.0 | 10.000 | 0.000308 | 100% |
7.4.29 | 100.000 | 0.001753 | 100% |
7.4.21 | 10.000 | 0.000241 | 100% |
7.4.21 | 100.000 | 0.001531 | 100% |
7.4.20 | 10.000 | 0.000277 | 100% |
7.4.20 | 100.000 | 0.001604 | 100% |
7.4.16 | 100.000 | 0.001998 | 100% |
7.4.15 | 100.000 | 0.002328 | 100% |
7.4.33 | 10.000 | 0.000333 | 100% |
7.4.32 | 10.000 | 0.000235 | 100% |
7.4.30 | 10.000 | 0.000235 | 100% |
7.4.29 | 10.000 | 0.000358 | 100% |
7.4.24 | 10.000 | 0.000261 | 100% |
7.4.23 | 10.000 | 0.000298 | 100% |
7.4.22 | 10.000 | 0.000256 | +102% |
7.4.13 | 100.000 | 0.001647 | 100% |
7.4.12 | 100.000 | 0.001948 | 100% |
7.4.11 | 100.000 | 0.001599 | 100% |
7.4.10 | 100.000 | 0.001710 | 100% |
8.0.2 | 10.000 | 0.000458 | 100% |
7.4.0 | 100.000 | 0.001762 | 100% |
8.0.30 | 10.000 | 0.000466 | 100% |
8.0.29 | 10.000 | 0.000218 | 100% |
8.0.28 | 10.000 | 0.000241 | 100% |
8.0.27 | 10.000 | 0.000310 | 100% |
8.0.26 | 10.000 | 0.000290 | 100% |
8.0.25 | 10.000 | 0.000287 | 100% |
8.0.24 | 10.000 | 0.000272 | 100% |
8.0.23 | 10.000 | 0.000187 | 100% |
8.0.9 | 10.000 | 0.000302 | 100% |
8.0.8 | 10.000 | 0.000366 | 100% |
8.0.7 | 10.000 | 0.000368 | 100% |
8.0.3 | 10.000 | 0.000448 | 100% |
7.4.28 | 10.000 | 0.000275 | 100% |
7.4.27 | 10.000 | 0.000312 | 100% |
7.4.16 | 10.000 | 0.000371 | 100% |
7.4.15 | 10.000 | 0.000398 | 100% |
7.4.13 | 10.000 | 0.000235 | 100% |
7.4.12 | 10.000 | 0.000259 | 100% |
7.4.11 | 10.000 | 0.000334 | +111% |
7.4.10 | 10.000 | 0.000271 | 100% |
7.4.7 | 10.000 | 0.000286 | 100% |
7.4.7 | 100.000 | 0.001580 | 100% |
7.4.6 | 10.000 | 0.000265 | 100% |
7.4.6 | 100.000 | 0.001644 | 100% |
7.4.5 | 10.000 | 0.000287 | 100% |
7.4.5 | 100.000 | 0.001531 | 100% |
7.4.4 | 10.000 | 0.000235 | 100% |
7.4.4 | 100.000 | 0.001653 | 100% |
7.4.3 | 10.000 | 0.000266 | 100% |
7.4.3 | 100.000 | 0.001469 | 100% |
7.4.1 | 100.000 | 0.001710 | 100% |
7.4.2 | 10.000 | 0.000293 | 100% |
7.4.2 | 100.000 | 0.001517 | 100% |
7.4.1 | 10.000 | 0.000334 | 100% |
7.4.0 | 10.000 | 0.000242 | 100% |
7.3.33 | 10.000 | 0.000398 | 100% |
7.3.31 | 10.000 | 0.000336 | 100% |
7.3.30 | 10.000 | 0.000353 | 100% |
7.3.29 | 10.000 | 0.000320 | 100% |
7.3.28 | 10.000 | 0.000355 | 100% |
7.3.27 | 10.000 | 0.000425 | 100% |
7.3.24 | 10.000 | 0.000290 | 100% |
7.3.23 | 10.000 | 0.000289 | 100% |
7.3.22 | 10.000 | 0.000353 | 100% |
7.3.19 | 10.000 | 0.000325 | 100% |
7.3.18 | 10.000 | 0.000329 | 100% |
7.3.17 | 10.000 | 0.000308 | 100% |
7.3.16 | 10.000 | 0.000299 | +102% |
7.3.15 | 10.000 | 0.000295 | +101% |
7.3.14 | 10.000 | 0.000382 | 100% |
7.3.13 | 10.000 | 0.000385 | 100% |
7.3.12 | 10.000 | 0.000336 | 100% |
7.3.11 | 10.000 | 0.000467 | +150% |
7.3.9 | 10.000 | 0.000305 | 100% |
7.3.8 | 10.000 | 0.000266 | 100% |
7.2.34 | 10.000 | 0.000430 | 100% |
7.2.33 | 10.000 | 0.000389 | +115% |
7.2.31 | 10.000 | 0.000431 | +115% |
7.2.30 | 10.000 | 0.000350 | 100% |
7.2.29 | 10.000 | 0.000343 | 100% |
7.2.28 | 10.000 | 0.000427 | +112% |
7.2.27 | 10.000 | 0.000488 | +106% |
7.2.26 | 10.000 | 0.000482 | +113% |
7.2.25 | 10.000 | 0.000377 | +119% |
7.2.24 | 10.000 | 0.000315 | +107% |
7.2.22 | 10.000 | 0.000345 | +106% |
7.2.21 | 10.000 | 0.000331 | +103% |
7.1.33 | 10.000 | 0.000515 | 100% |
7.1.32 | 10.000 | 0.000574 | +132% |
7.1.31 | 10.000 | 0.000497 | +121% |
7.1.0 | 10.000 | 0.001866 | 100% |
7.0.33 | 10.000 | 0.000502 | 100% |
7.0.7 | 10.000 | 0.001893 | 100% |
5.6.40 | 10.000 | 0.000851 | 100% |
5.6.22 | 10.000 | 0.003342 | 100% |
5.5.36 | 10.000 | 0.003512 | 100% |
5.4.45 | 10.000 | 0.003479 | 100% |
5.3.29 | 10.000 | 0.004581 | 100% |
Check if element not exists into array with empty
<?php
$values = array_flip($this->getRange($loop));
$this->start($loop);
for ($i = 0; $i < $this->loop; ++$i) {
$value = !empty($values[$i]);
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.004855 | +105% |
8.3.10 | 100.000 | 0.003944 | +118% |
8.3.9 | 100.000 | 0.003864 | +114% |
7.3.33 | 100.000 | 0.002804 | +113% |
7.3.31 | 100.000 | 0.001951 | +105% |
7.3.30 | 100.000 | 0.001946 | +102% |
7.3.29 | 100.000 | 0.002068 | +105% |
7.3.28 | 100.000 | 0.001963 | +107% |
7.3.27 | 100.000 | 0.002560 | +102% |
7.3.24 | 100.000 | 0.002030 | +112% |
7.3.23 | 100.000 | 0.002263 | +120% |
7.3.22 | 100.000 | 0.002117 | +111% |
7.3.19 | 100.000 | 0.002112 | +113% |
7.3.18 | 100.000 | 0.002000 | +113% |
7.3.17 | 100.000 | 0.002095 | +107% |
7.3.16 | 100.000 | 0.001723 | +101% |
7.3.15 | 100.000 | 0.002006 | +123% |
7.3.14 | 100.000 | 0.002224 | +117% |
7.3.13 | 100.000 | 0.002097 | +102% |
7.3.12 | 100.000 | 0.001919 | +109% |
7.3.11 | 100.000 | 0.002101 | +101% |
7.3.9 | 100.000 | 0.002814 | +112% |
7.3.8 | 100.000 | 0.002690 | +115% |
7.2.29 | 100.000 | 0.002247 | 100% |
8.3.13 | 10.000 | 0.000759 | +116% |
7.2.34 | 100.000 | 0.002723 | +105% |
7.2.33 | 100.000 | 0.002027 | 100% |
7.2.31 | 100.000 | 0.002083 | 100% |
7.2.30 | 100.000 | 0.002195 | 100% |
8.3.10 | 10.000 | 0.000707 | +123% |
7.2.28 | 100.000 | 0.001967 | 100% |
7.2.27 | 100.000 | 0.002025 | 100% |
7.2.26 | 100.000 | 0.002128 | 100% |
7.2.25 | 100.000 | 0.001835 | 100% |
7.2.24 | 100.000 | 0.002176 | 100% |
7.2.22 | 100.000 | 0.002762 | 100% |
7.2.21 | 100.000 | 0.002901 | 100% |
7.1.33 | 100.000 | 0.003373 | +110% |
7.1.32 | 100.000 | 0.003968 | 100% |
7.1.31 | 100.000 | 0.003907 | 100% |
7.1.0 | 100.000 | 0.019215 | +107% |
7.0.33 | 100.000 | 0.003388 | +112% |
7.0.7 | 100.000 | 0.019344 | +112% |
5.6.40 | 100.000 | 0.007386 | +114% |
5.6.22 | 100.000 | 0.035755 | +110% |
5.5.36 | 100.000 | 0.039161 | +118% |
5.4.45 | 100.000 | 0.036380 | +111% |
5.3.29 | 100.000 | 0.047019 | +107% |
8.3.9 | 10.000 | 0.000589 | 100% |
8.0.30 | 100.000 | 0.003167 | +118% |
8.0.29 | 100.000 | 0.002313 | +133% |
8.0.28 | 100.000 | 0.002115 | +120% |
8.0.27 | 100.000 | 0.002352 | +111% |
8.0.26 | 100.000 | 0.002272 | +118% |
8.0.25 | 100.000 | 0.002558 | +132% |
8.0.24 | 100.000 | 0.002164 | +127% |
8.0.23 | 100.000 | 0.002141 | 100% |
8.0.20 | 10.000 | 0.000336 | +120% |
8.0.20 | 100.000 | 0.002285 | +128% |
8.0.19 | 10.000 | 0.000451 | +129% |
8.0.19 | 100.000 | 0.002223 | +126% |
8.0.17 | 10.000 | 0.000447 | +120% |
8.0.17 | 100.000 | 0.002436 | +126% |
8.0.16 | 10.000 | 0.000416 | +125% |
8.0.16 | 100.000 | 0.002368 | +128% |
8.0.14 | 10.000 | 0.000472 | +128% |
8.0.14 | 100.000 | 0.002553 | +131% |
8.0.11 | 100.000 | 0.002368 | +135% |
8.0.10 | 100.000 | 0.002077 | +118% |
8.0.9 | 100.000 | 0.002158 | +142% |
8.0.8 | 100.000 | 0.002285 | +123% |
8.0.7 | 100.000 | 0.002320 | 100% |
8.0.3 | 100.000 | 0.003129 | +139% |
8.0.2 | 100.000 | 0.003495 | +139% |
8.0.0 | 100.000 | 0.002396 | +135% |
7.4.33 | 100.000 | 0.002209 | +102% |
7.4.32 | 100.000 | 0.001712 | +111% |
7.4.30 | 100.000 | 0.001596 | 100% |
7.4.28 | 100.000 | 0.001753 | +108% |
7.4.27 | 100.000 | 0.001872 | +123% |
7.4.24 | 100.000 | 0.001613 | +117% |
7.4.23 | 100.000 | 0.001670 | +109% |
7.4.22 | 100.000 | 0.001627 | +113% |
8.0.11 | 10.000 | 0.000406 | +120% |
8.0.10 | 10.000 | 0.000413 | +139% |
8.0.0 | 10.000 | 0.000419 | +136% |
7.4.29 | 100.000 | 0.001854 | +106% |
7.4.21 | 10.000 | 0.000363 | +150% |
7.4.21 | 100.000 | 0.001720 | +112% |
7.4.20 | 10.000 | 0.000338 | +122% |
7.4.20 | 100.000 | 0.001684 | +105% |
7.4.16 | 100.000 | 0.002189 | +110% |
7.4.15 | 100.000 | 0.002412 | +104% |
7.4.33 | 10.000 | 0.000353 | +106% |
7.4.32 | 10.000 | 0.000273 | +116% |
7.4.30 | 10.000 | 0.000258 | +110% |
7.4.29 | 10.000 | 0.000358 | 100% |
7.4.24 | 10.000 | 0.000283 | +108% |
7.4.23 | 10.000 | 0.000324 | +109% |
7.4.22 | 10.000 | 0.000251 | 100% |
7.4.13 | 100.000 | 0.001660 | +101% |
7.4.12 | 100.000 | 0.002002 | +103% |
7.4.11 | 100.000 | 0.001812 | +113% |
7.4.10 | 100.000 | 0.001762 | +103% |
8.0.2 | 10.000 | 0.000575 | +126% |
7.4.0 | 100.000 | 0.002131 | +121% |
8.0.30 | 10.000 | 0.000515 | +111% |
8.0.29 | 10.000 | 0.000257 | +118% |
8.0.28 | 10.000 | 0.000309 | +128% |
8.0.27 | 10.000 | 0.000365 | +118% |
8.0.26 | 10.000 | 0.000342 | +118% |
8.0.25 | 10.000 | 0.000412 | +143% |
8.0.24 | 10.000 | 0.000325 | +119% |
8.0.23 | 10.000 | 0.000338 | +181% |
8.0.9 | 10.000 | 0.000329 | +109% |
8.0.8 | 10.000 | 0.000450 | +123% |
8.0.7 | 10.000 | 0.000443 | +120% |
8.0.3 | 10.000 | 0.000544 | +122% |
7.4.28 | 10.000 | 0.000333 | +121% |
7.4.27 | 10.000 | 0.000385 | +123% |
7.4.16 | 10.000 | 0.000408 | +110% |
7.4.15 | 10.000 | 0.000440 | +111% |
7.4.13 | 10.000 | 0.000319 | +136% |
7.4.12 | 10.000 | 0.000280 | +108% |
7.4.11 | 10.000 | 0.000302 | 100% |
7.4.10 | 10.000 | 0.000304 | +112% |
7.4.7 | 10.000 | 0.000353 | +123% |
7.4.7 | 100.000 | 0.001798 | +114% |
7.4.6 | 10.000 | 0.000327 | +124% |
7.4.6 | 100.000 | 0.001644 | 100% |
7.4.5 | 10.000 | 0.000313 | +109% |
7.4.5 | 100.000 | 0.001637 | +107% |
7.4.4 | 10.000 | 0.000327 | +139% |
7.4.4 | 100.000 | 0.001717 | +104% |
7.4.3 | 10.000 | 0.000295 | +111% |
7.4.3 | 100.000 | 0.001590 | +108% |
7.4.1 | 100.000 | 0.001930 | +113% |
7.4.2 | 10.000 | 0.000417 | +142% |
7.4.2 | 100.000 | 0.001785 | +118% |
7.4.1 | 10.000 | 0.000388 | +116% |
7.4.0 | 10.000 | 0.000271 | +112% |
7.3.33 | 10.000 | 0.000453 | +114% |
7.3.31 | 10.000 | 0.000357 | +106% |
7.3.30 | 10.000 | 0.000371 | +105% |
7.3.29 | 10.000 | 0.000364 | +114% |
7.3.28 | 10.000 | 0.000371 | +104% |
7.3.27 | 10.000 | 0.000467 | +110% |
7.3.24 | 10.000 | 0.000309 | +107% |
7.3.23 | 10.000 | 0.000395 | +137% |
7.3.22 | 10.000 | 0.000356 | +101% |
7.3.19 | 10.000 | 0.000344 | +106% |
7.3.18 | 10.000 | 0.000332 | +101% |
7.3.17 | 10.000 | 0.000348 | +113% |
7.3.16 | 10.000 | 0.000292 | 100% |
7.3.15 | 10.000 | 0.000292 | 100% |
7.3.14 | 10.000 | 0.000437 | +114% |
7.3.13 | 10.000 | 0.000411 | +107% |
7.3.12 | 10.000 | 0.000355 | +106% |
7.3.11 | 10.000 | 0.000310 | 100% |
7.3.9 | 10.000 | 0.000381 | +125% |
7.3.8 | 10.000 | 0.000312 | +117% |
7.2.34 | 10.000 | 0.000433 | +101% |
7.2.33 | 10.000 | 0.000338 | 100% |
7.2.31 | 10.000 | 0.000376 | 100% |
7.2.30 | 10.000 | 0.000383 | +109% |
7.2.29 | 10.000 | 0.000342 | 100% |
7.2.28 | 10.000 | 0.000381 | 100% |
7.2.27 | 10.000 | 0.000462 | 100% |
7.2.26 | 10.000 | 0.000427 | 100% |
7.2.25 | 10.000 | 0.000317 | 100% |
7.2.24 | 10.000 | 0.000295 | 100% |
7.2.22 | 10.000 | 0.000327 | 100% |
7.2.21 | 10.000 | 0.000321 | 100% |
7.1.33 | 10.000 | 0.000566 | +110% |
7.1.32 | 10.000 | 0.000434 | 100% |
7.1.31 | 10.000 | 0.000411 | 100% |
7.1.0 | 10.000 | 0.002084 | +112% |
7.0.33 | 10.000 | 0.000574 | +114% |
7.0.7 | 10.000 | 0.002077 | +110% |
5.6.40 | 10.000 | 0.001355 | +159% |
5.6.22 | 10.000 | 0.003735 | +112% |
5.5.36 | 10.000 | 0.004127 | +118% |
5.4.45 | 10.000 | 0.003871 | +111% |
5.3.29 | 10.000 | 0.004872 | +106% |