ArrayKeyExistsTest

Check if element exists into array with array_key_exists


<?php 

$values 
array_flip($this->getRange($loop));

$this->start($loop);

for (
$i 0$i $this->loop; ++$i) {
    
$value array_key_exists($i$values);
}

return 
$this->end();
PHP Loops Seconds Percent
8.0.30 10.000 0.000691 +224%
8.0.30 100.000 0.004588 +148%
8.0.9 100.000 0.003483 +113%
8.0.8 100.000 0.003725 +120%
7.3.13 100.000 0.003665 +119%
7.3.12 100.000 0.003377 +109%
7.3.11 100.000 0.004506 +146%
7.2.34 100.000 0.004475 +145%
7.2.33 100.000 0.003978 +129%
7.2.31 100.000 0.003969 +128%
7.2.30 100.000 0.003780 +122%
7.2.29 100.000 0.003608 +117%
7.2.28 100.000 0.003876 +125%
7.2.27 100.000 0.004406 +143%
7.2.26 100.000 0.003990 +129%
7.2.25 100.000 0.003697 +120%
7.2.24 100.000 0.004665 +151%
7.2.22 100.000 0.005398 +175%
7.2.21 100.000 0.005173 +167%
7.1.33 100.000 0.004970 +161%
7.1.32 100.000 0.006454 +209%
7.1.31 100.000 0.006346 +205%
7.1.0 100.000 0.035799 +1158%
7.0.33 100.000 0.005188 +168%
7.0.7 100.000 0.035985 +1164%
5.6.40 100.000 0.038624 +1250%
5.6.22 100.000 0.097523 +3155%
5.5.36 100.000 0.114012 +3688%
5.4.45 100.000 0.114001 +3688%
5.3.29 100.000 0.153883 +4978%
8.0.29 10.000 0.000473 +153%
8.0.29 100.000 0.003821 +124%
8.0.28 100.000 0.003723 +120%
8.0.27 100.000 0.003378 +109%
8.0.26 100.000 0.003591 +116%
8.0.25 100.000 0.003592 +116%
8.0.24 100.000 0.003091 100%
8.0.23 100.000 0.003575 +116%
8.0.20 100.000 0.003302 +107%
8.0.19 100.000 0.003190 +103%
8.0.17 100.000 0.003715 +120%
8.0.16 100.000 0.003516 +114%
8.0.14 100.000 0.003509 +114%
8.0.11 10.000 0.000652 +212%
8.0.11 100.000 0.003766 +122%
8.0.10 10.000 0.000747 +243%
8.0.10 100.000 0.003596 +116%
7.3.15 100.000 0.003415 +110%
8.0.28 10.000 0.000513 +167%
8.0.27 10.000 0.000577 +187%
8.0.26 10.000 0.000530 +172%
8.0.25 10.000 0.000593 +192%
8.0.24 10.000 0.000505 +164%
8.0.23 10.000 0.000662 +215%
8.0.20 10.000 0.000490 +159%
8.0.19 10.000 0.000601 +195%
8.0.17 10.000 0.000665 +216%
8.0.16 10.000 0.000647 +210%
8.0.14 10.000 0.000725 +235%
7.3.14 100.000 0.004273 +138%
8.0.9 10.000 0.000596 +193%
8.0.7 100.000 0.003566 +115%
8.0.8 10.000 0.000769 +250%
8.0.3 100.000 0.004438 +144%
8.0.2 100.000 0.005187 +168%
8.0.0 100.000 0.003612 +117%
7.4.33 100.000 0.003917 +127%
8.0.7 10.000 0.000686 +223%
7.4.32 100.000 0.003276 +106%
7.4.30 100.000 0.003212 +104%
7.4.29 100.000 0.003182 +103%
7.4.27 100.000 0.003452 +112%
8.0.3 10.000 0.000856 +278%
7.4.28 100.000 0.003577 +116%
7.4.24 100.000 0.003475 +112%
7.4.7 100.000 0.003539 +114%
7.4.6 100.000 0.003220 +104%
7.4.5 100.000 0.003221 +104%
7.4.4 100.000 0.003293 +107%
8.0.2 10.000 0.000845 +274%
8.0.0 10.000 0.000620 +201%
7.4.3 100.000 0.003317 +107%
7.4.33 10.000 0.000572 +186%
7.4.32 10.000 0.000487 +158%
7.4.30 10.000 0.000458 +149%
7.4.29 10.000 0.000653 +212%
7.3.17 100.000 0.003762 +122%
7.3.16 100.000 0.003279 +106%
7.4.28 10.000 0.000647 +210%
7.4.23 100.000 0.003313 +107%
7.4.21 100.000 0.003491 +113%
7.4.20 100.000 0.004492 +145%
7.4.24 10.000 0.000579 +188%
7.4.16 100.000 0.004231 +137%
7.4.15 10.000 0.000989 +321%
7.4.15 100.000 0.005114 +165%
7.4.13 100.000 0.003712 +120%
7.4.27 10.000 0.000663 +215%
7.4.23 10.000 0.000639 +207%
7.4.22 10.000 0.000426 +138%
7.4.22 100.000 0.003174 +103%
7.4.21 10.000 0.000711 +231%
7.4.20 10.000 0.000732 +238%
7.4.16 10.000 0.000985 +320%
7.4.13 10.000 0.000673 +219%
7.4.12 10.000 0.000634 +206%
7.4.12 100.000 0.004209 +136%
7.4.11 100.000 0.003851 +125%
7.4.11 10.000 0.000603 +196%
7.4.10 10.000 0.000586 +190%
7.4.10 100.000 0.003740 +121%
7.4.7 10.000 0.000578 +188%
7.4.6 10.000 0.000326 +106%
7.4.5 10.000 0.000326 +106%
7.4.4 10.000 0.000311 +101%
7.4.2 10.000 0.000331 +107%
7.4.2 100.000 0.003586 +116%
7.4.3 10.000 0.000336 +109%
7.4.1 10.000 0.000349 +113%
7.4.1 100.000 0.003153 +102%
7.4.0 100.000 0.004069 +132%
7.3.33 100.000 0.004028 +130%
7.3.31 100.000 0.003542 +115%
7.3.18 100.000 0.003736 +121%
7.3.33 10.000 0.000616 +200%
7.3.30 100.000 0.003498 +113%
7.4.0 10.000 0.000410 +133%
7.3.31 10.000 0.000683 +222%
7.3.29 10.000 0.000632 +205%
7.3.29 100.000 0.003750 +121%
7.3.28 10.000 0.000835 +271%
7.3.28 100.000 0.003659 +118%
7.3.27 10.000 0.000905 +294%
7.3.27 100.000 0.004732 +153%
7.3.30 10.000 0.000690 +224%
7.3.24 10.000 0.000611 +198%
7.3.24 100.000 0.003747 +121%
7.3.23 10.000 0.000751 +244%
7.3.23 100.000 0.004121 +133%
7.3.22 10.000 0.000717 +233%
7.3.22 100.000 0.003605 +117%
7.3.19 10.000 0.000749 +243%
7.3.19 100.000 0.004229 +137%
7.3.18 10.000 0.000360 +117%
7.3.17 10.000 0.000462 +150%
7.3.9 10.000 0.000517 +168%
7.3.9 100.000 0.004736 +153%
7.3.8 10.000 0.000490 +159%
7.3.8 100.000 0.004604 +149%
7.3.16 10.000 0.000344 +112%
7.3.15 10.000 0.000382 +124%
7.3.14 10.000 0.000366 +119%
7.3.13 10.000 0.000373 +121%
7.3.12 10.000 0.000308 100%
7.3.11 10.000 0.000456 +148%
7.2.34 10.000 0.000727 +236%
7.2.33 10.000 0.000631 +205%
7.2.31 10.000 0.000615 +200%
7.2.30 10.000 0.000378 +123%
7.2.29 10.000 0.000430 +139%
7.2.28 10.000 0.000445 +145%
7.2.27 10.000 0.000453 +147%
7.2.26 10.000 0.000378 +123%
7.2.25 10.000 0.000342 +111%
7.2.24 10.000 0.000567 +184%
7.2.22 10.000 0.000557 +181%
7.2.21 10.000 0.000722 +234%
7.1.33 10.000 0.000776 +252%
7.1.32 10.000 0.000665 +216%
7.1.31 10.000 0.000665 +216%
7.1.0 10.000 0.003805 +1235%
7.0.33 10.000 0.000769 +250%
7.0.7 10.000 0.003759 +1220%
5.6.40 10.000 0.004114 +1336%
5.6.22 10.000 0.010007 +3249%
5.5.36 10.000 0.011865 +3852%
5.4.45 10.000 0.011651 +3783%
5.3.29 10.000 0.017719 +5753%