note 123577 added to function.array-key-exists
| From: | claude dot pache at gmail dot com | Date: | Fri, 01 Feb 2019 07:44:10 +0000 |
| Subject: | note 123577 added to function.array-key-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-210156@lists.php.net to get a copy of this message | ||
In case the name of
array_key_exists() turns out to be too long for you, to the point
that you are tempted to use some workaround to avoid it (e.g., isset() + assumption that the value
is never null, or some user-defined alias)... be aware that there exists a built-in alias named
key_exists() (see http://php.net/manual/en/function.key-exists.php)
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.142 (proxied: 84.75.30.51)
----
Manual Page -- http://php.net/manual/en/function.array-key-exists.php
Edit -- https://master.php.net/note/edit/123577
Del: integrated -- https://master.php.net/note/delete/123577/integrated
Del: useless -- https://master.php.net/note/delete/123577/useless
Del: bad code -- https://master.php.net/note/delete/123577/bad+code
Del: spam -- https://master.php.net/note/delete/123577/spam
Del: non-english -- https://master.php.net/note/delete/123577/non-english
Del: in docs -- https://master.php.net/note/delete/123577/in+docs
Del: other reasons-- https://master.php.net/note/delete/123577
Reject -- https://master.php.net/note/reject/123577
Search -- https://master.php.net/manage/user-notes.php