PHP - Manual: DateMalformedPeriodStringException
2025-02-27
(PHP 8 >= 8.3.0)
Thrown when an invalid isostr
argument is passed to
DatePeriod::__construct().
官方地址:https://www.php.net/manual/en/class.datemalformedperiodstringexception.php