Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48018 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71556 invoked from network); 20 Apr 2010 08:12:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Apr 2010 08:12:55 -0000 Authentication-Results: pb1.pair.com header.from=mathieu.suen@easyflirt.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mathieu.suen@easyflirt.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain easyflirt.com designates 91.199.255.56 as permitted sender) X-PHP-List-Original-Sender: mathieu.suen@easyflirt.com X-Host-Fingerprint: 91.199.255.56 python-06.easyrencontre.com Linux 2.6 Received: from [91.199.255.56] ([91.199.255.56:45424] helo=mail.easyflirt.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EB/00-05705-5026DCB4 for ; Tue, 20 Apr 2010 04:12:54 -0400 Received: from [192.168.0.51] (office.easyrencontre.com [78.155.152.6]) by mail.easyflirt.com (Postfix) with ESMTPSA id 63A3F636600; Tue, 20 Apr 2010 10:12:51 +0200 (CEST) Message-ID: <4BCD6202.8030301@easyflirt.com> Date: Tue, 20 Apr 2010 10:12:50 +0200 User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: Stanislav Malyshev CC: internals@lists.php.net References: <4B01A4C2.8030602@gmx.net> <4B27DD0B.1070303@gmx.net> <6571303B-82D2-43E4-8550-E2B9420BA241@pooteeweet.org> <4B27E7A4.6030503@gmx.net> <4B335C60.2070403@gmx.net> <4BBE4C1A.1090301@zend.com> In-Reply-To: <4BBE4C1A.1090301@zend.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: What about static/self was: (Re: [PHP-DEV] Closures and $this) From: mathieu.suen@easyflirt.com ("mathieu.suen") Hi, Also $this have been wildly discuss here, but the same discussion can be apply to static/self. self might be simple to figure out how to bind within a closure. It can be bind to the name of the class where the closure is define. static is a more tricky one but it should be the same thing than $this. Is there a RFC about it? Thanks Stanislav Malyshev wrote: > Hi! > > I see that still nothing happens with closures and $this, and it > sounds like the overall feeling was that we still want $this in > closures work, and most are inclined to A here: > http://marc.info/?l=php-internals&m=126090656804423&w=2 > or some version of it. > > So, can anybody provide any reason not to resurrect $this in closures > in trunk? If not, I intend to do it next week (unless somebody is > already working on it - don't want to step on anybody's toes :). -- Mathieu Suen