Re: [RFC] [VOTE] __debugInfo()
| From: | Stas Malyshev | Date: | Tue, 11 Feb 2014 20:54:14 +0000 |
| Subject: | Re: [RFC] [VOTE] __debugInfo() | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-72473@lists.php.net to get a copy of this message | ||
Hi!
> Usecase #2: new maintainer
> Hunting bug in proxy object. No way to dump internals at all. Wait what?
That's exactly what would routinely happen with this proposal. People
would use __debugInfo to pretty-print their object structure, and then
discover they actually have no way to know what's *really* there when
their pretty-printer does not work or does not supply needed
information. So they would eventually ask for real_var_dump().
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227