(PHP 5, PHP 7, PHP 8)
Exception::__clone — Clone the exception
Exceptions cannot be cloned, and attempting to do so will throw an Error.
This function has no parameters.
No value is returned.
Exceptions are not clonable.
Version | Description |
---|---|
8.1.0 | Exception::__clone() is no longer final. |