Re: New handler for retrieving properties when object is serialized

From: Date: Thu, 25 Jul 2013 19:09:27 +0000
Subject: Re: New handler for retrieving properties when object is serialized
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

> It's useful in situation if you only need to change properties for
> serialization. It's very similar to get_debug_info that is used only in
> specific situations (print_r...)

Isn't __sleep already doing this?

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (22 messages)

« previous php.internals (#68307) next »