note 76390 added to function.array-search
| From: | xurizaemon at osu1 dot php dot net | Date: | Fri, 13 Jul 2007 01:11:02 +0000 |
| Subject: | note 76390 added to function.array-search | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128425@lists.php.net to get a copy of this message | ||
@ 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.
----
Server IP: 202.89.58.1
Probable Submitter: 60.234.253.91
----
Manual Page -- http://www.php.net/manual/en/function.array-search.php
Edit -- https://master.php.net/note/edit/76390
Del: integrated -- https://master.php.net/note/delete/76390/integrated
Del: useless -- https://master.php.net/note/delete/76390/useless
Del: bad code -- https://master.php.net/note/delete/76390/bad+code
Del: spam -- https://master.php.net/note/delete/76390/spam
Del: non-english -- https://master.php.net/note/delete/76390/non-english
Del: in docs -- https://master.php.net/note/delete/76390/in+docs
Del: other reasons-- https://master.php.net/note/delete/76390
Reject -- https://master.php.net/note/reject/76390
Search -- https://master.php.net/manage/user-notes.php