Re: New handler for retrieving properties when object is serialized

From: Date: Fri, 26 Jul 2013 09:53:36 +0000
Subject: Re: New handler for retrieving properties when object is serialized
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-68316@lists.php.net to get a copy of this message
> You 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. > What I think is that we should add an extra parameter to get_properties > instead of keeping adding these. > That would be nice. I will send a patch later and then we can discuss it... ;)

« previous php.internals (#68316) next »