Re: New handler for retrieving properties when object is serialized

From: Date: Thu, 25 Jul 2013 19:56:02 +0000
Subject: Re: New handler for retrieving properties when object is serialized
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-68309@lists.php.net to get a copy of this message
Hi! > __sleep returns an array of object property *names* to be serialized. > Using __sleep you can restrict the set of serialized properties, but the > properties still need to exist. You can create those properties when processing __sleep. Nothing requires them to exist before __sleep was called. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#68309) next »