Test: /ext/intl/tests/calendar_toDateTime_error.phpt - Version 7.4.9    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001- Warning: IntlCalendar::toDateTime() expects exactly 0 parameters, 1 given in %s on line %d 003- Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: bad arguments in %s on line %d 004- bool(false) 005- 006- Warning: intlcal_to_date_time() expects exactly 1 parameter, 2 given in %s on line %d 007- 008- Warning: intlcal_to_date_time(): intlcal_to_date_time: bad arguments in %s on line %d 009- bool(false) 010- 011- Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: DateTimeZone constructor threw exception in %s on line %d 012- string(77) "exception: DateTimeZone::__construct(): Unknown or bad timezone (Etc/Unknown)" 013- 014- Fatal error: Uncaught TypeError: Argument 1 passed to intlcal_to_date_time() must be an instance of IntlCalendar, int given in %s:%d 015- Stack trace: 016- #0 %s(%d): intlcal_to_date_time(3) 017- #1 {main} 018- thrown in %s on line %d