PHP - Manual: DateRangeError
2025-02-27
(PHP 8 >= 8.3.0)
Thrown by DateTime::getTimestamp(), DateTimeImmutable::getTimestamp(), and date_timestamp_get(), on 32-bit platforms if the date object represents a date outside of the 32-bit signed range.
$message
$code
$previous
null
官方地址:https://www.php.net/manual/en/class.daterangeerror.php