(PHP 5, PHP 7, PHP 8)
Exception::__clone — Clone the exception
Exceptions do not support cloning; this method exists only to prevent it.
This function has no parameters.
No value is returned.
Exceptions are not clonable.
| Version | Description |
|---|---|
| 8.1.0 | Exception::__clone() is no longer declared final, because declaring a private method final emits a warning as of PHP 8.0.0. Exceptions remain uncloneable. |