[PHP-NOTES] note 130576 added to arrayaccess.offsetexists

[email protected] ("[email protected]") Wed, 17 Dec 2025 08:26:09 +0000
Newsgroups php.notes
Message-ID <[email protected]>
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