Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46522 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20340 invoked from network); 24 Dec 2009 12:20:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Dec 2009 12:20:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=chris_se@gmx.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chris_se@gmx.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.net designates 213.165.64.20 as permitted sender) X-PHP-List-Original-Sender: chris_se@gmx.net X-Host-Fingerprint: 213.165.64.20 mail.gmx.net Linux 2.6 Received: from [213.165.64.20] ([213.165.64.20:51347] helo=mail.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 18/E1-11002-07C533B4 for ; Thu, 24 Dec 2009 07:20:01 -0500 Received: (qmail invoked by alias); 24 Dec 2009 12:19:51 -0000 Received: from p54A147A0.dip.t-dialin.net (EHLO chris-se.dyndns.org) [84.161.71.160] by mail.gmx.net (mp017) with SMTP; 24 Dec 2009 13:19:51 +0100 X-Authenticated: #186999 X-Provags-ID: V01U2FsdGVkX197wPIasiB7KGAI69Km6V/8eTMgvSjfXYjVPlPs4y c4mTvW5XoaRGHc Received: from [192.168.100.100] (unknown [192.168.100.100]) by chris-se.dyndns.org (Postfix) with ESMTP id F11D26B43 for ; Thu, 24 Dec 2009 13:19:15 +0100 (CET) Message-ID: <4B335C60.2070403@gmx.net> Date: Thu, 24 Dec 2009 13:19:44 +0100 User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: internals References: <4B01A4C2.8030602@gmx.net> <4B27DD0B.1070303@gmx.net> <6571303B-82D2-43E4-8550-E2B9420BA241@pooteeweet.org> <4B27E7A4.6030503@gmx.net> In-Reply-To: <4B27E7A4.6030503@gmx.net> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5600000000000001 Subject: Re: [PHP-DEV] Closures and $this: Please vote! From: chris_se@gmx.net (Christian Seiler) Hello again, A quick summary of the votes so far (since 15th December): internals@ votes: 0: (1) Alexey Zakhlestin A: (1) Hannes Magnusson C: (0) - D: (0) - A+: (2) Christian Seiler, Joey Smith AS: (1) Stanislav Malyshev --------------------------- 5 votes [AS is Stas' version with bind/bindTo but no implicit $obj->x = function () { ... } ; $obj->x(); without userland implementing it in __call] non-internals@ votes: 0: (0) - A: (1) Victor Bolshov C: (0) - D: (0) - A+: (4) Ionut G. Stan, Richard Quadling, Mike Robinson, Larry Garfield AS: (0) - --------------------------- 5 votes Total tally: 0: 1 A: 2 C: 0 D: 0 A+: 6 AS: 1 --------------------------- 10 votes My suggestion is to wait until the 15th of January (that's one month since I started this thread) and that should have been enough time of everybody. Regards, Christian PS: As a side note, since somebody brought it up in the past few days: It is not really *technical* issue with the engine which variant we implement, it's simply a design choice. We didn't drop $this support in closures in 5.3 for technical reasons but for the simple reason that there was no agreement in sight on *how* to implement it. And since the current code for closures is a bit of a mess in PHP6 because of the back and forth due to the numerous discussions, I'll have to touch it again anyway. (I only cleaned up 5.3 for the release.)