Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38658 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50223 invoked from network); 27 Jun 2008 15:56:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jun 2008 15:56:36 -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 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:64569] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/66-33826-1BD05684 for ; Fri, 27 Jun 2008 11:56:35 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 27 Jun 2008 18:56:46 +0300 Received: from [192.168.17.47] ([192.168.17.47]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 27 Jun 2008 08:55:53 -0700 Message-ID: <48650D79.5090501@zend.com> Date: Fri, 27 Jun 2008 08:55:37 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Dmitry Stogov CC: Alexander Wagner , internals@lists.php.net, Andi Gutmans , Christian Seiler References: <4856A547.3080801@gmx.net> <4863C299.1080002@gmx.net> <698DE66518E7CA45812BD18E807866CE01BD0E9A@us-ex1.zend.net> <200806271601.33407.waqner@gmx.net> <4864FE15.3020008@zend.com> In-Reply-To: <4864FE15.3020008@zend.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Jun 2008 15:55:53.0377 (UTC) FILETIME=[47451110:01C8D86E] Subject: Re: [PHP-DEV] [PATCH] [RFC] Closures and lambda functions in PHP From: stas@zend.com (Stanislav Malyshev) Hi! > I thought about use($this) too. :) > I'll try to implement it in the next version of the patch. I think implicitly using $this when it's referred to is much better. $this is very special variable so it deserves special treatment. If we'd need to spare a couple of bytes for that - that's not too much to pay. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com