Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46806 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67743 invoked from network); 19 Jan 2010 16:02:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2010 16:02:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.226 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.219.226 mail-ew0-f226.google.com Received: from [209.85.219.226] ([209.85.219.226:52698] helo=mail-ew0-f226.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/57-29385-1A7D55B4 for ; Tue, 19 Jan 2010 11:02:42 -0500 Received: by ewy26 with SMTP id 26so1147369ewy.23 for ; Tue, 19 Jan 2010 08:02:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=3XDRZabqV0BacDXZSWfl5oZ8b1ShtQfN9nkYAOdsQLU=; b=fI1KsAptqFnqK9fylhG8UcWAeXUbjULJvZu3/8ZeSf4uhbsaetM+CqMs++9OhZfHv4 8sZl5BrtkkFFDJ3TtH6D77+iSz8Yy6qiH+1PZ2Etr+0b2xjULfbMKlBHukuZ1lBMYN8C ifMXV4vhUNXRmsk3fyXgMFaF9jowGy024fKks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=oBnKIJQ+JgVUADJwvCpqDpqQxI7+7+tMb4Jnf2bXd0MDjTRVjV3bwCI3yyNs0oenEw JwQyWswodL22eij6xj48eFnEF3p1tr9xfPMtdoy9zre1GF6nh1V3E6uPfVzf1c94/nVS qW4fDefw7COZjK4OHODd9xzRuUY7foIWtWWm4= MIME-Version: 1.0 Received: by 10.216.85.5 with SMTP id t5mr2727649wee.142.1263916957894; Tue, 19 Jan 2010 08:02:37 -0800 (PST) In-Reply-To: <4B55D72C.7060402@zend.com> References: <4B54FC87.8070106@zend.com> <4B55D72C.7060402@zend.com> Date: Tue, 19 Jan 2010 17:02:37 +0100 Message-ID: To: Stanislav Malyshev Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] function call chaining From: pierre.php@gmail.com (Pierre Joye) On Tue, Jan 19, 2010 at 5:00 PM, Stanislav Malyshev 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