note 79667 deleted from function.array-unique by felipe
| From: | felipe@php.net | Date: | Sat, 15 Dec 2007 15:53:54 +0000 |
| Subject: | note 79667 deleted from function.array-unique by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133585@lists.php.net to get a copy of this message | ||
Note Submitter: Leif
----
@tsikano:
I am already using a shorter version to be able to use array_unique on multidimensional arrays:
<?php
$no_duplicates = array_map('unserialize', array_unique(array_map('serialize',
$multiarray)));
?>