array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'exception.clone.php', 1 => 'Exception::__clone', 2 => 'Clone the exception', ), 'up' => array ( 0 => 'class.exception.php', 1 => 'Exception', ), 'prev' => array ( 0 => 'exception.tostring.php', 1 => 'Exception::__toString', ), 'next' => array ( 0 => 'class.errorexception.php', 1 => 'ErrorException', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'language/predefined/exception/clone.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Exception::__clone

(PHP 5, PHP 7, PHP 8)

Exception::__cloneClone the exception

Descrizione

private Exception::__clone(): void

Exceptions cannot be cloned, and attempting to do so will throw an Error.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Nessun valore viene restituito.

Errori/Eccezioni

Exceptions are not clonable.

Log delle modifiche

Versione Descrizione
8.1.0 Exception::__clone() is no longer final.