Test: /ext/intl/tests/dateformat_format_parse.phpt - Version 7.0.8    

There is 1 diff reported by users for this test.

Count Diff
4 (100%)
001+ Fatal error: Uncaught Error: Call to a member function format() on null in /home/captain/packages/php-7.0.8/ext/intl/tests/ut_common.inc:390
002+ Stack trace:
003+ #0 %s/dateformat_format_parse.php(76): ut_datefmt_format(NULL, 0)
004+ #1 /home/captain/packages/php-7.0.8/ext/intl/tests/ut_common.inc(12): ut_main()
005+ #2 %s/dateformat_format_parse.php(133): ut_run()
006+ #3 {main}
007+ thrown in /home/captain/packages/php-7.0.8/ext/intl/tests/ut_common.inc on line 390
001- ------------
002-
003- Input timestamp is : 0
004- ------------
005-
006- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
007- Formatted timestamp is : Thursday, January 1, 1970 5:00:00 AM GMT+05:00
008- Parsed timestamp is : 0
009- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
010- Formatted timestamp is : January 1, 1970 5:00:00 AM GMT+05:00
011- Parsed timestamp is : 0
012- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
013- Formatted timestamp is : Jan 1, 1970 5:00:00 AM
014- Parsed timestamp is : 0
015- ------------
016-
017- Input timestamp is : -1200000
018- ------------
019-
020- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
021- Formatted timestamp is : Thursday, December 18, 1969 7:40:00 AM GMT+05:00
022- Parsed timestamp is : -1200000
023- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
024- Formatted timestamp is : December 18, 1969 7:40:00 AM GMT+05:00
025- Parsed timestamp is : -1200000
026- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
027- Formatted timestamp is : Dec 18, 1969 7:40:00 AM
028- Parsed timestamp is : -1200000
029- ------------
030-
031- Input timestamp is : 1200000
032- ------------
033-
034- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
035- Formatted timestamp is : Thursday, January 15, 1970 2:20:00 AM GMT+05:00
036- Parsed timestamp is : 1200000
037- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
038- Formatted timestamp is : January 15, 1970 2:20:00 AM GMT+05:00
039- Parsed timestamp is : 1200000
040- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
041- Formatted timestamp is : Jan 15, 1970 2:20:00 AM
042- Parsed timestamp is : 1200000
043- ------------
044-
045- Input timestamp is : 2200000000
046- ------------
047-
048- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
049- Formatted timestamp is : Monday, September 19, 2039 4:06:40 AM GMT+05:00
050- Parsed timestamp is : 2200000000
051- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
052- Formatted timestamp is : September 19, 2039 4:06:40 AM GMT+05:00
053- Parsed timestamp is : 2200000000
054- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
055- Formatted timestamp is : Sep 19, 2039 4:06:40 AM
056- Parsed timestamp is : 2200000000
057- ------------
058-
059- Input timestamp is : -2200000000
060- ------------
061-
062- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
063- Formatted timestamp is : Sunday, April 15, 1900 5:53:20 AM GMT+05:00
064- Parsed timestamp is : -2200000000
065- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
066- Formatted timestamp is : April 15, 1900 5:53:20 AM GMT+05:00
067- Parsed timestamp is : -2200000000
068- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
069- Formatted timestamp is : Apr 15, 1900 5:53:20 AM
070- Parsed timestamp is : -2200000000
071- ------------
072-
073- Input timestamp is : 90099999
074- ------------
075-
076- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
077- Formatted timestamp is : Thursday, November 9, 1972 12:46:39 AM GMT+05:00
078- Parsed timestamp is : 90099999
079- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
080- Formatted timestamp is : November 9, 1972 12:46:39 AM GMT+05:00
081- Parsed timestamp is : 90099999
082- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
083- Formatted timestamp is : Nov 9, 1972 12:46:39 AM
084- Parsed timestamp is : 90099999
085- ------------
086-
087- Input timestamp is : 3600
088- ------------
089-
090- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
091- Formatted timestamp is : Thursday, January 1, 1970 6:00:00 AM GMT+05:00
092- Parsed timestamp is : 3600
093- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
094- Formatted timestamp is : January 1, 1970 6:00:00 AM GMT+05:00
095- Parsed timestamp is : 3600
096- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
097- Formatted timestamp is : Jan 1, 1970 6:00:00 AM
098- Parsed timestamp is : 3600
099- ------------
100-
101- Input timestamp is : -3600
102- ------------
103-
104- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
105- Formatted timestamp is : Thursday, January 1, 1970 4:00:00 AM GMT+05:00
106- Parsed timestamp is : -3600
107- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
108- Formatted timestamp is : January 1, 1970 4:00:00 AM GMT+05:00
109- Parsed timestamp is : -3600
110- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
111- Formatted timestamp is : Jan 1, 1970 4:00:00 AM
112- Parsed timestamp is : -3600
113- ------------
114-
115- Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' , tm_year : '105' ,
116- ------------
117-
118- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
119- Formatted localtime_array is : Sunday, April 3, 2005 7:03:24 PM GMT+05:00
120- Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_year : '105' , tm_mday : '3' , tm_wday : '0' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '0' ,
121- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
122- Formatted localtime_array is : April 3, 2005 7:03:24 PM GMT+05:00
123- Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_year : '105' , tm_mday : '3' , tm_wday : '0' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '0' ,
124- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
125- Formatted localtime_array is : Apr 3, 2005 7:03:24 PM
126- Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_year : '105' , tm_mday : '3' , tm_wday : '0' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '0' ,
127- ------------
128-
129- Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '7' , tm_year : '205' ,
130- ------------
131-
132- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
133- Formatted localtime_array is : Thursday, August 13, 2105 7:05:21 AM GMT+05:00
134- Parsed array is: tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_year : '205' , tm_mday : '13' , tm_wday : '4' , tm_yday : '225' , tm_mon : '7' , tm_isdst : '0' ,
135- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
136- Formatted localtime_array is : August 13, 2105 7:05:21 AM GMT+05:00
137- Parsed array is: tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_year : '205' , tm_mday : '13' , tm_wday : '4' , tm_yday : '225' , tm_mon : '7' , tm_isdst : '0' ,
138- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
139- Formatted localtime_array is : Aug 13, 2105 7:05:21 AM
140- Parsed array is: tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_year : '205' , tm_mday : '13' , tm_wday : '4' , tm_yday : '225' , tm_mon : '7' , tm_isdst : '0' ,
141- ------------
142-
143- Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11' , tm_year : '-5' ,
144- ------------
145-
146- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
147- Formatted localtime_array is : Tuesday, December 17, 1895 12:13:11 AM GMT+05:00
148- Parsed array is: tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_year : '-5' , tm_mday : '17' , tm_wday : '2' , tm_yday : '351' , tm_mon : '11' , tm_isdst : '0' ,
149- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
150- Formatted localtime_array is : December 17, 1895 12:13:11 AM GMT+05:00
151- Parsed array is: tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_year : '-5' , tm_mday : '17' , tm_wday : '2' , tm_yday : '351' , tm_mon : '11' , tm_isdst : '0' ,
152- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
153- Formatted localtime_array is : Dec 17, 1895 12:13:11 AM
154- Parsed array is: tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_year : '-5' , tm_mday : '17' , tm_wday : '2' , tm_yday : '351' , tm_mon : '11' , tm_isdst : '0' ,