PHP 8.1.31 Released!

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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top