InArrayStrictTest

Check if value is in array (strict)


<?php 

$values 
$this->getRangeStrings($loop);
$uniques array_slice($values0count($values) / 2);

$this->start($loop);

foreach (
$values as $value) {
    
$value in_array($value$uniquestrue);
}

return 
$this->end();
PHP Loops Seconds Percent
8.3.13 100.000 72.163440 +254%
8.3.10 100.000 49.975925 +176%
8.3.9 100.000 47.048797 +165%
7.3.33 100.000 37.043999 +130%
7.3.31 100.000 31.557061 +111%
7.3.30 100.000 31.194325 +110%
7.3.29 100.000 31.832539 +112%
7.3.28 100.000 30.590434 +107%
7.3.27 100.000 34.049125 +120%
7.3.24 100.000 34.348750 +121%
7.3.23 100.000 36.197607 +127%
7.3.22 100.000 33.753063 +119%
7.3.19 100.000 35.169761 +124%
7.3.18 100.000 30.746767 +108%
7.3.17 100.000 31.221073 +110%
7.3.16 100.000 31.540457 +111%
7.3.15 100.000 29.128390 +102%
7.3.14 100.000 32.589069 +114%
7.3.13 100.000 31.133286 +109%
7.3.12 100.000 28.464340 100%
7.3.11 100.000 39.388113 +138%
7.3.9 100.000 43.945657 +154%
7.3.8 100.000 45.757963 +161%
7.2.29 100.000 38.359572 +135%
8.3.13 10.000 0.760233 +334%
7.2.34 100.000 43.894435 +154%
7.2.33 100.000 45.855550 +161%
7.2.31 100.000 43.164039 +152%
7.2.30 100.000 41.441471 +146%
8.3.10 10.000 0.503401 +221%
7.2.28 100.000 37.479473 +132%
7.2.27 100.000 39.989482 +140%
7.2.26 100.000 38.742796 +136%
7.2.25 100.000 34.839239 +122%
7.2.24 100.000 45.722975 +161%
7.2.22 100.000 52.498528 +184%
7.2.21 100.000 52.332941 +184%
7.1.33 100.000 41.463560 +146%
7.1.32 100.000 53.406290 +188%
7.1.31 100.000 52.431222 +184%
7.1.0 100.000 308.330061 +1083%
7.0.33 100.000 41.911500 +147%
7.0.7 100.000 295.674032 +1039%
5.6.40 100.000 95.244354 +335%
5.6.22 100.000 491.216068 +1726%
5.5.36 100.000 463.622809 +1629%
5.4.45 100.000 410.222035 +1441%
5.3.29 100.000 415.205876 +1459%
8.3.9 10.000 0.453607 +199%
8.0.30 100.000 39.114210 +137%
8.0.29 100.000 32.862812 +115%
8.0.28 100.000 30.703892 +108%
8.0.27 100.000 31.404394 +110%
8.0.26 100.000 33.008888 +116%
8.0.25 100.000 31.970116 +112%
8.0.24 100.000 30.152651 +106%
8.0.23 100.000 32.391979 +114%
8.0.20 10.000 0.304571 +134%
8.0.20 100.000 32.059405 +113%
8.0.19 10.000 0.238063 +104%
8.0.19 100.000 28.606103 100%
8.0.17 10.000 0.273711 +120%
8.0.17 100.000 31.499805 +111%
8.0.16 10.000 0.315611 +139%
8.0.16 100.000 36.045799 +127%
8.0.14 10.000 0.261545 +115%
8.0.14 100.000 33.685618 +118%
8.0.11 100.000 32.844164 +115%
8.0.10 100.000 31.195323 +110%
8.0.9 100.000 33.102232 +116%
8.0.8 100.000 31.955807 +112%
8.0.7 100.000 32.403171 +114%
8.0.3 100.000 33.278354 +117%
8.0.2 100.000 38.556823 +135%
8.0.0 100.000 32.367867 +114%
7.4.33 100.000 39.898027 +140%
7.4.32 100.000 33.061421 +116%
7.4.30 100.000 33.074704 +116%
7.4.28 100.000 33.375164 +117%
7.4.27 100.000 35.431849 +124%
7.4.24 100.000 33.161620 +117%
7.4.23 100.000 32.078447 +113%
7.4.22 100.000 32.027855 +113%
8.0.11 10.000 0.310679 +136%
8.0.10 10.000 0.280426 +123%
8.0.0 10.000 0.271345 +119%
7.4.29 100.000 33.040574 +116%
7.4.21 10.000 0.294979 +129%
7.4.21 100.000 32.960243 +116%
7.4.20 10.000 0.270979 +119%
7.4.20 100.000 31.087776 +109%
7.4.16 100.000 33.610204 +118%
7.4.15 100.000 38.614952 +136%
7.4.33 10.000 0.386782 +170%
7.4.32 10.000 0.307641 +135%
7.4.30 10.000 0.305131 +134%
7.4.29 10.000 0.313206 +137%
7.4.24 10.000 0.326498 +143%
7.4.23 10.000 0.296468 +130%
7.4.22 10.000 0.271183 +119%
7.4.13 100.000 34.174054 +120%
7.4.12 100.000 40.359230 +142%
7.4.11 100.000 36.411692 +128%
7.4.10 100.000 35.534413 +125%
8.0.2 10.000 0.451519 +198%
7.4.0 100.000 41.137803 +145%
8.0.30 10.000 0.375716 +165%
8.0.29 10.000 0.311380 +137%
8.0.28 10.000 0.275648 +121%
8.0.27 10.000 0.249070 +109%
8.0.26 10.000 0.265657 +117%
8.0.25 10.000 0.294178 +129%
8.0.24 10.000 0.283204 +124%
8.0.23 10.000 0.294447 +129%
8.0.9 10.000 0.308147 +135%
8.0.8 10.000 0.307901 +135%
8.0.7 10.000 0.296574 +130%
8.0.3 10.000 0.326065 +143%
7.4.28 10.000 0.304937 +134%
7.4.27 10.000 0.315561 +139%
7.4.16 10.000 0.323946 +142%
7.4.15 10.000 0.450216 +198%
7.4.13 10.000 0.312735 +137%
7.4.12 10.000 0.340299 +149%
7.4.11 10.000 0.311635 +137%
7.4.10 10.000 0.301810 +132%
7.4.7 10.000 0.324124 +142%
7.4.7 100.000 37.069535 +130%
7.4.6 10.000 0.283419 +124%
7.4.6 100.000 31.702014 +111%
7.4.5 10.000 0.292213 +128%
7.4.5 100.000 31.914105 +112%
7.4.4 10.000 0.274781 +121%
7.4.4 100.000 30.939698 +109%
7.4.3 10.000 0.264999 +116%
7.4.3 100.000 30.383539 +107%
7.4.1 100.000 31.177092 +110%
7.4.2 10.000 0.297104 +130%
7.4.2 100.000 32.911507 +116%
7.4.1 10.000 0.281327 +123%
7.4.0 10.000 0.482961 +212%
7.3.33 10.000 0.348683 +153%
7.3.31 10.000 0.272552 +120%
7.3.30 10.000 0.291827 +128%
7.3.29 10.000 0.273876 +120%
7.3.28 10.000 0.243850 +107%
7.3.27 10.000 0.337009 +148%
7.3.24 10.000 0.279058 +122%
7.3.23 10.000 0.328993 +144%
7.3.22 10.000 0.267203 +117%
7.3.19 10.000 0.291703 +128%
7.3.18 10.000 0.263071 +115%
7.3.17 10.000 0.258666 +114%
7.3.16 10.000 0.273847 +120%
7.3.15 10.000 0.227821 100%
7.3.14 10.000 0.282767 +124%
7.3.13 10.000 0.273601 +120%
7.3.12 10.000 0.228976 +101%
7.3.11 10.000 0.433445 +190%
7.3.9 10.000 0.581817 +255%
7.3.8 10.000 0.540692 +237%
7.2.34 10.000 0.378951 +166%
7.2.33 10.000 0.390744 +172%
7.2.31 10.000 0.362253 +159%
7.2.30 10.000 0.321936 +141%
7.2.29 10.000 0.318075 +140%
7.2.28 10.000 0.314737 +138%
7.2.27 10.000 0.326106 +143%
7.2.26 10.000 0.326466 +143%
7.2.25 10.000 0.285195 +125%
7.2.24 10.000 0.483656 +212%
7.2.22 10.000 0.673348 +296%
7.2.21 10.000 0.616069 +270%
7.1.33 10.000 0.365228 +160%
7.1.32 10.000 0.668013 +293%
7.1.31 10.000 0.614599 +270%
7.1.0 10.000 2.513920 +1103%
7.0.33 10.000 0.368472 +162%
7.0.7 10.000 2.412636 +1059%
5.6.40 10.000 0.691593 +304%
5.6.22 10.000 2.830476 +1242%
5.5.36 10.000 2.744386 +1205%
5.4.45 10.000 2.251853 +988%
5.3.29 10.000 2.167766 +952%