note 130576 added to arrayaccess.offsetexists
| From: | nicosp@gmail.com | Date: | Wed, 17 Dec 2025 08:26:09 +0000 |
| Subject: | note 130576 added to arrayaccess.offsetexists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-222459@lists.php.net to get a copy of this message | ||
PHP implementation of isset() will only call offsetExists and will never check offsetGet for null.
This is not 100% clear from the docs.
Relevant bug:
https://bugs.php.net/bug.php?id=41727
----
Server IP: 206.189.2.9
Probable Submitter: 82.102.34.70
----
Manual Page -- https://php.net/manual/en/arrayaccess.offsetexists.php
Edit -- https://main.php.net/note/edit/130576
Del: integrated -- https://main.php.net/note/delete/130576/integrated
Del: useless -- https://main.php.net/note/delete/130576/useless
Del: bad code -- https://main.php.net/note/delete/130576/bad+code
Del: spam -- https://main.php.net/note/delete/130576/spam
Del: non-english -- https://main.php.net/note/delete/130576/non-english
Del: in docs -- https://main.php.net/note/delete/130576/in+docs
Del: other reasons-- https://main.php.net/note/delete/130576
Reject -- https://main.php.net/note/reject/130576
Search -- https://main.php.net/manage/user-notes.php