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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php