note 10000 added to array_intersect
| From: | zeekamotay at hotmail dot com | Date: | Wed, 06 Dec 2000 03:38:03 +0000 |
| Subject: | note 10000 added to array_intersect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8436@lists.php.net to get a copy of this message | ||
There's no array_union() function, but you can do this:
array_unique(array_merge($array1,$array2))
http://www.php.net/manual/function.array-intersect.php