Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89163 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8291 invoked from network); 11 Nov 2015 01:06:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Nov 2015 01:06:37 -0000 X-Host-Fingerprint: 90.204.80.47 unknown Received: from [90.204.80.47] ([90.204.80.47:18089] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/8B-21426-C9492465 for ; Tue, 10 Nov 2015 20:06:37 -0500 Message-ID: <72.8B.21426.C9492465@pb1.pair.com> To: internals@lists.php.net References: Date: Wed, 11 Nov 2015 01:06:32 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 90.204.80.47 Subject: Re: [PHP-DEV] Null bytes in anonymous class names From: ajf@ajf.me (Andrea Faulds) Hi Derick, Derick Rethans wrote: > I would suggest replacing it with something else. As I am making this > work for Xdebug, I really need to ship the full name to the IDE so that > they can later do look-ups on anonymous class properties, and with the > \0 the IDEs seem to fuck this up. I suggest using another @ instead of > the \0. This is mostly tangential, but I note that we use "{closure}" as the name of anonymous functions. So, maybe it should be "{class}@..." for anonymous classes? It's at least semi-consistent... Thanks. -- Andrea Faulds http://ajf.me/