ID:               43154
 Updated by:       [EMAIL PROTECTED]
 Reported By:      smoseley at transio dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Feature/Change Request
 Operating System: Linux
 PHP Version:      5.2.4
 New Comment:

What's wrong with the Iterator and IteratorAggregate interfaces?


Previous Comments:
------------------------------------------------------------------------

[2007-10-31 00:21:24] smoseley at transio dot com

Description:
------------
Would love to see a __toArray() MM added that would default to an
associative array of an object's properties in scope, but that could be
overloaded with whatever.  It would be very useful in cases where a
specific method is required to iterate through an object's properties. 
Thanks! :)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43154&edit=1

Reply via email to