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

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
004- bool(false)
005+ Fatal error: Uncaught exception 'IntlException' with message 'intlgregcal_is_leap_year: bad arguments' in %s/gregoriancalendar_isLeapYear_error.php:5
006+ Stack trace:
007+ #0 %s/gregoriancalendar_isLeapYear_error.php(5): IntlGregorianCalendar->isLeapYear(2000, 2011)
008+ #1 {main}
009+ thrown in %s/gregoriancalendar_isLeapYear_error.php on line 5
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 long, 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- Catchable fatal error: Argument 1 passed to intlgregcal_is_leap_year() must be an instance of IntlGregorianCalendar, integer given in %s on line %d