Re: [RFC] new foo()->bar()

From: Date: Fri, 26 Nov 2010 23:48:53 +0000
Subject: Re: [RFC] new foo()->bar()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-50613@lists.php.net to get a copy of this message
Hi Felipe 2010/11/26 Felipe Pena <felipensp@gmail.com>: > Other examples which describes the feature at > http://wiki.php.net/rfc/instance-method-call > > Thoughts? huge +1 from me ;-) It might be worth adding function call chaining with dereferencing and instance method call chaning, like $a = function(){ return function(){ echo 'Hello'; }; }; $a()(); -- regards, Kalle Sommer Nielsen kalle@php.net

« previous php.internals (#50613) next »