略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Exception::__clone

2024-04-27

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.

官方地址:https://www.php.net/manual/en/exception.clone.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3