 |
PHP: Magic Methods - Manual - PHP: Hypertext Preprocessor
The above hint for using array_keys((array)$obj) got me investigating how to get __sleep to really work with object hierarchies. With PHP 5.2.3, If you want to serialize an object that is part of an object hierarchy and you want to selectively serialize m
php.net |
 |