Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46801 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8947 invoked from network); 19 Jan 2010 11:41:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2010 11:41:10 -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:58673] helo=mail-ew0-f226.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 52/B6-22457-45A955B4 for ; Tue, 19 Jan 2010 06:41:08 -0500 Received: by ewy26 with SMTP id 26so859793ewy.23 for ; Tue, 19 Jan 2010 03:41:05 -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=WP5D6/TLO2W6wBewmuc+AYnociUgiSasZd/nca1PWyA=; b=bcVbHUdjgG+NmXe5nlzxp7GGoGWrgwuE1TIAP/bWHdUAs3POr3UdNSaFWtj0p3V98a 8riR5svTHQi5LyGkUPoqjTf31H5zLISPLVbxLhOniW7dA2KwexfoL2dReQQHJ2wHjYjt TF1D5TwNqH4+/X8PRp0P7skJ7cn5bjyXIvcS0= 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=mCRZNbcwYrBDuWkIKUUICdL9L+1sYdBtmRhACQNK9Emp20lBzyRq1KNft7zvGBv8e/ 7Lv0+lVgv8kcPZgOetV7RTZyWjumTxMkaa6UynahOZzL/FyWoh3LhWr27BgpL0HNg7jf GUb57g4i82YHa/GCSNzXmvv7QQpnqqqE4yeDM= MIME-Version: 1.0 Received: by 10.216.89.13 with SMTP id b13mr2460878wef.45.1263901265438; Tue, 19 Jan 2010 03:41:05 -0800 (PST) In-Reply-To: <4F.56.22457.408955B4@pb1.pair.com> References: <4B54FC87.8070106@zend.com> <4F.56.22457.408955B4@pb1.pair.com> Date: Tue, 19 Jan 2010 12:41:05 +0100 Message-ID: To: Michael Wallner Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: function call chaining From: pierre.php@gmail.com (Pierre Joye) On Tue, Jan 19, 2010 at 12:31 PM, Michael Wallner 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