note 15092 deleted from function.array-search by jimw

From: Date: Sat, 08 Dec 2001 21:04:27 +0000
Subject: note 15092 deleted from function.array-search by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22180@lists.php.net to get a copy of this message
to tell teh difference between not found and elemnt 0 use if(($index = array_search($array,$search)) !== false) { ... }

« previous php.notes (#22180) next »