> +     if (!php_date_initialize_from_hash(&return_value, &dateobj, myht 
> +             php_error(E_ERROR, "Invalid serialization data for DateTime 
> object");
> +     }

Why this is E_ERROR? Can't we recover from this problem? Bad
serialization data is E_NOTICE for unserialize(), why suddenly it
becomes fatal error?

Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to