note 85553 added to class.arrayobject

From: Date: Fri, 05 Sep 2008 15:28:29 +0000
Subject: note 85553 added to class.arrayobject
Groups: php.notes 
Request: Send a blank email to php-notes+get-144167@lists.php.net to get a copy of this message
If you want to use array functions on an ArrayObject, why not use iterator_to_array() to get a standard PHP array? Do your operations on that array, then instantiate a new ArrayObject, passing it the array. This might be a little slow on large ArrayObjects, but you'd have access to all of the array functions. ---- Server IP: 64.71.164.2 Probable Submitter: 64.245.224.162 ---- Manual Page -- http://www.php.net/manual/en/class.arrayobject.php Edit -- https://master.php.net/note/edit/85553 Del: integrated -- https://master.php.net/note/delete/85553/integrated Del: useless -- https://master.php.net/note/delete/85553/useless Del: bad code -- https://master.php.net/note/delete/85553/bad+code Del: spam -- https://master.php.net/note/delete/85553/spam Del: non-english -- https://master.php.net/note/delete/85553/non-english Del: in docs -- https://master.php.net/note/delete/85553/in+docs Del: other reasons-- https://master.php.net/note/delete/85553 Reject -- https://master.php.net/note/reject/85553 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144167) next »