ArrayUniqueTest

Create an array without duplicates from a range using array_unique


<?php 

$values 
$this->getRangeStrings($loop);

$this->start($loop);

$values array_unique($values);

return 
$this->end();
PHP Loops Seconds Percent
8.0.30 10.000 0.000710 +153%
8.0.30 100.000 0.006222 +132%
8.0.9 100.000 0.005253 +112%
8.0.8 100.000 0.005374 +114%
7.3.13 100.000 0.005256 +112%
7.3.12 100.000 0.005405 +115%
7.3.11 100.000 0.005704 +121%
7.2.34 100.000 0.005535 +118%
7.2.33 100.000 0.005890 +125%
7.2.31 100.000 0.005939 +126%
7.2.30 100.000 0.006161 +131%
7.2.29 100.000 0.006152 +131%
7.2.28 100.000 0.005008 +106%
7.2.27 100.000 0.005258 +112%
7.2.26 100.000 0.005149 +109%
7.2.25 100.000 0.004705 100%
7.2.24 100.000 0.005450 +116%
7.2.22 100.000 0.006010 +128%
7.2.21 100.000 0.006164 +131%
7.1.33 100.000 0.042011 +893%
7.1.32 100.000 0.047322 +1006%
7.1.31 100.000 0.041533 +883%
7.1.0 100.000 0.138957 +2953%
7.0.33 100.000 0.051533 +1095%
7.0.7 100.000 0.129645 +2755%
5.6.40 100.000 0.101973 +2167%
5.6.22 100.000 0.286389 +6087%
5.5.36 100.000 0.284540 +6047%
5.4.45 100.000 0.279992 +5951%
5.3.29 100.000 0.306307 +6510%
8.0.29 10.000 0.000465 100%
8.0.29 100.000 0.005174 +110%
8.0.28 100.000 0.005323 +113%
8.0.27 100.000 0.005611 +119%
8.0.26 100.000 0.005568 +118%
8.0.25 100.000 0.005540 +118%
8.0.24 100.000 0.005117 +109%
8.0.23 100.000 0.005036 +107%
8.0.20 100.000 0.005121 +109%
8.0.19 100.000 0.005369 +114%
8.0.17 100.000 0.005726 +122%
8.0.16 100.000 0.005449 +116%
8.0.14 100.000 0.005679 +121%
8.0.11 10.000 0.000767 +165%
8.0.11 100.000 0.005601 +119%
8.0.10 10.000 0.000679 +146%
8.0.10 100.000 0.005532 +118%
7.3.15 100.000 0.005650 +120%
8.0.28 10.000 0.000598 +129%
8.0.27 10.000 0.000642 +138%
8.0.26 10.000 0.000581 +125%
8.0.25 10.000 0.000596 +128%
8.0.24 10.000 0.000518 +111%
8.0.23 10.000 0.000578 +124%
8.0.20 10.000 0.000478 +103%
8.0.19 10.000 0.000778 +167%
8.0.17 10.000 0.000760 +163%
8.0.16 10.000 0.000743 +160%
8.0.14 10.000 0.000749 +161%
7.3.14 100.000 0.005822 +124%
8.0.9 10.000 0.000626 +135%
8.0.7 100.000 0.005202 +111%
8.0.8 10.000 0.000694 +149%
8.0.3 100.000 0.006271 +133%
8.0.2 100.000 0.008194 +174%
8.0.0 100.000 0.005339 +113%
7.4.33 100.000 0.005687 +121%
8.0.7 10.000 0.000714 +153%
7.4.32 100.000 0.005253 +112%
7.4.30 100.000 0.005272 +112%
7.4.29 100.000 0.005271 +112%
7.4.27 100.000 0.005647 +120%
8.0.3 10.000 0.000866 +186%
7.4.28 100.000 0.005940 +126%
7.4.24 100.000 0.005569 +118%
7.4.7 100.000 0.005851 +124%
7.4.6 100.000 0.005356 +114%
7.4.5 100.000 0.005579 +119%
7.4.4 100.000 0.006716 +143%
8.0.2 10.000 0.000987 +212%
8.0.0 10.000 0.000658 +141%
7.4.3 100.000 0.005291 +112%
7.4.33 10.000 0.000623 +134%
7.4.32 10.000 0.000670 +144%
7.4.30 10.000 0.000588 +126%
7.4.29 10.000 0.000791 +170%
7.3.17 100.000 0.006060 +129%
7.3.16 100.000 0.005378 +114%
7.4.28 10.000 0.000750 +161%
7.4.23 100.000 0.005290 +112%
7.4.21 100.000 0.005124 +109%
7.4.20 100.000 0.006407 +136%
7.4.24 10.000 0.000775 +167%
7.4.16 100.000 0.006352 +135%
7.4.15 10.000 0.000989 +212%
7.4.15 100.000 0.007998 +170%
7.4.13 100.000 0.005400 +115%
7.4.27 10.000 0.000802 +172%
7.4.23 10.000 0.000716 +154%
7.4.22 10.000 0.000754 +162%
7.4.22 100.000 0.005514 +117%
7.4.21 10.000 0.000730 +157%
7.4.20 10.000 0.000788 +169%
7.4.16 10.000 0.000866 +186%
7.4.13 10.000 0.000678 +146%
7.4.12 10.000 0.000717 +154%
7.4.12 100.000 0.006301 +134%
7.4.11 100.000 0.005801 +123%
7.4.11 10.000 0.000706 +152%
7.4.10 10.000 0.000766 +165%
7.4.10 100.000 0.005557 +118%
7.4.7 10.000 0.000737 +158%
7.4.6 10.000 0.000723 +155%
7.4.5 10.000 0.000726 +156%
7.4.4 10.000 0.000758 +163%
7.4.2 10.000 0.000850 +183%
7.4.2 100.000 0.005424 +115%
7.4.3 10.000 0.000643 +138%
7.4.1 10.000 0.000773 +166%
7.4.1 100.000 0.005186 +110%
7.4.0 100.000 0.006059 +129%
7.3.33 100.000 0.005859 +125%
7.3.31 100.000 0.005439 +116%
7.3.18 100.000 0.005857 +124%
7.3.33 10.000 0.000677 +145%
7.3.30 100.000 0.005529 +118%
7.4.0 10.000 0.000637 +137%
7.3.31 10.000 0.000730 +157%
7.3.29 10.000 0.000812 +175%
7.3.29 100.000 0.005820 +124%
7.3.28 10.000 0.000742 +160%
7.3.28 100.000 0.005438 +116%
7.3.27 10.000 0.000945 +203%
7.3.27 100.000 0.007032 +149%
7.3.30 10.000 0.000692 +149%
7.3.24 10.000 0.000671 +144%
7.3.24 100.000 0.006108 +130%
7.3.23 10.000 0.000851 +183%
7.3.23 100.000 0.006588 +140%
7.3.22 10.000 0.000771 +166%
7.3.22 100.000 0.006076 +129%
7.3.19 10.000 0.000710 +153%
7.3.19 100.000 0.006263 +133%
7.3.18 10.000 0.000769 +165%
7.3.17 10.000 0.000785 +169%
7.3.9 10.000 0.000659 +142%
7.3.9 100.000 0.006435 +137%
7.3.8 10.000 0.000615 +132%
7.3.8 100.000 0.006593 +140%
7.3.16 10.000 0.000769 +165%
7.3.15 10.000 0.000668 +143%
7.3.14 10.000 0.000970 +208%
7.3.13 10.000 0.000828 +178%
7.3.12 10.000 0.000673 +145%
7.3.11 10.000 0.000600 +129%
7.2.34 10.000 0.000683 +147%
7.2.33 10.000 0.000694 +149%
7.2.31 10.000 0.000851 +183%
7.2.30 10.000 0.001054 +226%
7.2.29 10.000 0.000642 +138%
7.2.28 10.000 0.000694 +149%
7.2.27 10.000 0.000832 +179%
7.2.26 10.000 0.000791 +170%
7.2.25 10.000 0.000689 +148%
7.2.24 10.000 0.000605 +130%
7.2.22 10.000 0.000628 +135%
7.2.21 10.000 0.000596 +128%
7.1.33 10.000 0.003726 +801%
7.1.32 10.000 0.003046 +654%
7.1.31 10.000 0.003130 +673%
7.1.0 10.000 0.010543 +2265%
7.0.33 10.000 0.003376 +725%
7.0.7 10.000 0.010164 +2184%
5.6.40 10.000 0.008438 +1813%
5.6.22 10.000 0.023247 +4995%
5.5.36 10.000 0.023210 +4987%
5.4.45 10.000 0.022194 +4769%
5.3.29 10.000 0.024987 +5369%