Re: Null bytes in anonymous class names

From: Date: Mon, 09 Nov 2015 17:48:30 +0000
Subject: Re: Null bytes in anonymous class names
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-89128@lists.php.net to get a copy of this message
2015-11-09 17:46 GMT+01:00 Leigh <leight@gmail.com>: > > On 9 November 2015 at 16:42, Niklas Keller <me@kelunik.com> wrote: > >> >> Having the path info is quite useful for debugging purposes. >> >> Regards, Niklas >> > > It is, but it will always still be available from > ReflectionClass::getFileName() > But most implementations just use something like: $type = is_object($x) ? get_class($x) : gettype($x); This results in non-useful debugging info when the path gets stripped.

« previous php.internals (#89128) next »