Re: [PHP-DEV] Serialization question

2005-03-20 Thread Marcus Boerger
Hello l0t3k, Monday, March 21, 2005, 12:14:03 PM, you wrote: > Marcus, > i just read through var.c (specifically php_var_serialize_intern) and it > seems as if the properties hash is handled correctly if the user specifies > __sleep and __wakeup. > IOW, the custom callback is called, then _sle

Re: [PHP-DEV] Serialization question

2005-03-20 Thread l0t3k
Marcus, i just read through var.c (specifically php_var_serialize_intern) and it seems as if the properties hash is handled correctly if the user specifies __sleep and __wakeup. IOW, the custom callback is called, then _sleep is called to determine how to further handle properties. l0t3k

Re: [PHP-DEV] Serialization question

2005-03-20 Thread Marcus Boerger
Hello l0t3k, Sunday, March 20, 2005, 5:29:57 PM, you wrote: > a quick question about the new serialization callbacks. is it necessary only > to serialize the state specific to the given object, or > do we also have to explicitly serialize the properties hash ? You have to do all your own (.) a