note 104061 added to class.arrayaccess
| From: | Per at osu1 dot php dot net | Date: | Fri, 20 May 2011 09:16:33 +0000 |
| Subject: | note 104061 added to class.arrayaccess | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179898@lists.php.net to get a copy of this message | ||
It bit me today, so putting it here in the hope it will help others:
If you call array_key_exists() on an object of a class that implements ArrayAccess,
ArrayAccess::offsetExists() wil NOT be called.
----
Server IP: 79.99.203.17
Probable Submitter: 81.82.215.157
----
Manual Page -- http://www.php.net/manual/en/class.arrayaccess.php
Edit -- https://master.php.net/note/edit/104061
Del: integrated -- https://master.php.net/note/delete/104061/integrated
Del: useless -- https://master.php.net/note/delete/104061/useless
Del: bad code -- https://master.php.net/note/delete/104061/bad+code
Del: spam -- https://master.php.net/note/delete/104061/spam
Del: non-english -- https://master.php.net/note/delete/104061/non-english
Del: in docs -- https://master.php.net/note/delete/104061/in+docs
Del: other reasons-- https://master.php.net/note/delete/104061
Reject -- https://master.php.net/note/reject/104061
Search -- https://master.php.net/manage/user-notes.php