Test: /ext/date/tests/bug73837.phpt - Version 7.2.12        

Bug #73837 "new DateTime()" sometimes returns 1 second ago value on PHP 7.1.0
Submitted: 2016-12-29 19:25:12 Modified: 2017-01-01 12:29:44
From: for-bugs Assigned: derick
Status: Closed Package: Date/time related
PHP Version: 7.1.0 OS: macOS

There are 4 different diffs reported by users for this test.

Count Diff
1 (25%)
002+ microseconds do not differ enough (669)
002- microseconds differ
1 (25%)
002+ microseconds do not differ enough (657)
002- microseconds differ
1 (25%)
002+ microseconds do not differ enough (653)
002- microseconds differ
1 (25%)
001+ Fatal error: Uncaught Exception: DateTime::__construct(): Invalid date.timezone value 'Japanese', we selected the timezone 'UTC' for now. in %s/bug73837.php:6
002+ Stack trace:
001- int(%d)
002- microseconds differ
003+ #0 %s/bug73837.php(6): DateTime->__construct()
004+ #1 {main}
005+ thrown in %s/bug73837.php on line 6