note 104248 deleted from function.array-intersect by danbrown
| From: | danbrown@php.net | Date: | Fri, 03 Jun 2011 16:13:41 +0000 |
| Subject: | note 104248 deleted from function.array-intersect by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-180229@lists.php.net to get a copy of this message | ||
Note Submitter: cryptex dot harsh at gmail dot com
----
// Array Union
$a = array(1,3,5);
$b = array(2,4,5,6);
print_r(
array_unique(
array_merge($a,$b)
)
);