ID: 41334 Updated by: [EMAIL PROTECTED] Reported By: mail at philipp-wagner dot com -Status: Open +Status: Assigned -Bug Type: Feature/Change Request +Bug Type: Date/time related Operating System: all PHP Version: 5.2.2 -Assigned To: +Assigned To: derick
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