Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89128 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48696 invoked from network); 9 Nov 2015 17:48:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Nov 2015 17:48:34 -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.217 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.217 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.217] ([81.169.146.217:21194] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/64-13667-17CD0465 for ; Mon, 09 Nov 2015 12:48:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1447091310; l=2125; s=domk; d=kelunik.com; h=Content-Type:Cc:To:From:Subject:Date:References:In-Reply-To: MIME-Version; bh=fmRQPFjl7itVVaACgNk+vmfMTiK89kVLCXHdeq1+R9Y=; b=cFF8m6HC9FOmelaTJ/TqzoHF7rTXnn+3gnpFNKgu2N9yzzaff0Xv8aHpZSCbA+PFIdR wZRcm/Iy6oWQvDcZ9J2goZOy3CLhejV43BGB4ebvCj+UCEPTG9FedOr9R4PA+9yq2tU2y TW129v3uDy7mRYtlgCy+z+r7jm2el9mO/8I= 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 50547erA9HmUs2R (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 ; Mon, 9 Nov 2015 18:48:30 +0100 (CET) Received: by wmec201 with SMTP id c201so93097713wme.0 for ; Mon, 09 Nov 2015 09:48:30 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.174.202 with SMTP id bu10mr37918678wjc.74.1447091310146; Mon, 09 Nov 2015 09:48:30 -0800 (PST) Received: by 10.194.2.171 with HTTP; Mon, 9 Nov 2015 09:48:30 -0800 (PST) In-Reply-To: References: <563B6ED1.1030601@gmail.com> Date: Mon, 9 Nov 2015 18:48:30 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Leigh Cc: Steven Hilder , PHP Internals , Rowan Collins , Joe Watkins , Dmitry Stogov Content-Type: multipart/alternative; boundary=089e01493d767fc04d05241f3399 Subject: Re: [PHP-DEV] Null bytes in anonymous class names From: me@kelunik.com (Niklas Keller) --089e01493d767fc04d05241f3399 Content-Type: text/plain; charset=UTF-8 2015-11-09 17:46 GMT+01:00 Leigh : > > On 9 November 2015 at 16:42, Niklas Keller 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. --089e01493d767fc04d05241f3399--