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.