Check if element 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.004644 | 100% |
8.3.10 | 100.000 | 0.003404 | 100% |
8.3.9 | 100.000 | 0.003157 | 100% |
7.3.33 | 100.000 | 0.002650 | 100% |
7.3.31 | 100.000 | 0.002009 | 100% |
7.3.30 | 100.000 | 0.001908 | 100% |
7.3.29 | 100.000 | 0.002217 | +117% |
7.3.28 | 100.000 | 0.002013 | +109% |
7.3.27 | 100.000 | 0.002522 | +107% |
7.3.24 | 100.000 | 0.001923 | +103% |
7.3.23 | 100.000 | 0.001936 | 100% |
7.3.22 | 100.000 | 0.002106 | +109% |
7.3.19 | 100.000 | 0.002139 | +115% |
7.3.18 | 100.000 | 0.001950 | +114% |
7.3.17 | 100.000 | 0.002142 | +113% |
7.3.16 | 100.000 | 0.001865 | +114% |
7.3.15 | 100.000 | 0.001833 | +108% |
7.3.14 | 100.000 | 0.002023 | +104% |
7.3.13 | 100.000 | 0.002106 | +103% |
7.3.12 | 100.000 | 0.001872 | +102% |
7.3.11 | 100.000 | 0.002102 | +113% |
7.3.9 | 100.000 | 0.002632 | +111% |
7.3.8 | 100.000 | 0.002643 | +114% |
7.2.29 | 100.000 | 0.002070 | 100% |
8.3.13 | 10.000 | 0.001063 | +166% |
7.2.34 | 100.000 | 0.002642 | 100% |
7.2.33 | 100.000 | 0.002077 | 100% |
7.2.31 | 100.000 | 0.002048 | 100% |
7.2.30 | 100.000 | 0.001990 | 100% |
8.3.10 | 10.000 | 0.000618 | 100% |
7.2.28 | 100.000 | 0.002065 | 100% |
7.2.27 | 100.000 | 0.002209 | +103% |
7.2.26 | 100.000 | 0.002242 | 100% |
7.2.25 | 100.000 | 0.001849 | 100% |
7.2.24 | 100.000 | 0.002228 | 100% |
7.2.22 | 100.000 | 0.002559 | 100% |
7.2.21 | 100.000 | 0.002834 | 100% |
7.1.33 | 100.000 | 0.002988 | 100% |
7.1.32 | 100.000 | 0.003632 | 100% |
7.1.31 | 100.000 | 0.003543 | 100% |
7.1.0 | 100.000 | 0.017757 | 100% |
7.0.33 | 100.000 | 0.002996 | 100% |
7.0.7 | 100.000 | 0.017472 | 100% |
5.6.40 | 100.000 | 0.006705 | 100% |
5.6.22 | 100.000 | 0.032237 | 100% |
5.5.36 | 100.000 | 0.033367 | 100% |
5.4.45 | 100.000 | 0.031692 | 100% |
5.3.29 | 100.000 | 0.047621 | +101% |
8.3.9 | 10.000 | 0.000626 | 100% |
8.0.30 | 100.000 | 0.002913 | 100% |
8.0.29 | 100.000 | 0.002009 | 100% |
8.0.28 | 100.000 | 0.001923 | 100% |
8.0.27 | 100.000 | 0.001992 | 100% |
8.0.26 | 100.000 | 0.002208 | 100% |
8.0.25 | 100.000 | 0.002173 | 100% |
8.0.24 | 100.000 | 0.001834 | 100% |
8.0.23 | 100.000 | 0.001830 | 100% |
8.0.20 | 10.000 | 0.000242 | 100% |
8.0.20 | 100.000 | 0.001787 | 100% |
8.0.19 | 10.000 | 0.000504 | +125% |
8.0.19 | 100.000 | 0.001898 | 100% |
8.0.17 | 10.000 | 0.000379 | +109% |
8.0.17 | 100.000 | 0.002263 | +108% |
8.0.16 | 10.000 | 0.000398 | +117% |
8.0.16 | 100.000 | 0.002107 | 100% |
8.0.14 | 10.000 | 0.000416 | +106% |
8.0.14 | 100.000 | 0.002733 | +111% |
8.0.11 | 100.000 | 0.002057 | +102% |
8.0.10 | 100.000 | 0.002049 | +105% |
8.0.9 | 100.000 | 0.001817 | 100% |
8.0.8 | 100.000 | 0.002276 | +102% |
8.0.7 | 100.000 | 0.001926 | 100% |
8.0.3 | 100.000 | 0.002460 | 100% |
8.0.2 | 100.000 | 0.002777 | 100% |
8.0.0 | 100.000 | 0.002072 | 100% |
7.4.33 | 100.000 | 0.002228 | +104% |
7.4.32 | 100.000 | 0.001698 | +106% |
7.4.30 | 100.000 | 0.001580 | 100% |
7.4.28 | 100.000 | 0.001740 | 100% |
7.4.27 | 100.000 | 0.001896 | +119% |
7.4.24 | 100.000 | 0.001712 | +115% |
7.4.23 | 100.000 | 0.001727 | +116% |
7.4.22 | 100.000 | 0.001718 | +113% |
8.0.11 | 10.000 | 0.000394 | +106% |
8.0.10 | 10.000 | 0.000394 | 100% |
8.0.0 | 10.000 | 0.000350 | 100% |
7.4.29 | 100.000 | 0.001648 | 100% |
7.4.21 | 10.000 | 0.000337 | 100% |
7.4.21 | 100.000 | 0.001786 | +110% |
7.4.20 | 10.000 | 0.000308 | +103% |
7.4.20 | 100.000 | 0.001824 | +120% |
7.4.16 | 100.000 | 0.002078 | 100% |
7.4.15 | 100.000 | 0.002377 | +102% |
7.4.33 | 10.000 | 0.000364 | +109% |
7.4.32 | 10.000 | 0.000283 | +131% |
7.4.30 | 10.000 | 0.000238 | +102% |
7.4.29 | 10.000 | 0.000316 | 100% |
7.4.24 | 10.000 | 0.000317 | +120% |
7.4.23 | 10.000 | 0.000337 | +115% |
7.4.22 | 10.000 | 0.000281 | +110% |
7.4.13 | 100.000 | 0.001765 | +111% |
7.4.12 | 100.000 | 0.001987 | 100% |
7.4.11 | 100.000 | 0.001775 | 100% |
7.4.10 | 100.000 | 0.001733 | +102% |
8.0.2 | 10.000 | 0.000543 | +123% |
7.4.0 | 100.000 | 0.001990 | +108% |
8.0.30 | 10.000 | 0.000510 | +107% |
8.0.29 | 10.000 | 0.000245 | +105% |
8.0.28 | 10.000 | 0.000257 | 100% |
8.0.27 | 10.000 | 0.000326 | 100% |
8.0.26 | 10.000 | 0.000283 | 100% |
8.0.25 | 10.000 | 0.000331 | 100% |
8.0.24 | 10.000 | 0.000276 | 100% |
8.0.23 | 10.000 | 0.000245 | 100% |
8.0.9 | 10.000 | 0.000443 | +132% |
8.0.8 | 10.000 | 0.000346 | 100% |
8.0.7 | 10.000 | 0.000388 | 100% |
8.0.3 | 10.000 | 0.000452 | 100% |
7.4.28 | 10.000 | 0.000343 | +125% |
7.4.27 | 10.000 | 0.000319 | +101% |
7.4.16 | 10.000 | 0.000385 | +108% |
7.4.15 | 10.000 | 0.000466 | +108% |
7.4.13 | 10.000 | 0.000296 | 100% |
7.4.12 | 10.000 | 0.000308 | +114% |
7.4.11 | 10.000 | 0.000283 | 100% |
7.4.10 | 10.000 | 0.000304 | +110% |
7.4.7 | 10.000 | 0.000312 | +104% |
7.4.7 | 100.000 | 0.001726 | +101% |
7.4.6 | 10.000 | 0.000288 | 100% |
7.4.6 | 100.000 | 0.001619 | +105% |
7.4.5 | 10.000 | 0.000292 | +103% |
7.4.5 | 100.000 | 0.001713 | +103% |
7.4.4 | 10.000 | 0.000296 | +108% |
7.4.4 | 100.000 | 0.001761 | +120% |
7.4.3 | 10.000 | 0.000282 | +101% |
7.4.3 | 100.000 | 0.001713 | +122% |
7.4.1 | 100.000 | 0.001805 | +110% |
7.4.2 | 10.000 | 0.000408 | +117% |
7.4.2 | 100.000 | 0.001729 | +107% |
7.4.1 | 10.000 | 0.000400 | 100% |
7.4.0 | 10.000 | 0.000273 | +110% |
7.3.33 | 10.000 | 0.000391 | 100% |
7.3.31 | 10.000 | 0.000335 | 100% |
7.3.30 | 10.000 | 0.000355 | +110% |
7.3.29 | 10.000 | 0.000358 | +112% |
7.3.28 | 10.000 | 0.000388 | +117% |
7.3.27 | 10.000 | 0.000464 | +109% |
7.3.24 | 10.000 | 0.000311 | 100% |
7.3.23 | 10.000 | 0.000348 | 100% |
7.3.22 | 10.000 | 0.000339 | +111% |
7.3.19 | 10.000 | 0.000358 | +107% |
7.3.18 | 10.000 | 0.000334 | 100% |
7.3.17 | 10.000 | 0.000406 | +113% |
7.3.16 | 10.000 | 0.000330 | +114% |
7.3.15 | 10.000 | 0.000365 | +105% |
7.3.14 | 10.000 | 0.000460 | +104% |
7.3.13 | 10.000 | 0.000443 | +108% |
7.3.12 | 10.000 | 0.000363 | +107% |
7.3.11 | 10.000 | 0.000334 | +120% |
7.3.9 | 10.000 | 0.000347 | +119% |
7.3.8 | 10.000 | 0.000298 | +101% |
7.2.34 | 10.000 | 0.000420 | 100% |
7.2.33 | 10.000 | 0.000327 | +103% |
7.2.31 | 10.000 | 0.000373 | 100% |
7.2.30 | 10.000 | 0.000400 | 100% |
7.2.29 | 10.000 | 0.000385 | +115% |
7.2.28 | 10.000 | 0.000338 | 100% |
7.2.27 | 10.000 | 0.000478 | 100% |
7.2.26 | 10.000 | 0.000469 | 100% |
7.2.25 | 10.000 | 0.000334 | 100% |
7.2.24 | 10.000 | 0.000322 | 100% |
7.2.22 | 10.000 | 0.000332 | 100% |
7.2.21 | 10.000 | 0.000321 | 100% |
7.1.33 | 10.000 | 0.000512 | 100% |
7.1.32 | 10.000 | 0.000435 | 100% |
7.1.31 | 10.000 | 0.000394 | 100% |
7.1.0 | 10.000 | 0.001888 | 100% |
7.0.33 | 10.000 | 0.000499 | 100% |
7.0.7 | 10.000 | 0.001903 | 100% |
5.6.40 | 10.000 | 0.000931 | 100% |
5.6.22 | 10.000 | 0.003411 | 100% |
5.5.36 | 10.000 | 0.003522 | 100% |
5.4.45 | 10.000 | 0.003435 | 100% |
5.3.29 | 10.000 | 0.005003 | +104% |
Check if element not 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.005072 | +109% |
8.3.10 | 100.000 | 0.003849 | +113% |
8.3.9 | 100.000 | 0.003540 | +112% |
7.3.33 | 100.000 | 0.002704 | +102% |
7.3.31 | 100.000 | 0.002022 | +101% |
7.3.30 | 100.000 | 0.001949 | +102% |
7.3.29 | 100.000 | 0.001889 | 100% |
7.3.28 | 100.000 | 0.001848 | 100% |
7.3.27 | 100.000 | 0.002360 | 100% |
7.3.24 | 100.000 | 0.001865 | 100% |
7.3.23 | 100.000 | 0.002043 | +106% |
7.3.22 | 100.000 | 0.001927 | 100% |
7.3.19 | 100.000 | 0.001856 | 100% |
7.3.18 | 100.000 | 0.001712 | 100% |
7.3.17 | 100.000 | 0.001893 | 100% |
7.3.16 | 100.000 | 0.001631 | 100% |
7.3.15 | 100.000 | 0.001702 | 100% |
7.3.14 | 100.000 | 0.001945 | 100% |
7.3.13 | 100.000 | 0.002042 | 100% |
7.3.12 | 100.000 | 0.001827 | 100% |
7.3.11 | 100.000 | 0.001852 | 100% |
7.3.9 | 100.000 | 0.002376 | 100% |
7.3.8 | 100.000 | 0.002326 | 100% |
7.2.29 | 100.000 | 0.002371 | +115% |
8.3.13 | 10.000 | 0.000641 | 100% |
7.2.34 | 100.000 | 0.002738 | +104% |
7.2.33 | 100.000 | 0.002222 | +107% |
7.2.31 | 100.000 | 0.002148 | +105% |
7.2.30 | 100.000 | 0.002214 | +111% |
8.3.10 | 10.000 | 0.000618 | 100% |
7.2.28 | 100.000 | 0.002102 | +102% |
7.2.27 | 100.000 | 0.002139 | 100% |
7.2.26 | 100.000 | 0.002364 | +105% |
7.2.25 | 100.000 | 0.002020 | +109% |
7.2.24 | 100.000 | 0.002369 | +106% |
7.2.22 | 100.000 | 0.002799 | +109% |
7.2.21 | 100.000 | 0.002970 | +105% |
7.1.33 | 100.000 | 0.003367 | +113% |
7.1.32 | 100.000 | 0.005146 | +142% |
7.1.31 | 100.000 | 0.005157 | +146% |
7.1.0 | 100.000 | 0.019246 | +108% |
7.0.33 | 100.000 | 0.003379 | +113% |
7.0.7 | 100.000 | 0.019189 | +110% |
5.6.40 | 100.000 | 0.007413 | +111% |
5.6.22 | 100.000 | 0.035750 | +111% |
5.5.36 | 100.000 | 0.038841 | +116% |
5.4.45 | 100.000 | 0.036192 | +114% |
5.3.29 | 100.000 | 0.047043 | 100% |
8.3.9 | 10.000 | 0.000729 | +116% |
8.0.30 | 100.000 | 0.002932 | +101% |
8.0.29 | 100.000 | 0.002135 | +106% |
8.0.28 | 100.000 | 0.002024 | +105% |
8.0.27 | 100.000 | 0.002241 | +113% |
8.0.26 | 100.000 | 0.002324 | +105% |
8.0.25 | 100.000 | 0.002378 | +109% |
8.0.24 | 100.000 | 0.001914 | +104% |
8.0.23 | 100.000 | 0.002283 | +125% |
8.0.20 | 10.000 | 0.000295 | +122% |
8.0.20 | 100.000 | 0.002088 | +117% |
8.0.19 | 10.000 | 0.000403 | 100% |
8.0.19 | 100.000 | 0.002079 | +110% |
8.0.17 | 10.000 | 0.000349 | 100% |
8.0.17 | 100.000 | 0.002102 | 100% |
8.0.16 | 10.000 | 0.000341 | 100% |
8.0.16 | 100.000 | 0.002100 | 100% |
8.0.14 | 10.000 | 0.000392 | 100% |
8.0.14 | 100.000 | 0.002467 | 100% |
8.0.11 | 100.000 | 0.002016 | 100% |
8.0.10 | 100.000 | 0.001948 | 100% |
8.0.9 | 100.000 | 0.003368 | +185% |
8.0.8 | 100.000 | 0.002227 | 100% |
8.0.7 | 100.000 | 0.001996 | +104% |
8.0.3 | 100.000 | 0.002488 | +101% |
8.0.2 | 100.000 | 0.002820 | +102% |
8.0.0 | 100.000 | 0.002119 | +102% |
7.4.33 | 100.000 | 0.002149 | 100% |
7.4.32 | 100.000 | 0.001602 | 100% |
7.4.30 | 100.000 | 0.001634 | +103% |
7.4.28 | 100.000 | 0.001768 | +102% |
7.4.27 | 100.000 | 0.001597 | 100% |
7.4.24 | 100.000 | 0.001483 | 100% |
7.4.23 | 100.000 | 0.001483 | 100% |
7.4.22 | 100.000 | 0.001519 | 100% |
8.0.11 | 10.000 | 0.000372 | 100% |
8.0.10 | 10.000 | 0.000399 | +101% |
8.0.0 | 10.000 | 0.000370 | +106% |
7.4.29 | 100.000 | 0.001771 | +107% |
7.4.21 | 10.000 | 0.000353 | +105% |
7.4.21 | 100.000 | 0.001622 | 100% |
7.4.20 | 10.000 | 0.000300 | 100% |
7.4.20 | 100.000 | 0.001525 | 100% |
7.4.16 | 100.000 | 0.002183 | +105% |
7.4.15 | 100.000 | 0.002322 | 100% |
7.4.33 | 10.000 | 0.000335 | 100% |
7.4.32 | 10.000 | 0.000216 | 100% |
7.4.30 | 10.000 | 0.000232 | 100% |
7.4.29 | 10.000 | 0.000322 | +102% |
7.4.24 | 10.000 | 0.000264 | 100% |
7.4.23 | 10.000 | 0.000294 | 100% |
7.4.22 | 10.000 | 0.000256 | 100% |
7.4.13 | 100.000 | 0.001596 | 100% |
7.4.12 | 100.000 | 0.002008 | +101% |
7.4.11 | 100.000 | 0.001803 | +102% |
7.4.10 | 100.000 | 0.001701 | 100% |
8.0.2 | 10.000 | 0.000441 | 100% |
7.4.0 | 100.000 | 0.001845 | 100% |
8.0.30 | 10.000 | 0.000477 | 100% |
8.0.29 | 10.000 | 0.000233 | 100% |
8.0.28 | 10.000 | 0.000257 | 100% |
8.0.27 | 10.000 | 0.000367 | +113% |
8.0.26 | 10.000 | 0.000339 | +120% |
8.0.25 | 10.000 | 0.000377 | +114% |
8.0.24 | 10.000 | 0.000296 | +107% |
8.0.23 | 10.000 | 0.000301 | +123% |
8.0.9 | 10.000 | 0.000335 | 100% |
8.0.8 | 10.000 | 0.000357 | +103% |
8.0.7 | 10.000 | 0.000413 | +107% |
8.0.3 | 10.000 | 0.000469 | +104% |
7.4.28 | 10.000 | 0.000275 | 100% |
7.4.27 | 10.000 | 0.000316 | 100% |
7.4.16 | 10.000 | 0.000358 | 100% |
7.4.15 | 10.000 | 0.000431 | 100% |
7.4.13 | 10.000 | 0.000295 | 100% |
7.4.12 | 10.000 | 0.000270 | 100% |
7.4.11 | 10.000 | 0.000313 | +110% |
7.4.10 | 10.000 | 0.000275 | 100% |
7.4.7 | 10.000 | 0.000299 | 100% |
7.4.7 | 100.000 | 0.001704 | 100% |
7.4.6 | 10.000 | 0.000298 | +104% |
7.4.6 | 100.000 | 0.001543 | 100% |
7.4.5 | 10.000 | 0.000283 | 100% |
7.4.5 | 100.000 | 0.001668 | 100% |
7.4.4 | 10.000 | 0.000274 | 100% |
7.4.4 | 100.000 | 0.001463 | 100% |
7.4.3 | 10.000 | 0.000279 | 100% |
7.4.3 | 100.000 | 0.001409 | 100% |
7.4.1 | 100.000 | 0.001637 | 100% |
7.4.2 | 10.000 | 0.000348 | 100% |
7.4.2 | 100.000 | 0.001618 | 100% |
7.4.1 | 10.000 | 0.000409 | +102% |
7.4.0 | 10.000 | 0.000248 | 100% |
7.3.33 | 10.000 | 0.000431 | +110% |
7.3.31 | 10.000 | 0.000376 | +112% |
7.3.30 | 10.000 | 0.000323 | 100% |
7.3.29 | 10.000 | 0.000321 | 100% |
7.3.28 | 10.000 | 0.000330 | 100% |
7.3.27 | 10.000 | 0.000425 | 100% |
7.3.24 | 10.000 | 0.000320 | +103% |
7.3.23 | 10.000 | 0.000354 | +102% |
7.3.22 | 10.000 | 0.000307 | 100% |
7.3.19 | 10.000 | 0.000333 | 100% |
7.3.18 | 10.000 | 0.000339 | +102% |
7.3.17 | 10.000 | 0.000360 | 100% |
7.3.16 | 10.000 | 0.000288 | 100% |
7.3.15 | 10.000 | 0.000349 | 100% |
7.3.14 | 10.000 | 0.000442 | 100% |
7.3.13 | 10.000 | 0.000410 | 100% |
7.3.12 | 10.000 | 0.000340 | 100% |
7.3.11 | 10.000 | 0.000277 | 100% |
7.3.9 | 10.000 | 0.000291 | 100% |
7.3.8 | 10.000 | 0.000295 | 100% |
7.2.34 | 10.000 | 0.000430 | +103% |
7.2.33 | 10.000 | 0.000319 | 100% |
7.2.31 | 10.000 | 0.000424 | +113% |
7.2.30 | 10.000 | 0.000457 | +114% |
7.2.29 | 10.000 | 0.000335 | 100% |
7.2.28 | 10.000 | 0.000418 | +124% |
7.2.27 | 10.000 | 0.000488 | +102% |
7.2.26 | 10.000 | 0.000473 | +101% |
7.2.25 | 10.000 | 0.000352 | +105% |
7.2.24 | 10.000 | 0.000369 | +115% |
7.2.22 | 10.000 | 0.000354 | +107% |
7.2.21 | 10.000 | 0.000349 | +109% |
7.1.33 | 10.000 | 0.000583 | +114% |
7.1.32 | 10.000 | 0.000581 | +134% |
7.1.31 | 10.000 | 0.000621 | +158% |
7.1.0 | 10.000 | 0.002037 | +108% |
7.0.33 | 10.000 | 0.000543 | +109% |
7.0.7 | 10.000 | 0.002040 | +107% |
5.6.40 | 10.000 | 0.000988 | +106% |
5.6.22 | 10.000 | 0.003721 | +109% |
5.5.36 | 10.000 | 0.004122 | +117% |
5.4.45 | 10.000 | 0.003762 | +110% |
5.3.29 | 10.000 | 0.004826 | 100% |