Re: [RFC] __debug_info()
| From: | Johannes Schlüter | Date: | Tue, 21 Jan 2014 21:56:29 +0000 |
| Subject: | Re: [RFC] __debug_info() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71389@lists.php.net to get a copy of this message | ||
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