Re: [RFC] __debug_info()
| From: | Yasuo Ohgaki | Date: | Wed, 22 Jan 2014 06:28:08 +0000 |
| Subject: | Re: [RFC] __debug_info() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71397@lists.php.net to get a copy of this message | ||
Hi all,
Sorry for off topic.
On Wed, Jan 22, 2014 at 6:37 AM, Lars Strojny <lars@strojny.net> wrote:
> Love it, two things: the var_dump() properties will be replaced (not
> merged) with the "real" properties in the object (I am asking as that would
> make it very very cool for stuff like doctrine, where lazy loaded entities
> are way too large to dump)? As for the name, I would prefer __debugInfo()
> as in __callStatic(). I know there is __set_state() but that's something
> that needs deprecation and fixing :)
Could anyone add __setState() for 5.6?
Thank you.
BTW, I like the RFC.
--
Yasuo Ohgaki
yohgaki@ohgaki.net