note 63579 added to function.array-search
| From: | stevenwathotmailblahdotcom at osu1 dot php dot net | Date: | Fri, 24 Mar 2006 08:03:52 +0000 |
| Subject: | note 63579 added to function.array-search | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-106516@lists.php.net to get a copy of this message | ||
In response to RichGC a couple of days ago:
I haven't tested the examples but I think the single equals sign is going to cause problems
anyway...
It should be
if ($i == array_search("apple", $fruit_array))
etc
----
Server IP: 130.206.1.5
Probable Submitter: 213.97.3.25
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.array-search.php
Edit -- http://master.php.net/note/edit/63579
Del: integrated -- http://master.php.net/note/delete/63579/integrated
Del: useless -- http://master.php.net/note/delete/63579/useless
Del: bad code -- http://master.php.net/note/delete/63579/bad+code
Del: spam -- http://master.php.net/note/delete/63579/spam
Del: non-english -- http://master.php.net/note/delete/63579/non-english
Del: in docs -- http://master.php.net/note/delete/63579/in+docs
Del: other reasons-- http://master.php.net/note/delete/63579
Reject -- http://master.php.net/note/reject/63579
Search -- http://master.php.net/manage/user-notes.php