W3cubDocs

/PHP

Error::__clone

(PHP 7, PHP 8)

Error::__cloneClone the error

Description

final private Error::__clone ( ) : void

Error can not be cloned, so this method results in fatal error.

Parameters

This function has no parameters.

Return Values

No value is returned.

Errors/Exceptions

Errors are not clonable.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/error.clone.php