Исключение OutOfBoundsException

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

Введение

Исключение выбрасывается, если значение не является действительным ключом. Исключение представляет ошибки, которые нельзя обнаружить во время компиляции.

Обзор классов

classOutOfBoundsExceptionextendsRuntimeException {
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
publicException::__construct(string$message = "", int$code = 0, ?Throwable$previous = null)
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}
To Top