[php-src] Issue #7752: Datetime with 2203 year has a different timestamp in PHP 8.1

From: Date: Fri, 10 Dec 2021 16:34:04 +0000
Subject: [php-src] Issue #7752: Datetime with 2203 year has a different timestamp in PHP 8.1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238323@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7752 Author: mvorisek ### Description The following code: ```php var_dump( (new \DateTime('2203-10-05 15:05:37.180157', new \DateTimeZone('America/Los_Angeles'))) ->getTimestamp() ); ``` https://3v4l.org/HpVAr produces different result on PHP 8.1 vs PHP 7.4/8.0 it is from our failing unit test, what result is correct and any plain to bugfix in either PHP 8.1 or the PHP 8.0 and lower? ### PHP Version PHP 8.1.0 ### Operating System linux

« previous php.bugs (#238323) next »