Test: /ext/intl/tests/dateformat_format.phpt - Version 5.5.0beta4    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Warning: IntlDateFormatter::format(): datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted) in /Volumes/Xserve/Software/Crackotage/files/php-5.5.0beta4/ext/intl/tests/ut_common.inc on line 382
001- ------------
003+ Warning: IntlDateFormatter::format(): datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted) in /Volumes/Xserve/Software/Crackotage/files/php-5.5.0beta4/ext/intl/tests/ut_common.inc on line 382
004+
005+ Warning: IntlDateFormatter::format(): datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted) in /Volumes/Xserve/Software/Crackotage/files/php-5.5.0beta4/ext/intl/tests/ut_common.inc on line 382
006+
007+ Warning: IntlDateFormatter::format(): datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted) in /Volumes/Xserve/Software/Crackotage/files/php-5.5.0beta4/ext/intl/tests/ut_common.inc on line 382
008+
009+ Warning: IntlDateFormatter::format(): datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted) in /Volumes/Xserve/Software/Crackotage/files/php-5.5.0beta4/ext/intl/tests/ut_common.inc on line 382
010+
011+ Warning: datefmt_format(): datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted) in /Volumes/Xserve/Software/Crackotage/files/php-5.5.0beta4/ext/intl/tests/ut_common.inc on line 382
012+
013+ Warning: datefmt_format(): datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted) in /Volumes/Xserve/Software/Crackotage/files/php-5.5.0beta4/ext/intl/tests/ut_common.inc on line 382
014+
015+ Warning: datefmt_format(): datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted) in /Volumes/Xserve/Software/Crackotage/files/php-5.5.0beta4/ext/intl/tests/ut_common.inc on line 382
016+
017+ Warning: datefmt_format(): datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted) in /Volumes/Xserve/Software/Crackotage/files/php-5.5.0beta4/ext/intl/tests/ut_common.inc on line 382
018+
019+ Warning: datefmt_format(): datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted) in /Volumes/Xserve/Software/Crackotage/files/php-5.5.0beta4/ext/intl/tests/ut_common.inc on line 382
020+
003- Input timestamp is : 0
007- Formatted timestamp is : Wednesday, December 31, 1969 2:00:00 PM GMT-10:00
009- Formatted timestamp is : December 31, 1969 2:00:00 PM GMT-10:00
011- Formatted timestamp is : Dec 31, 1969 2:00:00 PM
013- Formatted timestamp is : 12/31/69 2:00 PM
022- Formatted timestamp is : Wednesday, December 17, 1969 4:40:00 PM GMT-10:00
023+ Input timestamp is : 0
024+ ------------
025+
024- Formatted timestamp is : December 17, 1969 4:40:00 PM GMT-10:00
026- Formatted timestamp is : Dec 17, 1969 4:40:00 PM
027+ Formatted timestamp is : Wednesday, December 31, 1969 at 2:00:00 PM GMT-10:00
028- Formatted timestamp is : 12/17/69 4:40 PM
029+ Formatted timestamp is : December 31, 1969 at 2:00:00 PM GMT-10:00
031+ Formatted timestamp is : Dec 31, 1969, 2:00:00 PM
033+ Formatted timestamp is : 12/31/69, 2:00 PM
037- Formatted timestamp is : Wednesday, January 14, 1970 11:20:00 AM GMT-10:00
039- Formatted timestamp is : January 14, 1970 11:20:00 AM GMT-10:00
041- Formatted timestamp is : Jan 14, 1970 11:20:00 AM
042+ Formatted timestamp is : Wednesday, December 17, 1969 at 4:40:00 PM GMT-10:00
043- Formatted timestamp is : 1/14/70 11:20 AM
044+ Formatted timestamp is : December 17, 1969 at 4:40:00 PM GMT-10:00
046+ Formatted timestamp is : Dec 17, 1969, 4:40:00 PM
048+ Formatted timestamp is : 12/17/69, 4:40 PM
052- Formatted timestamp is : Sunday, September 18, 2039 1:06:40 PM GMT-10:00
054- Formatted timestamp is : September 18, 2039 1:06:40 PM GMT-10:00
056- Formatted timestamp is : Sep 18, 2039 1:06:40 PM
057+ Formatted timestamp is : Wednesday, January 14, 1970 at 11:20:00 AM GMT-10:00
058- Formatted timestamp is : 9/18/39 1:06 PM
059+ Formatted timestamp is : January 14, 1970 at 11:20:00 AM GMT-10:00
061+ Formatted timestamp is : Jan 14, 1970, 11:20:00 AM
063+ Formatted timestamp is : 1/14/70, 11:20 AM
067- Formatted timestamp is : Saturday, April 14, 1900 2:53:20 PM GMT-10:00
069- Formatted timestamp is : April 14, 1900 2:53:20 PM GMT-10:00
071- Formatted timestamp is : Apr 14, 1900 2:53:20 PM
072+ Formatted timestamp is : Sunday, September 18, 2039 at 1:06:40 PM GMT-10:00
073- Formatted timestamp is : 4/14/00 2:53 PM
074+ Formatted timestamp is : September 18, 2039 at 1:06:40 PM GMT-10:00
076+ Formatted timestamp is : Sep 18, 2039, 1:06:40 PM
078+ Formatted timestamp is : 9/18/39, 1:06 PM
082- Formatted timestamp is : Wednesday, November 8, 1972 9:46:39 AM GMT-10:00
084- Formatted timestamp is : November 8, 1972 9:46:39 AM GMT-10:00
086- Formatted timestamp is : Nov 8, 1972 9:46:39 AM
087+ Formatted timestamp is : Saturday, April 14, 1900 at 2:53:20 PM GMT-10:00
088- Formatted timestamp is : 11/8/72 9:46 AM
089+ Formatted timestamp is : April 14, 1900 at 2:53:20 PM GMT-10:00
091+ Formatted timestamp is : Apr 14, 1900, 2:53:20 PM
093+ Formatted timestamp is : 4/14/00, 2:53 PM
097- Formatted timestamp is : Wednesday, December 31, 1969 3:00:00 PM GMT-10:00
099- Formatted timestamp is : December 31, 1969 3:00:00 PM GMT-10:00
101- Formatted timestamp is : Dec 31, 1969 3:00:00 PM
102+ Formatted timestamp is : Wednesday, November 8, 1972 at 9:46:39 AM GMT-10:00
103- Formatted timestamp is : 12/31/69 3:00 PM
104+ Formatted timestamp is : November 8, 1972 at 9:46:39 AM GMT-10:00
106+ Formatted timestamp is : Nov 8, 1972, 9:46:39 AM
108+ Formatted timestamp is : 11/8/72, 9:46 AM
112- Formatted timestamp is : Wednesday, December 31, 1969 1:00:00 PM GMT-10:00
114- Formatted timestamp is : December 31, 1969 1:00:00 PM GMT-10:00
116- Formatted timestamp is : Dec 31, 1969 1:00:00 PM
117+ Formatted timestamp is : Wednesday, December 31, 1969 at 3:00:00 PM GMT-10:00
118- Formatted timestamp is : 12/31/69 1:00 PM
119+ Formatted timestamp is : December 31, 1969 at 3:00:00 PM GMT-10:00
121+ Formatted timestamp is : Dec 31, 1969, 3:00:00 PM
123+ Formatted timestamp is : 12/31/69, 3:00 PM
127- Formatted localtime_array is : Sunday, April 3, 2005 7:03:24 PM GMT-10:00
129- Formatted localtime_array is : April 3, 2005 7:03:24 PM GMT-10:00
131- Formatted localtime_array is : Apr 3, 2005 7:03:24 PM
132+ Formatted timestamp is : Wednesday, December 31, 1969 at 1:00:00 PM GMT-10:00
133- Formatted localtime_array is : 4/3/05 7:03 PM
134+ Formatted timestamp is : December 31, 1969 at 1:00:00 PM GMT-10:00
136+ Formatted timestamp is : Dec 31, 1969, 1:00:00 PM
138+ Formatted timestamp is : 12/31/69, 1:00 PM
142- Formatted localtime_array is : Wednesday, May 13, 2105 7:05:21 AM GMT-10:00
144- Formatted localtime_array is : May 13, 2105 7:05:21 AM GMT-10:00
146- Formatted localtime_array is : May 13, 2105 7:05:21 AM
147+ Formatted localtime_array is : Sunday, April 3, 2005 at 7:03:24 PM GMT-10:00
148- Formatted localtime_array is : 5/13/05 7:05 AM
149+ Formatted localtime_array is : April 3, 2005 at 7:03:24 PM GMT-10:00
151+ Formatted localtime_array is : Apr 3, 2005, 7:03:24 PM
153+ Formatted localtime_array is : 4/3/05, 7:03 PM
157- Formatted localtime_array is : Tuesday, December 17, 1895 12:13:11 AM GMT-10:00
159- Formatted localtime_array is : December 17, 1895 12:13:11 AM GMT-10:00
161- Formatted localtime_array is : Dec 17, 1895 12:13:11 AM
162+ Formatted localtime_array is : Wednesday, May 13, 2105 at 7:05:21 AM GMT-10:00
163- Formatted localtime_array is : 12/17/95 12:13 AM
164+ Formatted localtime_array is : May 13, 2105 at 7:05:21 AM GMT-10:00
166+ Formatted localtime_array is : May 13, 2105, 7:05:21 AM
168+ Formatted localtime_array is : 5/13/05, 7:05 AM
173- Formatted DateTime is : Thursday, December 31, 2009 3:02:03 PM GMT-10:00
177+ Formatted localtime_array is : Tuesday, December 17, 1895 at 12:13:11 AM GMT-10:00
179+ Formatted localtime_array is : December 17, 1895 at 12:13:11 AM GMT-10:00
181+ Formatted localtime_array is : Dec 17, 1895, 12:13:11 AM
181- Formatted DateTime is : December 31, 2009 3:02:03 PM GMT-10:00
183+ Formatted localtime_array is : 12/17/95, 12:13 AM
184- 'date' => '2010-01-01 01:02:03',
186- 'timezone' => 'UTC',
189- Formatted DateTime is : Dec 31, 2009 3:02:03 PM
192- 'date' => '2010-01-01 01:02:03',
193+ Formatted DateTime is : Thursday, December 31, 2009 at 3:02:03 PM GMT-10:00
194+ ------------
195+ Date is: DateTime::__set_state(array(
196+ 'date' => '2010-01-01 01:02:03',
197+ 'timezone_type' => 3,
198+ 'timezone' => 'UTC',
199+ ))
200+ ------------
201+ Formatted DateTime is : December 31, 2009 at 3:02:03 PM GMT-10:00
202+ ------------
203+ Date is: DateTime::__set_state(array(
204+ 'date' => '2010-01-01 01:02:03',
205+ 'timezone_type' => 3,
206+ 'timezone' => 'UTC',
207+ ))
208+ ------------
209+ Formatted DateTime is : Dec 31, 2009, 3:02:03 PM
210+ ------------
211+ Date is: DateTime::__set_state(array(
212+ 'date' => '2010-01-01 01:02:03',
213+ 'timezone_type' => 3,
214+ 'timezone' => 'UTC',
215+ ))
216+ ------------
217+ Formatted DateTime is : 12/31/09, 3:02 PM
194- 'timezone' => 'UTC',
197- Formatted DateTime is : 12/31/09 3:02 PM
200- 'date' => '2010-01-01 01:02:03',
202- 'timezone' => 'UTC',
205- Formatted DateTime is : 20091231 03:02 PM
213- Formatted DateTime is : Saturday, December 30, 2000 5:04:05 PM GMT-10:00
214- ------------
215- Date is: DateTime::__set_state(array(
216- 'date' => '2000-12-30 19:04:05',
217- 'timezone_type' => 3,
218- 'timezone' => 'America/Los_Angeles',
221- Formatted DateTime is : December 30, 2000 5:04:05 PM GMT-10:00
225+ Formatted DateTime is : 20091231 03:02 PM
228+ 'date' => '2000-12-30 19:04:05',
230+ 'timezone' => 'America/Los_Angeles',
233+ Formatted DateTime is : Saturday, December 30, 2000 at 5:04:05 PM GMT-10:00
236+ 'date' => '2000-12-30 19:04:05',
238+ 'timezone' => 'America/Los_Angeles',
241+ Formatted DateTime is : December 30, 2000 at 5:04:05 PM GMT-10:00
244+ 'date' => '2000-12-30 19:04:05',
246+ 'timezone' => 'America/Los_Angeles',
249+ Formatted DateTime is : Dec 30, 2000, 5:04:05 PM
250+ ------------
251+ Date is: DateTime::__set_state(array(
252+ 'date' => '2000-12-30 19:04:05',
253+ 'timezone_type' => 3,
254+ 'timezone' => 'America/Los_Angeles',
255+ ))
256+ ------------
257+ Formatted DateTime is : 12/30/00, 5:04 PM
265+ Formatted DateTime is : 20001230 05:04 PM
266+ ------------
267+ Date is: stdClass::__set_state(array(
268+ ))
269+ ------------
270+ Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
271+ ------------
272+ Date is: stdClass::__set_state(array(
273+ ))
274+ ------------
275+ Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
276+ ------------
277+ Date is: stdClass::__set_state(array(
278+ ))
279+ ------------
280+ Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
281+ ------------
282+ Date is: stdClass::__set_state(array(
283+ ))
284+ ------------
285+ Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
286+ ------------
287+ Date is: stdClass::__set_state(array(
290+ Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
222- ------------
223- Date is: DateTime::__set_state(array(
224- 'date' => '2000-12-30 19:04:05',
225- 'timezone_type' => 3,
226- 'timezone' => 'America/Los_Angeles',
227- ))
228- ------------
229- Formatted DateTime is : Dec 30, 2000 5:04:05 PM
230- ------------
231- Date is: DateTime::__set_state(array(
232- 'date' => '2000-12-30 19:04:05',
233- 'timezone_type' => 3,
234- 'timezone' => 'America/Los_Angeles',
235- ))
236- ------------
237- Formatted DateTime is : 12/30/00 5:04 PM
238- ------------
239- Date is: DateTime::__set_state(array(
240- 'date' => '2000-12-30 19:04:05',
241- 'timezone_type' => 3,
242- 'timezone' => 'America/Los_Angeles',
243- ))
244- ------------
245- Formatted DateTime is : 20001230 05:04 PM
246- ------------
247- Date is: stdClass::__set_state(array(
248- ))
249- ------------
250- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
251- ------------
252- Date is: stdClass::__set_state(array(
253- ))
254- ------------
255- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
256- ------------
257- Date is: stdClass::__set_state(array(
258- ))
259- ------------
260- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
261- ------------
262- Date is: stdClass::__set_state(array(
263- ))
264- ------------
265- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
266- ------------
267- Date is: stdClass::__set_state(array(
268- ))
269- ------------
270- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'