php / 8.1.5 / intlgregoriancalendar.isleapyear.html /

IntlGregorianCalendar::isLeapYear

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

IntlGregorianCalendar::isLeapYearDetermine if the given year is a leap year

Description

public IntlGregorianCalendar::isLeapYear(int $year): bool
Warning

This function is currently not documented; only its argument list is available.

Parameters

year

Return Values

Returns true for leap years, false otherwise and on failure.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/intlgregoriancalendar.isleapyear.php