Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76325 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83620 invoked from network); 3 Aug 2014 21:50:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2014 21:50:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.207 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.207 imap2-2.ox.privateemail.com Received: from [192.64.116.207] ([192.64.116.207:40329] helo=imap2-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/65-25844-EAEAED35 for ; Sun, 03 Aug 2014 17:50:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 831D38C0075 for ; Sun, 3 Aug 2014 17:51:01 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UOmv56MRien0 for ; Sun, 3 Aug 2014 17:51:01 -0400 (EDT) Received: from [192.168.0.15] (unknown [90.210.122.167]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 6AA2D8C007B for ; Sun, 3 Aug 2014 17:50:59 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Message-ID: Date: Sun, 3 Aug 2014 22:50:55 +0100 To: PHP internals Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) Subject: [RFC] Closure::call and Function Referencing as Closures From: ajf@ajf.me (Andrea Faulds) Good evening, I am proposing two new RFCs. As they are both inter-related and = complementary, with the second having the first as a prerequisite, I=92m = making just a single email to cover both: https://wiki.php.net/rfc/closure_apply https://wiki.php.net/rfc/function_referencing Both have written, tested and working patches aimed for master. Thoughts appreciated, thanks. -- Andrea Faulds http://ajf.me/