__sleep and hidden variables
| From: | Alan Knowles | Date: | Sun, 12 Dec 2004 13:41:50 +0000 |
| Subject: | __sleep and hidden variables | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-14048@lists.php.net to get a copy of this message | ||
I'm trying to serialize DBDO objects, which contain alot of hidden information at present, within the bound object.
looking at the serialization code, it appears to only access the zval.value.obj.properties directly, rather than calling the property_read handler on the object. - are there any plans to change this..???
I guess my other option is to create private variables on the __sleep call, although this adds another layer of complexity to the hidden variable memory managment.
Regards
Alan