Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89197 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63447 invoked from network); 12 Nov 2015 13:46:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2015 13:46:15 -0000 Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.219 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.219 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.219] ([81.169.146.219:36465] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/00-62563-52894465 for ; Thu, 12 Nov 2015 08:46:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1447335971; l=2092; s=domk; d=kelunik.com; h=Content-Type:Cc:To:From:Subject:Date:References:In-Reply-To: MIME-Version; bh=hc6nHrh2ZC0T1nhXaoS9NlvecOzUiKaOX67ocyKc/Gw=; b=jvdbKmdtYEpyRJebaroQ/ie6Mv4X81625NTOxVTqJA5DWTm2+wcXRBTgoGn6FL5GgvS nhXJyCjzjNubsuYo5Mjfj1t1Idvybsg/ueQAjkuvQsCM+ULWxasQQB5WKmGBy59ljoR/K Yw2bJ21kSmpPiqwMpT387+caymASAanVX90= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtOnM6 X-RZG-CLASS-ID: mo00 Received: from mail-wm0-f50.google.com ([74.125.82.50]) by smtp.strato.de (RZmta 37.14 AUTH) with ESMTPSA id f03d84rACDkAfYI (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Thu, 12 Nov 2015 14:46:10 +0100 (CET) Received: by wmec201 with SMTP id c201so33690074wme.0 for ; Thu, 12 Nov 2015 05:46:10 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.28.226.11 with SMTP id z11mr4815659wmg.56.1447335970651; Thu, 12 Nov 2015 05:46:10 -0800 (PST) Received: by 10.194.2.171 with HTTP; Thu, 12 Nov 2015 05:46:10 -0800 (PST) In-Reply-To: References: <563B6ED1.1030601@gmail.com> Date: Thu, 12 Nov 2015 14:46:10 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Derick Rethans Cc: Nikita Popov , Steven Hilder , PHP Internals , Leigh , Rowan Collins , Joe Watkins , Dmitry Stogov Content-Type: multipart/alternative; boundary=001a114b0e0266d2ff0524582a2e Subject: Re: [PHP-DEV] Null bytes in anonymous class names From: me@kelunik.com (Niklas Keller) --001a114b0e0266d2ff0524582a2e Content-Type: text/plain; charset=UTF-8 2015-11-11 14:44 GMT+01:00 Derick Rethans : > 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 --001a114b0e0266d2ff0524582a2e--