note 35519 deleted from function.array-merge by salathe
| From: | salathe@php.net | Date: | Mon, 06 Sep 2021 22:44:51 +0000 |
| Subject: | note 35519 deleted from function.array-merge by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-216887@lists.php.net to get a copy of this message | ||
Note Submitter:
----
For those who are getting duplicate entries when using this function, there is a very easy solution:
wrap array_unique() around array_merge()
cheers,
k.