Alexey Zakhlestin wrote:
> Would be nice if something like this worked too:
>     (new Class())->method();

If you *really* want to do this you can use a factory method:
Class::create()->method();

- Chris


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

Reply via email to