Re: function call chaining

From: Date: Tue, 19 Jan 2010 16:02:37 +0000
Subject: Re: function call chaining
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-46806@lists.php.net to get a copy of this message
On Tue, Jan 19, 2010 at 5:00 PM, Stanislav Malyshev <stas@zend.com> wrote: > Hi! > >> I'm not a fan of this kind of syntaxic sugars, especially for >> procedural implementation only. What are the benefits? > > Some as all other syntax sugars - better-looking code. Ah ok, then let say -1 from here for the function()() thing, as I don't see it as an improvement. However I would really like the other things described in this thread about methods. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#46806) next »