Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71389 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61796 invoked from network); 21 Jan 2014 21:56:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jan 2014 21:56:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:40034] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3E/14-40896-A1DEED25 for ; Tue, 21 Jan 2014 16:56:43 -0500 Received: from [192.168.2.31] (ppp-88-217-76-145.dynamic.mnet-online.de [88.217.76.145]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id EB36B3FFDD; Tue, 21 Jan 2014 22:57:14 +0100 (CET) To: Sara Golemon Cc: PHP internals In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 21 Jan 2014 22:56:29 +0100 Message-ID: <1390341389.11834.90.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] __debug_info() From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi On Tue, 2014-01-21 at 13:26 -0800, Sara Golemon wrote: > Something new to argue about: > > https://wiki.php.net/rfc/debug-info What impact does this have to debuggers like Xdebug? A comment: PHP in most places like var_dump() usually shows the truth, I think that is nice ... reason why internal classes have this hook is that there is no truth. I assume a cast to array and ReflectionObject will still show the truth? This should be mentioned in the RFC so it can be added to var_dump() docs in case this is accepted. johannes