ID:               41334
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mail at philipp-wagner dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: all
 PHP Version:      5.2.2
 Assigned To:      derick
 New Comment:

This has been implemented some time ago - for PHP 5.3.


Previous Comments:
------------------------------------------------------------------------

[2007-05-08 21:33:08] mail at philipp-wagner dot com

Description:
------------
As noted in bug #39821 and the documentation, DateTime objects cannot
be serialized.
Still, serializing such objects would be of much use. I use these
objects heavily, as well as serialize(). Currently I have to write a
__destruct() method which saves the DateTime into a string object
variable and read it back at __wakeup(). This causes much unnecessary
work.



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


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

Reply via email to