PHP: Hypertext Preprocessor (original) (raw)
Change language:
Exception::__clone
(PHP 5, PHP 7, PHP 8)
Exception::__clone — Clone the exception
Description
private Exception::__clone(): void
Exceptions cannot be cloned, and attempting to do so will throw an Error.
Parameters
This function has no parameters.
Return Values
No value is returned.
Errors/Exceptions
Exceptions are not clonable.
Changelog
Version | Description |
---|---|
8.1.0 | Exception::__clone() is no longer final. |
Found A Problem?
Learn How To Improve This Page •Submit a Pull Request •Report a Bug
User Contributed Notes
There are no user contributed notes for this page.