note 14199 rejected and deleted from function.in-array.php by zak

From: Date: Sat, 21 Jul 2001 19:02:42 +0000
Subject: note 14199 rejected and deleted from function.in-array.php by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-15639@lists.php.net to get a copy of this message
Help! This doesn't seem to work when searching for an array *within* an array. As in: $item = array ( ... ); $array = array ( $item, ... ); if (in_array ($item, $array)) ... That throws a big happy error, saying "wrong datatype for first argument". Is this how it's supposed to behave?

« previous php.notes (#15639) next »