PHP 8.4.0 RC4 available for testing

La classe DateRangeError

(PHP 8 >= 8.3.0)

Introduction

Lancée par DateTime::getTimestamp(), DateTimeImmutable::getTimestamp(), et date_timestamp_get(), sur les plateformes 32 bits si l'objet date représente une date en dehors de la plage signée 32 bits.

Synopsis de la classe

class DateRangeError extends DateError {
/* Propriétés héritées */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Méthodes héritées */
public Error::__construct(string $message = "", int $code = 0, ?Throwable $previous = null)
final public Error::getMessage(): string
final public Error::getCode(): int
final public Error::getFile(): string
final public Error::getLine(): int
final public Error::getTrace(): array
private Error::__clone(): void
}
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top