(PHP 5 >= 5.3.0, PHP 7, PHP 8)
DateTime::getLastErrors — Alias of DateTimeImmutable::getLastErrors()
This function is an alias of: DateTimeImmutable::getLastErrors()