note 17561 added to function.in-array

From: Date: Fri, 14 Dec 2001 07:32:23 +0000
Subject: note 17561 added to function.in-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-22604@lists.php.net to get a copy of this message
After doing some testing I noticed that in_array() does not support comparison between two arrays. The needle needs to be a string, integer, or another non-array variable. I just thought this might be worth mentioning. -- http://www.php.net/manual/en/function.in-array.php http://master.php.net/manage/user-notes.php?action=edit+17561 http://master.php.net/manage/user-notes.php?action=delete+17561 http://master.php.net/manage/user-notes.php?action=reject+17561

« previous php.notes (#22604) next »