Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46802 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10236 invoked from network); 19 Jan 2010 11:44:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2010 11:44:51 -0000 Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.227 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.220.227 mail-fx0-f227.google.com Received: from [209.85.220.227] ([209.85.220.227:45293] helo=mail-fx0-f227.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/F6-22457-23B955B4 for ; Tue, 19 Jan 2010 06:44:51 -0500 Received: by fxm27 with SMTP id 27so3258787fxm.23 for ; Tue, 19 Jan 2010 03:44:47 -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=a1GeeCRckyj8Xvn9Mi6kWOKjsNBvxQJG1IZ1xXV30T8=; b=Y4Q+KRIIA1Xya3Jjfl0oy6r2SWjSqIt2Lc0K6fr9Qqs8ZrQgCwOaayEe2K4RdHw6s5 fDcr8VJl+9OAugQqLrKAv+tjCpq9q22LQDFGz4Q6YZ/VBa7Mfafq+hFgLWn9EnOq7K8y 8FjNFh9LqbSUf2NlV1Kdo44PPgJq7WEzrv7k8= 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=v6LjiW0o1U3Lb8SnP8N/twDqgpI0xPFfhlTIw4b8sqK1yCO+PoeFYnLg9NpHhzH5jq slmXbI31NHsSI5cTZr26x+AZN3mKN0/M/6UAHkqgjV+Whb0Lq3E/sEo6xkcRoDbX8WBp RcEErAKy2PtZtn70h8fmIY1h62m/JQ77C+1/M= MIME-Version: 1.0 Received: by 10.239.186.133 with SMTP id g5mr832752hbh.182.1263901487585; Tue, 19 Jan 2010 03:44:47 -0800 (PST) In-Reply-To: References: <4B54FC87.8070106@zend.com> <4F.56.22457.408955B4@pb1.pair.com> Date: Tue, 19 Jan 2010 13:44:47 +0200 Message-ID: <9b3df6a51001190344k52d9f266h361c67e29e2dfdbb@mail.gmail.com> To: Pierre Joye Cc: Michael Wallner , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: function call chaining From: arvids.godjuks@gmail.com (Arvids Godjuks) 2010/1/19 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 > Totally agree.