Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89079 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40075 invoked from network); 5 Nov 2015 14:21:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2015 14:21:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.160 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.160 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.160] ([81.169.146.160:39954] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A9/22-24765-DF56B365 for ; Thu, 05 Nov 2015 09:21:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1446733307; l=1299; s=domk; d=kelunik.com; h=Content-Type:To:From:Subject:Date:MIME-Version; bh=J3BbFuUC4LDcwdVaX5s2hqfgYiV3SgOgUqOWW3vi2u4=; b=GpER+5uw/L/XhhVfdVQpXiyyFUE+KJ7UMRwmiRz0rGLeyVZ0rlgFqZG/iFj3wDFI+Se J620rx8r6v2yl5eqx6A4klBpYZXgCA6U4/UCBrRrchWcxwMFDi0QiFkYAY3J80PQXl1sC Etbq/XGESOxtIOSn6SsUWI5dkiDeIFOMC1c= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtO3Y6 X-RZG-CLASS-ID: mo00 Received: from mail-wm0-f45.google.com ([74.125.82.45]) by smtp.strato.de (RZmta 37.14 AUTH) with ESMTPSA id h06fa3rA5ELl0hM (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, 5 Nov 2015 15:21:47 +0100 (CET) Received: by wmnn186 with SMTP id n186so15576179wmn.1 for ; Thu, 05 Nov 2015 06:21:47 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.28.146.139 with SMTP id u133mr4242504wmd.56.1446733307029; Thu, 05 Nov 2015 06:21:47 -0800 (PST) Received: by 10.194.2.171 with HTTP; Thu, 5 Nov 2015 06:21:46 -0800 (PST) Date: Thu, 5 Nov 2015 15:21:46 +0100 X-Gmail-Original-Message-ID: Message-ID: To: PHP Internals , bwoebi@php.net Content-Type: multipart/alternative; boundary=001a11444dded9b5990523cbd88b Subject: Null bytes in anonymous class names From: me@kelunik.com (Niklas Keller) --001a11444dded9b5990523cbd88b Content-Type: text/plain; charset=UTF-8 Hello, I discovered today that anonymous class names contain a null byte right after "class@anonymous". I don't think class names should contain non-printable characters. How about removing that null byte? https://3v4l.org/QUKpV https://github.com/php/php-src/blob/da8e6ec4a5063d9f60f83f43c55bc17d015cac8b/Zend/zend_compile.c#L5207 Regards, Niklas --001a11444dded9b5990523cbd88b--