Test: /ext/intl/tests/dateformat_set_timezone_id.phpt - Version 7.2.28    

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

Count Diff
1 (33%)
001+ Fatal error: Uncaught Error: Call to a member function getTimeZoneId() on null in /ROOT/src/php-7.2.28/ext/intl/tests/ut_common.inc:362
002+ Stack trace:
003+ #0 %s/dateformat_set_timezone_id.php(21): ut_datefmt_get_timezone_id(NULL)
004+ #1 /ROOT/src/php-7.2.28/ext/intl/tests/ut_common.inc(12): ut_main()
005+ #2 %s/dateformat_set_timezone_id.php(47): ut_run()
006+ #3 {main}
007+ thrown in /ROOT/src/php-7.2.28/ext/intl/tests/ut_common.inc on line 362
001- After creation of the dateformatter : timezone_id= America/San_Francisco
002- -----------
003- Trying to set timezone_id= America/New_York
004- After call to set_timezone_id : timezone_id= America/New_York
005- Formatting timestamp=0 resulted in Wednesday, December 31, 1969 7:00:00 PM Eastern Standard Time
006- Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 8:00:00 PM Eastern Standard Time
007- -----------
008- Trying to set timezone_id= America/Los_Angeles
009- After call to set_timezone_id : timezone_id= America/Los_Angeles
010- Formatting timestamp=0 resulted in Wednesday, December 31, 1969 4:00:00 PM Pacific Standard Time
011- Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 5:00:00 PM Pacific Standard Time
012- -----------
013- Trying to set timezone_id= America/Chicago
014- After call to set_timezone_id : timezone_id= America/Chicago
015- Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time
016- Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time
017- -----------
018- Trying to set timezone_id= CN
019- After call to set_timezone_id : timezone_id= CN
020- Formatting timestamp=0 resulted in Thursday, January 1, 1970 12:00:00 AM GMT+00:00
021- Formatting timestamp=3600 resulted in Thursday, January 1, 1970 1:00:00 AM GMT+00:00
1 (33%)
001+ Fatal error: Uncaught Error: Call to a member function getTimeZoneId() on null in /root/php-7.2.28/ext/intl/tests/ut_common.inc:362
002+ Stack trace:
003+ #0 %s/dateformat_set_timezone_id.php(21): ut_datefmt_get_timezone_id(NULL)
004+ #1 /root/php-7.2.28/ext/intl/tests/ut_common.inc(12): ut_main()
005+ #2 %s/dateformat_set_timezone_id.php(47): ut_run()
006+ #3 {main}
007+ thrown in /root/php-7.2.28/ext/intl/tests/ut_common.inc on line 362
001- After creation of the dateformatter : timezone_id= America/San_Francisco
002- -----------
003- Trying to set timezone_id= America/New_York
004- After call to set_timezone_id : timezone_id= America/New_York
005- Formatting timestamp=0 resulted in Wednesday, December 31, 1969 7:00:00 PM Eastern Standard Time
006- Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 8:00:00 PM Eastern Standard Time
007- -----------
008- Trying to set timezone_id= America/Los_Angeles
009- After call to set_timezone_id : timezone_id= America/Los_Angeles
010- Formatting timestamp=0 resulted in Wednesday, December 31, 1969 4:00:00 PM Pacific Standard Time
011- Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 5:00:00 PM Pacific Standard Time
012- -----------
013- Trying to set timezone_id= America/Chicago
014- After call to set_timezone_id : timezone_id= America/Chicago
015- Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time
016- Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time
017- -----------
018- Trying to set timezone_id= CN
019- After call to set_timezone_id : timezone_id= CN
020- Formatting timestamp=0 resulted in Thursday, January 1, 1970 12:00:00 AM GMT+00:00
021- Formatting timestamp=3600 resulted in Thursday, January 1, 1970 1:00:00 AM GMT+00:00
1 (33%)
001+ Fatal error: Uncaught Error: Call to a member function getTimeZoneId() on null in /usr/local/src/php-7.2.28/ext/intl/tests/ut_common.inc:362
002+ Stack trace:
003+ #0 %s/dateformat_set_timezone_id.php(21): ut_datefmt_get_timezone_id(NULL)
004+ #1 /usr/local/src/php-7.2.28/ext/intl/tests/ut_common.inc(12): ut_main()
005+ #2 %s/dateformat_set_timezone_id.php(47): ut_run()
006+ #3 {main}
007+ thrown in /usr/local/src/php-7.2.28/ext/intl/tests/ut_common.inc on line 362
001- After creation of the dateformatter : timezone_id= America/San_Francisco
002- -----------
003- Trying to set timezone_id= America/New_York
004- After call to set_timezone_id : timezone_id= America/New_York
005- Formatting timestamp=0 resulted in Wednesday, December 31, 1969 7:00:00 PM Eastern Standard Time
006- Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 8:00:00 PM Eastern Standard Time
007- -----------
008- Trying to set timezone_id= America/Los_Angeles
009- After call to set_timezone_id : timezone_id= America/Los_Angeles
010- Formatting timestamp=0 resulted in Wednesday, December 31, 1969 4:00:00 PM Pacific Standard Time
011- Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 5:00:00 PM Pacific Standard Time
012- -----------
013- Trying to set timezone_id= America/Chicago
014- After call to set_timezone_id : timezone_id= America/Chicago
015- Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time
016- Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time
017- -----------
018- Trying to set timezone_id= CN
019- After call to set_timezone_id : timezone_id= CN
020- Formatting timestamp=0 resulted in Thursday, January 1, 1970 12:00:00 AM GMT+00:00
021- Formatting timestamp=3600 resulted in Thursday, January 1, 1970 1:00:00 AM GMT+00:00