On Sat, 2009-05-02 at 12:39 +0200, Andrea Giammarchi wrote:
> exactly, why bother with JavaScript literal representation?
> the foreach loop was just an alternative to explicit object cast cause you 
> did not like it .... I though it was more about control over what you want to 
> cast and what you do not ... in any case, what I said does not change cause 
> in php you have natural type hint over arrays and these are normally slightly 
> faster so I do not get why you want objects rather than arrays ...

It's not what I want, I'm not the original poster. Regardless though, it
comes down to the preference of the developer. It can certainly be
simpler to type:


than to type:


Application and Templating Framework for PHP

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to