note 95499 deleted from class.arrayaccess by danbrown
| From: | danbrown@php.net | Date: | Wed, 06 Jan 2010 15:51:56 +0000 |
| Subject: | note 95499 deleted from class.arrayaccess by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164687@lists.php.net to get a copy of this message | ||
Note Submitter: kaloyan at gmail dot com
----
Hm, however there is a notice thrown if an object implementing ArrayAccess is used like this:
$a['x']['y'] = 'z';
And the notice is something like this:
"notice: Indirect modification of overloaded element of obj has no effect"
The thing is that the "x" element is an array, not an "obj" class object.