Test: /ext/intl/tests/dateformat_formatObject_error.phpt - Version 5.5.0RC3    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
008- bool(false)
009+ Fatal error: Uncaught exception 'IntlException' with message 'datefmt_format_object: the passed object must be an instance of either IntlCalendar or DateTime' in %s/dateformat_formatObject_error.php:8
010+ Stack trace:
011+ #0 %s/dateformat_formatObject_error.php(8): IntlDateFormatter::formatObject(Object(stdClass))
012+ #1 {main}
013+ thrown in %s/dateformat_formatObject_error.php on line 8
010- Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad IntlCalendar instance: not initialized properly in %s on line %d
011- bool(false)
012-
013- Warning: DateTime::getTimestamp(): The DateTime object has not been correctly initialized by its constructor in %s on line %d
014-
015- Warning: IntlDateFormatter::formatObject(): datefmt_format_object: error calling ::getTimeStamp() on the object in %s on line %d
016- bool(false)
017-
018- Warning: IntlDateFormatter::formatObject(): datefmt_format_object: the date/time format type is invalid in %s on line %d
019- bool(false)
020-
021- Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; if array, it must have two elements in %s on line %d
022- bool(false)
023-
024- Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; if array, it must have two elements in %s on line %d
025- bool(false)
026-
027- Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; the date format (first element of the array) is not valid in %s on line %d
028- bool(false)
029-
030- Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; the time format (second element of the array) is not valid in %s on line %d
031- bool(false)
032-
033- Warning: IntlDateFormatter::formatObject(): datefmt_format_object: the format is empty in %s on line %d
034- bool(false)
035-
036- Warning: IntlDateFormatter::formatObject() expects parameter 3 to be string, array given in %s on line %d
037- bool(false)
038- ==DONE==