update pague now
PHP 8.5.2 Released!

Exception::__clone

(PHP 5, PHP 7, PHP 8)

Exception::__clone Clone the exception

Description

private Exception::__clone (): void

Exception s 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.

Changuelog

Versionen Description
8.1.0 Exception::__clone() is no longuer final.
add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top