Re: [RFC] __debug_info()

From: Date: Wed, 22 Jan 2014 17:38:17 +0000
Subject: Re: [RFC] __debug_info()
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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


Thread (30 messages)

« previous php.internals (#71411) next »