note 18314 deleted from function.array-search by didou

From: Date: Tue, 16 Dec 2003 09:33:19 +0000
Subject: note 18314 deleted from function.array-search by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-62033@lists.php.net to get a copy of this message
Note Submitter: ben@xicandy.com ---- I don't know why this is, but if your expecting array_search to return false and you are testing via ===, try doing a gettype on the returned value and you might see that it is returning NULL not false.

« previous php.notes (#62033) next »