note 82386 added to function.in-array
| From: | martin_p at osu1 dot php dot net | Date: | Tue, 08 Apr 2008 22:38:05 +0000 |
| Subject: | note 82386 added to function.in-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138041@lists.php.net to get a copy of this message | ||
@mikegioia
And don't forget, that isset() looks for keys in arrays and in_array() looks for values. This
could make also a significant difference in benchmarks, because the functions work in different
ways.
----
Server IP: 69.147.83.197
Probable Submitter: 91.22.73.164
----
Manual Page -- http://www.php.net/manual/en/function.in-array.php
Edit -- https://master.php.net/note/edit/82386
Del: integrated -- https://master.php.net/note/delete/82386/integrated
Del: useless -- https://master.php.net/note/delete/82386/useless
Del: bad code -- https://master.php.net/note/delete/82386/bad+code
Del: spam -- https://master.php.net/note/delete/82386/spam
Del: non-english -- https://master.php.net/note/delete/82386/non-english
Del: in docs -- https://master.php.net/note/delete/82386/in+docs
Del: other reasons-- https://master.php.net/note/delete/82386
Reject -- https://master.php.net/note/reject/82386
Search -- https://master.php.net/manage/user-notes.php