note 111025 deleted from function.array-diff by googleguy

From: Date: Tue, 08 Jan 2013 09:50:37 +0000
Subject: note 111025 deleted from function.array-diff by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-192830@lists.php.net to get a copy of this message
Note Submitter: Dimitar Boyadzhiev ---- You should consider that if the first array is empty then the result is empty, which is not becoming clear at first if you read the return value description: "Returns an array containing all the entries from array1 that are not present in any of the other arrays." Consider checking if array1 is empty before using this function.

« previous php.notes (#192830) next »