On Tue, Jan 19, 2010 at 12:31 PM, Michael Wallner <m...@php.net> wrote:
> On 01/19/2010 01:27 AM, Stanislav Malyshev wrote:
>> Hi!
>>
>> I wrote a small patch that enables this kind of syntax in PHP:
>>
>> foo()();
>
> I'd rather see two other things that are missing, support for
> dynamic object and array de-referencing like
> (new class)->method() and get_array()["index"].
>
> I honestly don't see func()()()() make anything better in the
> world of a PHP programmer.

Exactly.

Cheers,
-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

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

Reply via email to