note 95499 added to class.arrayaccess

From: Date: Wed, 06 Jan 2010 14:57:45 +0000
Subject: note 95499 added to class.arrayaccess
Groups: php.notes 
Request: Send a blank email to php-notes+get-164682@lists.php.net to get a copy of this message
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. ---- Server IP: 217.75.128.29 Probable Submitter: 77.78.9.5 ---- Manual Page -- http://www.php.net/manual/en/class.arrayaccess.php Edit -- https://master.php.net/note/edit/95499 Del: integrated -- https://master.php.net/note/delete/95499/integrated Del: useless -- https://master.php.net/note/delete/95499/useless Del: bad code -- https://master.php.net/note/delete/95499/bad+code Del: spam -- https://master.php.net/note/delete/95499/spam Del: non-english -- https://master.php.net/note/delete/95499/non-english Del: in docs -- https://master.php.net/note/delete/95499/in+docs Del: other reasons-- https://master.php.net/note/delete/95499 Reject -- https://master.php.net/note/reject/95499 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164682) next »