note 78103 added to function.array-key-exists
| From: | wolf550e at gmail dot com | Date: | Thu, 27 Sep 2007 19:51:24 +0000 |
| Subject: | note 78103 added to function.array-key-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130860@lists.php.net to get a copy of this message | ||
array_key_exists(), at least in 5.2.4, passes the array by value. I conclude this from seeing
performance worsen as the array to search got bigger. isset() doesn't have this problem.
----
Server IP: 64.71.164.2
Probable Submitter: 83.130.41.83
----
Manual Page -- http://www.php.net/manual/en/function.array-key-exists.php
Edit -- https://master.php.net/note/edit/78103
Del: integrated -- https://master.php.net/note/delete/78103/integrated
Del: useless -- https://master.php.net/note/delete/78103/useless
Del: bad code -- https://master.php.net/note/delete/78103/bad+code
Del: spam -- https://master.php.net/note/delete/78103/spam
Del: non-english -- https://master.php.net/note/delete/78103/non-english
Del: in docs -- https://master.php.net/note/delete/78103/in+docs
Del: other reasons-- https://master.php.net/note/delete/78103
Reject -- https://master.php.net/note/reject/78103
Search -- https://master.php.net/manage/user-notes.php