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
Hello Alan,
the current plan is to write two new handlers that store/read the object
from a string and have the old handlers as a fallback if implemented.
regards
marcus
Sunday, December 12, 2004, 2:41:50 PM, you wrote:
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
--
Best regards,
Marcus mailto:helly@php.net