Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46807 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69004 invoked from network); 19 Jan 2010 16:05:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2010 16:05:41 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.117 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.117 us-mr1.zend.com Received: from [63.205.162.117] ([63.205.162.117:35292] helo=us-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/97-29385-458D55B4 for ; Tue, 19 Jan 2010 11:05:40 -0500 Received: from us-gw1.zend.com (us-ex1.zend.net [192.168.16.5]) by us-mr1.zend.com (Postfix) with ESMTP id 3234D43FB2; Tue, 19 Jan 2010 01:13:17 -0800 (PST) Received: from [192.168.27.5] ([192.168.27.5]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 Jan 2010 08:05:36 -0800 Message-ID: <4B55D850.8000604@zend.com> Date: Tue, 19 Jan 2010 08:05:36 -0800 Organization: Zend Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b2pre Thunderbird/3.0 MIME-Version: 1.0 To: Michael Wallner CC: internals@lists.php.net References: <4B54FC87.8070106@zend.com> <4F.56.22457.408955B4@pb1.pair.com> In-Reply-To: <4F.56.22457.408955B4@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jan 2010 16:05:36.0957 (UTC) FILETIME=[3CFB8ED0:01CA9921] Subject: Re: [PHP-DEV] Re: function call chaining From: stas@zend.com (Stanislav Malyshev) Hi! > 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"]. The second was next on my list, while the first seems to me kind of exotic - why create object only to call one method and immediately drop it? Why this method is not static then? > I honestly don't see func()()()() make anything better in the > world of a PHP programmer. You probably don't use closures, right? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com