Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46820 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1748 invoked from network); 19 Jan 2010 18:07:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2010 18:07:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain l-i-e.com designates 67.139.134.202 as permitted sender) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:4439] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 82/BE-29385-1D4F55B4 for ; Tue, 19 Jan 2010 13:07:15 -0500 Received: (qmail 8977 invoked by uid 98); 19 Jan 2010 18:07:13 -0000 Received: from localhost by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.05 (clamdscan: 0.88.7/10312. Clear:RC:1(127.0.0.1):. Processed in 0.078122 secs); 19 Jan 2010 18:07:13 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 19 Jan 2010 18:07:12 -0000 Received: from webmail (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Tue, 19 Jan 2010 12:07:12 -0600 (CST) Message-ID: <3716.98.193.1263924432.squirrel@www.l-i-e.com> In-Reply-To: <68de37341001182329r7f3a87a6lb0784a532995630d@mail.gmail.com> References: <4B54FC87.8070106@zend.com> <68de37341001182329r7f3a87a6lb0784a532995630d@mail.gmail.com> Date: Tue, 19 Jan 2010 12:07:12 -0600 (CST) To: "Eddie Drapkin" Cc: "Alexey Zakhlestin" , "Stanislav Malyshev" , "PHP Internals" User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] function call chaining From: ceo@l-i-e.com ("Richard Lynch") On Tue, January 19, 2010 1:29 am, Eddie Drapkin wrote: > On Tue, Jan 19, 2010 at 2:14 AM, Alexey Zakhlestin > wrote: >> >> Would be nice if something like this worked too: >> >>    (new Class())->method(); >> >> > > I was just looking at some Java code and thinking, "man I wish PHP did > this." Whereas I look at that same code and think, "man I'm glad PHP doesn't do that" :-) Seriously, I don't like to have such complexity in the syntax. KISS -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch