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

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001- Warning: IntlGregorianCalendar::isLeapYear() expects exactly 1 parameter, 2 given in %s on line %d 003- Warning: IntlGregorianCalendar::isLeapYear(): intlgregcal_is_leap_year: bad arguments in %s on line %d 004- bool(false) 005- 006- Warning: IntlGregorianCalendar::isLeapYear() expects exactly 1 parameter, 0 given in %s on line %d 007- 008- Warning: IntlGregorianCalendar::isLeapYear(): intlgregcal_is_leap_year: bad arguments in %s on line %d 009- bool(false) 010- 011- Warning: IntlGregorianCalendar::isLeapYear() expects parameter 1 to be int, string given in %s on line %d 012- 013- Warning: IntlGregorianCalendar::isLeapYear(): intlgregcal_is_leap_year: bad arguments in %s on line %d 014- bool(false) 015- 016- Warning: intlgregcal_is_leap_year() expects exactly 2 parameters, 3 given in %s on line %d 017- 018- Warning: intlgregcal_is_leap_year(): intlgregcal_is_leap_year: bad arguments in %s on line %d 019- bool(false) 020- 021- Warning: intlgregcal_is_leap_year() expects exactly 2 parameters, 1 given in %s on line %d 022- 023- Warning: intlgregcal_is_leap_year(): intlgregcal_is_leap_year: bad arguments in %s on line %d 024- bool(false) 025- 026- Fatal error: Uncaught TypeError: Argument 1 passed to intlgregcal_is_leap_year() must be an instance of IntlGregorianCalendar, int given in %s:%d 027- Stack trace: 028- #0 %s(%d): intlgregcal_is_leap_year(1, 2) 029- #1 {main} 030- thrown in %s on line %d