PHP - Manual: DateMalformedStringException
2025-02-27
(PHP 8 >= 8.3.0)
Thrown when an invalid Date/Time string is detected.
This can be as value to DateTimeImmutable::__construct(), DateTimeImmutable::modify(), DateTime::__construct(), or DateTime::modify().
官方地址:https://www.php.net/manual/en/class.datemalformedstringexception.php