note 68399 deleted from function.array-diff by cmb
| From: | cmb@php.net | Date: | Sun, 17 Mar 2019 09:37:58 +0000 |
| Subject: | note 68399 deleted from function.array-diff by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210388@lists.php.net to get a copy of this message | ||
Note Submitter: Colin
----
Undocumented return: it appears this will return NULL if an error occurs (e.g., an argument is not
an array) and is not caught.
<?
@array_diff(NULL, array(1));
@array_diff(array(1), NULL);
@array_diff();
?>
All return NULL. (Note the "@")