Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50709 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49235 invoked from network); 30 Nov 2010 01:15:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Nov 2010 01:15:35 -0000 Authentication-Results: pb1.pair.com header.from=felipensp@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=felipensp@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: felipensp@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:63245] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/15-16632-63054FC4 for ; Mon, 29 Nov 2010 20:15:34 -0500 Received: by bwz13 with SMTP id 13so4703363bwz.29 for ; Mon, 29 Nov 2010 17:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=Ory5DFeT8D/ZGinSZQhsaNgwOX/kX1aPVB/Lwpbdzgc=; b=vsInxLvuvQIbic/kpY6DuLpEM40E8oS/lR8y9GNsciR8QPoBQwkOM3LQ5txlrxGFMo OSoMvlR9FpOYVPSXILCb3guHNdNnQQCYckhJWRHJ1VYQvCgU38Khwno+N9A1UdPdm/0u oULw9t5sCVyfOyCgsOPW4hAagU6e2Sa/kuup0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=M41RZ1jwOcX4N6jBptfJJ7RBSckpaxEGlHp9aOFMJG5o3cz884gcy7lMRdkDxnrflz Ou4V2rPbRy4idZUGwkVSiLKW5DI2QGBuHiUFopB4B7+3QaztpPJLJuOiANCFV1sj+IBy c8yxxeaVR7ovTEYyvjK0SHwJg+RpzduMKddS4= Received: by 10.204.53.9 with SMTP id k9mr5863787bkg.191.1291079730270; Mon, 29 Nov 2010 17:15:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.52.146 with HTTP; Mon, 29 Nov 2010 17:15:10 -0800 (PST) In-Reply-To: References: <4CF35BBA.3040006@zend.com> Date: Mon, 29 Nov 2010 23:15:10 -0200 Message-ID: To: Dmitry Stogov Cc: internals Content-Type: multipart/alternative; boundary=00504502d9ffb3125e04963aec58 Subject: Re: [PHP-DEV] [RFC] new foo()->bar() From: felipensp@gmail.com (Felipe Pena) --00504502d9ffb3125e04963aec58 Content-Type: text/plain; charset=UTF-8 2010/11/29 Felipe Pena > It also probably makes sense to add array deference chaining e.g. new >> Foo()[] (just for language consistency). >> >> > Hmm, looks good to me. :) > > I've updated the patch with the bracketed version to include the array dereferecing support: http://felipe.ath.cx/diff/instance-method-call-3.patch Some tests: http://felipe.ath.cx/diff/instance_direct_access_001.phpt -- Regards, Felipe Pena --00504502d9ffb3125e04963aec58--