Re: [PHP-DEV] Class Naming in Core

2017-06-03 Thread Steven Hilder
Tony, On 30 May 2017 11:21:38 +0300, Tony Marston wrote: they should not be forced to change just because some nerd has made a unilateral decision which is way above his pay grade On 30 May 2017 16:18:21 +0300, Tony Marston wrote: just because someone that there should now be a standard

Re: [PHP-DEV] Null bytes in anonymous class names

2015-11-10 Thread Steven Hilder
On Wed, 11 Nov 2015 01:06:32, Andrea Faulds wrote: 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... Hi Andrea, Only slightly tangential - I'm intere

Re: [PHP-DEV] Null bytes in anonymous class names

2015-11-10 Thread Steven Hilder
On Mon, 09 Nov 2015 16:48:57, Leigh wrote: On 9 November 2015 at 15:27, Steven Hilder Can you share your patch? See https://github.com/php/php-src/compare/master...stevenhilder:hide-anon-class-suffix Feedback very welcome :) It should be possible to return the sanitised name without

Re: [PHP-DEV] Null bytes in anonymous class names

2015-11-09 Thread Steven Hilder
On Thu, 05 Nov 2015 15:14:47, Leigh wrote: On 5 November 2015 at 14:59, Rowan Collins wrote: PHP uses null bytes quite a lot to produce deliberately illegal identifiers. For instance the old eval-like create_function() [e.g. https://3v4l.org/hqHjh] and the serialization of private members [e.g