note 12365 modified in function.array-diff by alindeman

From: Date: Sat, 03 May 2003 21:08:10 +0000
Subject: note 12365 modified in function.array-diff by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-47466@lists.php.net to get a copy of this message
Note that array_diff() considers the type of the array elements when it compares them. If array_diff() doesn't appear to be working, check your inputs using var_dump() to make sure you're not trying to diff an array of integers with an array of strings. --was-- Note that array_diff() considers the type of the array elements when it compares them.<p> If array_diff() doesn't appear to be working, check your inputs using var_dump() to make sure you're not trying to diff an array of integers with an array of strings. http://www.php.net/manual/en/function.array-diff.php

« previous php.notes (#47466) next »