note 9289 deleted from function.array-unique by felipe
| From: | felipe@php.net | Date: | Tue, 22 Jul 2008 02:21:27 +0000 |
| Subject: | note 9289 deleted from function.array-unique by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142460@lists.php.net to get a copy of this message | ||
Note Submitter: matthew_dean at hotmail dot com
----
Re: Useful comments from jllamas@bal.com.mx
If you are using a numerically indexed array and you want to make it unique but *with* consecutive
indices, you can use array_values(array_unique($myArray));