[php-src] Issue #9857: Datetime

From: Date: Mon, 31 Oct 2022 08:22:03 +0000
Subject: [php-src] Issue #9857: Datetime
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242711@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9857 Author: gassan ### Description The following code: Set system date/time to 30.10.2022 02:05 CEST (Europe/Berlin) (It should be Sommer Time - first 02:05 at this night) ```php <?php echo (new DatetimeImmutable('now'))->getTimestamp() - \time(); ``` Resulted in this output: ``` 3600 ``` But I expected this output instead: ``` 0 ``` ### PHP Version PHP 7.4.32 ### Operating System Debian 11, Mac OS Monteray

« previous php.bugs (#242711) next »