Test: /ext/date/tests/bug77097.phpt - Version 7.3.12        

Bug #77097 DateTime::diff gives wrong diff when the actual diff is less than 1 second
Submitted: 2018-11-03 11:59:17 Modified: 2018-12-05 11:57:07
From: vishnunn Assigned: derick
Status: Closed Package: Date/time related
PHP Version: 7.3.0RC4 OS: CentOS Linux 7.5.1804

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Fatal error: Uncaught Exception: DateTime::__construct(): Invalid date.timezone value 'Japanese', we selected the timezone 'UTC' for now. in %s/bug77097.php:2
002+ Stack trace:
003+ #0 %s/bug77097.php(2): DateTime->__construct('2018-11-03 11:3...')
004+ #1 {main}
005+ thrown in %s/bug77097.php on line 2
001- int(1)
002- int(0)
003- float(0.781751)
004- int(0)
005- int(0)
006- float(0.781751)
007- int(0)
008- int(0)
009- float(0.781751)
010- int(0)
011- int(0)
012- float(0.781751)