On Wed, 22 Jan 2014, Alexander Lisachenko wrote:
> Hello!
>
> I would like to notice, that there is method __set_state() that can be used
> to set internal state of object. We can introduce __get_state() method that
> will be invoked in var_dump(), etc... Personally I don't like __lower_caps
> name of this method, but it will be consistent with __set_state() :)
__set_state() is only meant for userland, not for internals.
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine