Test: /ext/intl/tests/dateformat_calendars.phpt - Version 7.0.15    

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

Count Diff
4 (44%)
001- string(44) "Sunday, January 1, 2012 5:12:00 AM GMT+05:12"
002- string(44) "Sunday, January 1, 2012 5:12:00 AM GMT+05:12"
003- string(42) "Sunday, Tevet 6, 5772 5:12:00 AM GMT+05:12"
005- Fatal error: Uncaught IntlException: IntlDateFormatter::__construct(): datefmt_create: invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (locale's default calendar) or IntlDateFormatter::GREGORIAN. Alternatively, it can be an IntlCalendar object in %sdateformat_calendars.php:%d
006- Stack trace:
007- #0 %sdateformat_calendars.php(%d): IntlDateFormatter->__construct('en_US@calendar=...', 0, 0, 'GMT+05:12', -1)
008- #1 {main}
009- thrown in %sdateformat_calendars.php on line %d
3 (33%)
001+ Fatal error: Uncaught IntlException: IntlDateFormatter::__construct(): datefmt_create: no such time zone: 'GMT+05:12' in %s/dateformat_calendars.php:8
002+ Stack trace:
003+ #0 %s/dateformat_calendars.php(8): IntlDateFormatter->__construct('en_US', 0, 0, 'GMT+05:12', 0)
001- string(44) "Sunday, January 1, 2012 5:12:00 AM GMT+05:12"
002- string(44) "Sunday, January 1, 2012 5:12:00 AM GMT+05:12"
003- string(42) "Sunday, Tevet 6, 5772 5:12:00 AM GMT+05:12"
004-
005- Fatal error: Uncaught IntlException: IntlDateFormatter::__construct(): datefmt_create: invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (locale's default calendar) or IntlDateFormatter::GREGORIAN. Alternatively, it can be an IntlCalendar object in %sdateformat_calendars.php:%d
006- Stack trace:
007- #0 %sdateformat_calendars.php(%d): IntlDateFormatter->__construct('en_US@calendar=...', 0, 0, 'GMT+05:12', -1)
2 (22%)
001+ Termsig=11
001- string(44) "Sunday, January 1, 2012 5:12:00 AM GMT+05:12"
002- string(44) "Sunday, January 1, 2012 5:12:00 AM GMT+05:12"
003- string(42) "Sunday, Tevet 6, 5772 5:12:00 AM GMT+05:12"
004-
005- Fatal error: Uncaught IntlException: IntlDateFormatter::__construct(): datefmt_create: invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (locale's default calendar) or IntlDateFormatter::GREGORIAN. Alternatively, it can be an IntlCalendar object in %sdateformat_calendars.php:%d
006- Stack trace:
007- #0 %sdateformat_calendars.php(%d): IntlDateFormatter->__construct('en_US@calendar=...', 0, 0, 'GMT+05:12', -1)
008- #1 {main}
009- thrown in %sdateformat_calendars.php on line %d