On Fri, 2008-06-06 at 11:35 -0400, Christoph Boget wrote: > > The 'new' keyword has to apply to the object created in the constructor (and > > not the return value of any of the follow-up calls.) To establish this > > precedence, chaining wasn't allowed on constructors. > > If precedence was the issue, why doesn't this work, either: > > (new bob())->one()->two() > > ? Or, rather, why couldn't that have been taken into consideration? It seems a bit futile asking on PHP General when this a question for the PHP Internals list. That is where these kinds of decisions are made. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php