(PHP 7, PHP 8)
Throwable is the base interface for any object that
can be thrown via a throw statement, including
Error and Exception.
Зауваження:
PHP classes cannot implement the Throwable interface directly, and must instead extend Exception.
| Версія | Опис |
|---|---|
| 8.0.0 | Throwable implements Stringable now. |