Edit report at http://bugs.php.net/bug.php?id=53146&edit=1

 ID:                 53146
 Updated by:         cataphr...@php.net
 Reported by:        j dot lutz at lutz-it dot com
 Summary:            DateInterval Object cannot be serialized
 Status:             Assigned
 Type:               Feature/Change Request
 Package:            Date/time related
 Operating System:   Win7
 PHP Version:        5.3.3
-Assigned To:        cataphract
+Assigned To:        derick
 Block user comment: N
 Private report:     N

 New Comment:

Reassigning to Derick, as the patch I've written is under his
consideration.


Previous Comments:
------------------------------------------------------------------------
[2010-10-24 20:50:43] j dot lutz at lutz-it dot com

Description:
------------
Same problem as in #39821 regarding DateTime Object which was not
serializabel until v5.3.



After unserialize of a DateInterval-Object it's not possible to use the
method format() onto this object. 



ErrorException [ Warning ]: DateInterval::format()

"The DateInterval object has not been correctly initialized by its
constructor"



but that would be very handy ;-)



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53146&edit=1

Reply via email to