Php/docs/datetimeimmutable.getlasterrors
提供:Dev Guides
DateTimeImmutable::getLastErrors
(PHP 5 >= 5.5.0, PHP 7)
DateTimeImmutable::getLastErrors — 警告およびエラーを返す
説明
public static DateTimeImmutable::getLastErrors ( ) : array
DateTime::getLastErrors() と似ていますが、 DateTimeImmutable で動作します。