note 92501 added to function.in-array
| From: | PeteSpicer at osu1 dot php dot net | Date: | Mon, 27 Jul 2009 17:30:38 +0000 |
| Subject: | note 92501 added to function.in-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158785@lists.php.net to get a copy of this message | ||
@robin at robinnixon dot com
That's true enough - only if the contents are sorted in ascending order first, a requirement
not implied in your code, nor required by in_array().
----
Server IP: 69.147.83.197
Probable Submitter: 79.78.164.30
----
Manual Page -- http://www.php.net/manual/en/function.in-array.php
Edit -- https://master.php.net/note/edit/92501
Del: integrated -- https://master.php.net/note/delete/92501/integrated
Del: useless -- https://master.php.net/note/delete/92501/useless
Del: bad code -- https://master.php.net/note/delete/92501/bad+code
Del: spam -- https://master.php.net/note/delete/92501/spam
Del: non-english -- https://master.php.net/note/delete/92501/non-english
Del: in docs -- https://master.php.net/note/delete/92501/in+docs
Del: other reasons-- https://master.php.net/note/delete/92501
Reject -- https://master.php.net/note/reject/92501
Search -- https://master.php.net/manage/user-notes.php