[php-src] Issue #16037: Assertion failure in ext/date/php_date.c

From: Date: Wed, 25 Sep 2024 04:32:35 +0000
Subject: [php-src] Issue #16037: Assertion failure in ext/date/php_date.c
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247890@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/16037 Author: YuanchengJiang ### Description The following code: ```php <?php $d = new DateInterval('P2Y4DT6H8M'); $fusion = $d; $u = [[]]; $fusion->__unserialize($u); ``` Resulted in this output: ``` /php-src/ext/date/php_date.c:4841: void restore_custom_dateinterval_properties(zval *, HashTable *): Assertion `!(((__ht)->u.flags & (1<<2)) != 0)' failed. Aborted (core dumped) ``` ### PHP Version PHP 8.4.0-dev ### Operating System ubuntu 22.04

« previous php.bugs (#247890) next »