DateTimeZone Serialize/Unserialize

From: Date: Tue, 25 Sep 2012 12:02:43 +0000
Subject: DateTimeZone Serialize/Unserialize
Groups: php.internals 
Request: Send a blank email to internals+get-63236@lists.php.net to get a copy of this message
Morning! I was creating a patch to allow serialize/unserialize of the DateTimeZone object. When running make test I found that we already have a test for the serialize/unserialize of DateTimeZone. The test checks that we are _not_ able to serialize/unserialize the DateTimeZone object: https://github.com/php/php-src/blob/PHP-5.4/ext/date/tests/DateTimeZone_serialize.phpt Is the test correct or do we want to be able to serialize/unserialize DateTimeZone? If the test is correct, why do we not want to be able to serialize/unserialize DateTimeZone objects? Thank you! -- Lonny Kapelushnik http://lonnylot.com (732) 807-5509

« previous php.internals (#63236) next »