UnhandledMatchError

(PHP 8)

Einführung

Ein UnhandledMatchError wird geworfen, wenn der an einen match-Ausdruck übergebene Suchbegriff von keinem Zweig des match-Ausdrucks verarbeitet werden konnte.

Klassenbeschreibung

classUnhandledMatchErrorextendsError {
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