Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55235 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49537 invoked from network); 5 Sep 2011 20:00:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2011 20:00:27 -0000 Authentication-Results: pb1.pair.com header.from=ar@ez.no; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ar@ez.no; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ez.no from 209.85.161.42 cause and error) X-PHP-List-Original-Sender: ar@ez.no X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:34550] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/03-25098-75A256E4 for ; Mon, 05 Sep 2011 16:00:27 -0400 Received: by fxe23 with SMTP id 23so3859959fxe.29 for ; Mon, 05 Sep 2011 13:00:07 -0700 (PDT) Received: by 10.223.23.67 with SMTP id q3mr383542fab.82.1315252807270; Mon, 05 Sep 2011 13:00:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.24.166 with HTTP; Mon, 5 Sep 2011 12:59:47 -0700 (PDT) Date: Mon, 5 Sep 2011 21:59:47 +0200 Message-ID: To: PHP Internals List Content-Type: multipart/alternative; boundary=0015174766645e001304ac372812 Subject: "Anonymous functions are currently implemented using the Closure class. This is an implementation detail and should not be relied upon." From: ar@ez.no (=?UTF-8?B?QW5kcsOpIFLDuG1ja2U=?=) --0015174766645e001304ac372812 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Despite several mentions in the manual, lots of php 5.3 code uses this with instanceof or in function signature (eg: Doctrine 2). If you don't want to support this in the future, could this be cleaned-up i= n 5.4? ( the longer you wait, the more you break ) Possibly by creating a interface called Closure, and change the name of the actual class + implement the Closure interface.. Best Regards / Med vennlig hilsen Andr=C3=A9 R. --0015174766645e001304ac372812--