note 79745 deleted from function.in-array by felipe

From: Date: Sat, 15 Dec 2007 15:34:34 +0000
Subject: note 79745 deleted from function.in-array by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-133576@lists.php.net to get a copy of this message
Note Submitter: cjunge at author-it dot com ---- I think it should be noted that in_array will NOT work correctly if $needle is an object. You will get an E_WARNING with the message: Wrong datatype for first argument.

« previous php.notes (#133576) next »