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

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

Count Diff
5 (42%)
001+ Fatal error: Uncaught Error: Call to a member function getTimeZoneId() on null in /usr/src/php-7.1.21/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/src/php-7.1.21/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/src/php-7.1.21/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
3 (25%)
001+ Fatal error: Uncaught Error: Call to a member function getTimeZoneId() on null in /home/src/php-7.1.21/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 /home/src/php-7.1.21/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 /home/src/php-7.1.21/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
2 (17%)
001+ Fatal error: Uncaught Error: Call to a member function getTimeZoneId() on null in /home/captain/packages/php-7.1.21/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 /home/captain/packages/php-7.1.21/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 /home/captain/packages/php-7.1.21/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 (8%)
001+ Fatal error: Uncaught Error: Call to a member function getTimeZoneId() on null in /opt/php-7.1.21/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 /opt/php-7.1.21/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 /opt/php-7.1.21/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 (8%)
001+ Fatal error: Uncaught Error: Call to a member function getTimeZoneId() on null in /tmp/php-7.1.21/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 /tmp/php-7.1.21/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 /tmp/php-7.1.21/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