On Wed, 21 Jan 2004, Andi Gutmans wrote:
> In general, I think casting an object to an array sucks.
> I would be all for an E_STRICT message that this is deprecated as we have
> "real" objects now and IMO, and that...
> ...the behavior might change/go away sometime in the future.
Are you saying you want to introduce a __toArray() method? :)
Ducks.
-adam
PS: In case this wasn't clear: This is a joke.
--
adam@trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!