note 96036 added to class.arrayaccess

From: Date: Thu, 04 Feb 2010 12:31:47 +0000
Subject: note 96036 added to class.arrayaccess
Groups: php.notes 
Request: Send a blank email to php-notes+get-165654@lists.php.net to get a copy of this message
The code provided by Cintix will not work as expected. Calling current() on the collection object will actually return the current element of the object not of the contained collection! I do not know if this in intended behaviour or if the implemented interfaces should actually map to all array functions properly. This is as of version 5.2.1. I will report a bug on this as soon as the datacenter is back online. ---- Server IP: 85.214.154.209 Probable Submitter: 188.107.219.97 ---- Manual Page -- http://www.php.net/manual/en/class.arrayaccess.php Edit -- https://master.php.net/note/edit/96036 Del: integrated -- https://master.php.net/note/delete/96036/integrated Del: useless -- https://master.php.net/note/delete/96036/useless Del: bad code -- https://master.php.net/note/delete/96036/bad+code Del: spam -- https://master.php.net/note/delete/96036/spam Del: non-english -- https://master.php.net/note/delete/96036/non-english Del: in docs -- https://master.php.net/note/delete/96036/in+docs Del: other reasons-- https://master.php.net/note/delete/96036 Reject -- https://master.php.net/note/reject/96036 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#165654) next »