[php-src] Issue #8153: DateTime->sub produces different value than on older versions

From: Date: Thu, 21 Apr 2022 18:37:07 +0000
Subject: [php-src] Issue #8153: DateTime->sub produces different value than on older versions
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241137@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8153 Comment Author: hormus @egorbwork the bug has existed since php 8.1.0 and later, while previous versions do not have this type of bug. it was fixed in php 8.1.0 Probably if you show a code of up to 10 lines it is not this bug. https://3v4l.org/1kqoo Resulted in this output: ` object(DateTime)#3 (3) { ["date"]=> string(26) "2022-02-24 23:00:00.999900" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } `

« previous php.bugs (#241137) next »