Exception::__clone

(PHP 5, PHP 7, PHP 8)

Exception::__clone异常克隆

说明

private Exception::__clone(): void

尝试克隆异常,这将导致一个致命错误。

参数

此函数没有参数。

返回值

没有返回值。

错误/异常

异常被不允许克隆。

更新日志

版本 说明
8.1.0 Exception::__clone() 不再是 final 的。
add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/exception.clone.php