On 01/19/2010 09:29 AM, Eddie Drapkin wrote:
On Tue, Jan 19, 2010 at 2:14 AM, Alexey Zakhlestin<indey...@gmail.com>  wrote:

Would be nice if something like this worked too:

    (new Class())->method();

I was just looking at some Java code and thinking, "man I wish PHP did this"

Funny, I was just thinking the opposite "man I wish PHP never allows this" :)

Can of worms I say, can of worms..

--Jani

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to