IntlGregorianCalendar::isLeapYear
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
IntlGregorianCalendar::isLeapYear — Determine if the given year is a leap year
说明
public IntlGregorianCalendar::isLeapYear(
int $year):
bool
返回值
Returns true for leap years, false otherwise and on failure.