A classe DateRangeError

(PHP 8 >= 8.3.0)

Introdução

Disparada por DateTime::getTimestamp(), DateTimeImmutable::getTimestamp() e date_timestamp_get()em plataformas de 32 bits se o objeto representa uma data fora da faixa de inteiros de 32 bits com sinal.

Resumo da classe

classDateRangeErrorextendsDateError {
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
publicError::__construct(string$message = "", int$code = 0, ?Throwable$previous = null)
finalpublicError::getCode(): int
finalpublicError::getFile(): string
finalpublicError::getLine(): int
finalpublicError::getTrace(): array
}
To Top