Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76674 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16488 invoked from network); 19 Aug 2014 00:04:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Aug 2014 00:04:18 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:41273] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/50-14556-18492F35 for ; Mon, 18 Aug 2014 20:04:18 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 4CEEA2400E2; Mon, 18 Aug 2014 20:04:14 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id z-8tZGlTH8cT; Mon, 18 Aug 2014 20:04:14 -0400 (EDT) Received: from [192.168.0.2] (05439dda.skybroadband.com [5.67.157.218]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 723FE2400C2; Mon, 18 Aug 2014 20:04:11 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: Date: Tue, 19 Aug 2014 01:04:09 +0100 Cc: Stas Malyshev , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <8DC84B14-42BB-466D-B07A-03ADB68EFA34@ajf.me> References: <235C617B-25E1-4185-A784-38EF1D7BFFDC@ajf.me> <38FC0B11-5E15-43E9-8467-347359970D46@ajf.me> <53F1372B.9080207@sugarcrm.com> To: Levi Morrison X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] [VOTE][RFC] Closure::call() From: ajf@ajf.me (Andrea Faulds) On 18 Aug 2014, at 00:40, Levi Morrison wrote: > On Sun, Aug 17, 2014 at 5:13 PM, Stas Malyshev = wrote: >> Hi! >>=20 >>> It does, but maybe you missed it. Under the Proposal section: >>>=20 >>>> To solve this, we relax the current invariant of scoped closures >>>> having to be bound, and add a new parameter to bind(To) to produce >>>> an unbound, scoped closure, like so: >>=20 >> Indeed, I missed it - I was looking for bindTo. I think it should be >> made more prominent, and I'm not sure what closure that is not = static, >> but does not have a bound object, means. What happens if you call it? = It >> sounds a bit strange concept - why would you need a closure that is = not >> static, but is not bound to any object? >=20 > Hence the vote was cancelled while it is reworked. To clarify: The RFC has been reworked now, I actually changed the RFC = and patch just before I cancelled the vote. Review appreciated before = vote is reopened. -- Andrea Faulds http://ajf.me/