note 76390 deleted from function.array-search by danbrown

From: Date: Wed, 29 Apr 2009 12:57:48 +0000
Subject: note 76390 deleted from function.array-search by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-153976@lists.php.net to get a copy of this message
Note Submitter: xurizaemon ---- @ ben, your array_isearch function returns the value, while array_search returns the key. to get equivalent (but case-insensitive) functionality, you would return $k not $v.

« previous php.notes (#153976) next »