note 115334 added to function.array-unique
| From: | CarlosAcedo | Date: | Mon, 07 Jul 2014 09:43:33 +0000 |
| Subject: | note 115334 added to function.array-unique | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199876@lists.php.net to get a copy of this message | ||
I have been testing and I found that <?php array_keys(array_flip($array)); ?> is quite faster
than <?php array_unique($array); ?>
----
Server IP: 72.52.91.14
Probable Submitter: 82.199.53.68
----
Manual Page -- http://php.net/manual/en/function.array-unique.php
Edit -- https://master.php.net/note/edit/115334
Del: integrated -- https://master.php.net/note/delete/115334/integrated
Del: useless -- https://master.php.net/note/delete/115334/useless
Del: bad code -- https://master.php.net/note/delete/115334/bad+code
Del: spam -- https://master.php.net/note/delete/115334/spam
Del: non-english -- https://master.php.net/note/delete/115334/non-english
Del: in docs -- https://master.php.net/note/delete/115334/in+docs
Del: other reasons-- https://master.php.net/note/delete/115334
Reject -- https://master.php.net/note/reject/115334
Search -- https://master.php.net/manage/user-notes.php