Re: Null bytes in anonymous class names

From: Date: Wed, 11 Nov 2015 01:06:32 +0000
Subject: Re: Null bytes in anonymous class names
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-89163@lists.php.net to get a copy of this message
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/

« previous php.internals (#89163) next »