note 24831 deleted from function.array-unique by cmb
| From: | cmb@php.net | Date: | Mon, 12 Nov 2018 14:39:27 +0000 |
| Subject: | note 24831 deleted from function.array-unique by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-209676@lists.php.net to get a copy of this message | ||
Note Submitter: php at hp-site dot dk
----
Try this:
array_flip(array_flip($array));
It gives the same result as the old array_unique()