The following classes register zend_class_serialize_deny: Closure, COM,
DOTNET, Generator, HashContext, Reflection, ReflectionClass,
ReflectionClassConstant, ReflectionExtension, ReflectionException,
ReflectionFunction, ReflectionFunctionAbstract, ReflectionGenerator,
ReflectionMethod, ReflectionNamedType, ReflectionObject,
ReflectionParameter, ReflectionProperty, ReflectionRype,
ReflectionZendExtension, SimpleXmlElement, SplFileInfo, Variant.
Are these all the built-in classes that cannot be serialized?
Would it be possible to implement ReflectionClass::isSerializable() that
returns false when the class is a) built-in and b) has
zend_class_serialize_deny registered?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php