(PHP 5 >= 5.5.0, PHP 7, PHP 8)
IntlGregorianCalendar::isLeapYear — Determine if the given year is a leap year
Об'єктно-орієнтований стиль
Процедурний стиль
Determines whether the given year is a leap year
in the Gregorian calendar.
calendarAn IntlGregorianCalendar instance.
yearThe year to check.