Re: New handler for retrieving properties when object is serialized
From: Gustavo Lopes Date: Fri, 26 Jul 2013 21:06:47 +0000 Subject: Re: New handler for retrieving properties when object is serialized References: 1 2 3 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
On 26-07-2013 11:53, Jakub Zelenka wrote:I think not using PHP_VAR_SERIALIZE_INIT() would always be an error in the extension anyway. However, you are right this method is not "nice" by any means. -- Gustavo LopesYou can check for BG(serialize_lock) instead of GC_G(gc_active)What if there was an extension that call php_var_serialize without locking? I know there probably isn't any but still I don't think that this is a nice way how to provide data for serialization.
Thread (22 messages)
« previous | php.internals (#68326) | next » |
---|