Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50678 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47262 invoked from network); 29 Nov 2010 03:28:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2010 03:28:08 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:34607] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/20-44028-7CD13FC4 for ; Sun, 28 Nov 2010 22:28:07 -0500 Received: by gxk20 with SMTP id 20so2019447gxk.29 for ; Sun, 28 Nov 2010 19:28:04 -0800 (PST) Received: by 10.100.211.15 with SMTP id j15mr3859354ang.55.1291001284564; Sun, 28 Nov 2010 19:28:04 -0800 (PST) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.100.128.13 with HTTP; Sun, 28 Nov 2010 19:27:39 -0800 (PST) In-Reply-To: References: Date: Mon, 29 Nov 2010 11:27:39 +0800 X-Google-Sender-Auth: H-uGjGejCqf1eZK_OM4Qa7AfDmU Message-ID: To: Felipe Pena Cc: internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] new foo()->bar() From: aharvey@php.net (Adam Harvey) On 27 November 2010 03:36, Felipe Pena wrote: > I'm here again to presents another proposal, which adds support for > instantiating a class and calling its methods and accessing its properties > on same command. > > Thoughts? Great work, Felipe! +1 for the feature; my very weak preference would be for the explicitly bracketed version, but I'd be happy with either. Adam