DateTimeImmutable::getLastErrors

Returns the warnings and errors

Description

public static array DateTimeImmutable::getLastErrors ( void )

Like DateTime::getLastErrors but works with DateTimeImmutable.