note 39174 deleted from function.array-search by danbrown
| From: | danbrown@php.net | Date: | Wed, 29 Apr 2009 13:06:19 +0000 |
| Subject: | note 39174 deleted from function.array-search by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-153995@lists.php.net to get a copy of this message | ||
Note Submitter:
----
In response to dennis dot decoene:
Just remember that binary search requires the array to be sorted. If it's not sorted (and you
don't want to call sort() on it) then a binary search is not what you are lookng for.