(PHP 7, PHP 8)
Throwable is the base interface for any object that
can be thrown via a throw
statement, including
Error and Exception.
Nota:
PHP classes cannot implement the Throwable interface directly, and must instead extend Exception.
Versione | Descrizione |
---|---|
8.0.0 | Throwable implements Stringable now. |