[php-src] Issue #8152: Cannot hydrate a DateTime instance created without the constructor

From: Date: Sun, 27 Feb 2022 12:20:16 +0000
Subject: [php-src] Issue #8152: Cannot hydrate a DateTime instance created without the constructor
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240059@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8152 Comment Author: nikic > Another solution would be to implement __serialize/__unserialize in PHP 8.2. We'd still > have to try to ensure that pre8.2 payloads are still serializable. That would be my preference. Pre-8.2 payloads should still unserialize fine, because the __wakeup and __unserialize formats are compatible.

« previous php.bugs (#240059) next »