Re: com php-src: Backported fix for bug #62852: NEWS ext/date/php_date.c ext/date/tests/bug62852.phpt ext/date/tests/bug62852_var2.phpt
ext/date/tests/bug62852_var3.phpt
| From: | Stas Malyshev | Date: | Wed, 20 Mar 2013 00:47:29 +0000 |
| Subject: | Re: com php-src: Backported fix for bug #62852: NEWS ext/date/php_date.c ext/date/tests/bug62852.phpt ext/date/tests/bug62852_var2.phpt ext/date/tests/bug62852_var3.phpt |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-71633@lists.php.net to get a copy of this message | ||
Hi!
> + if (!php_date_initialize_from_hash(&return_value, &dateobj, myht TSRMLS_CC)) {
> + 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