Re: Null bytes in anonymous class names
| From: | Niklas Keller | Date: | Thu, 12 Nov 2015 13:46:10 +0000 |
| Subject: | Re: Null bytes in anonymous class names | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-89197@lists.php.net to get a copy of this message | ||
2015-11-11 14:44 GMT+01:00 Derick Rethans <derick@php.net>:
> On Wed, 11 Nov 2015, Nikita Popov wrote:
>
> > Using a NUL byte conveniently achieves both of these goals. We did not
> > however take into account that this would cause issues with 3rd party
> > tooling that does not support binary data.
>
> I withdraw my comment. It does not cause issues for me (anymore). Having
> the NUL is actually making things easier.
>
> cheers,
> Derick
>
Semi-Related: NUL is especially an issue in exception messages in
combination with get_class, because they truncate the messages:
https://bugs.php.net/bug.php?id=70894
Regards, Niklas