note 75546 deleted from function.array-unique by danbrown
| From: | danbrown@php.net | Date: | Thu, 06 Nov 2008 14:53:44 +0000 |
| Subject: | note 75546 deleted from function.array-unique by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-146218@lists.php.net to get a copy of this message | ||
Note Submitter: kosi at designsbykosi dot info
----
to n@cho: $dup_values = array_intersect($array, array_unique($array));
I took the intersection instead of the difference.