note 91274 deleted from function.array-diff by thiago
| From: | thiago@php.net | Date: | Wed, 03 Jun 2009 12:10:52 +0000 |
| Subject: | note 91274 deleted from function.array-diff by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156313@lists.php.net to get a copy of this message | ||
Note Submitter: Rob
----
@ Tim Trefren
Wouldn't the following do the same thing as your wrapper?
<?php
$array = array_values(array_diff($array1, $array2));
?>
;-)