checkdate
spatie/fork
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Validate a Gregorian date
<?php checkdate
(
int $month
,
int $day
,
int $year
):
bool