restore_exception_handler



PHP restore_exception_handler() 函数

定义和用法

restore_exception_handler() 函数恢复之前的异常处理程序,该程序是由 set_exception_handler() 函数改变的。

该函数永远返回 true。

语法

restore_exception_handler()

提示和注释

提示:之前的异常处理程序可能是在异常处理程序或用户自定义函数中构建的。

例子

输出:

Fatal error: Uncaught exception Exception with message 
Uncaught Exception occured in C:webfoldertest.php:4 
Stack trace: #0 {main} thrown in C:webfoldertest.php on line 4

温馨提示: 本文最后更新于2024-12-31 20:20:51,某些文章具有时效性,若有错误或已失效,请在下方 留言或联系 蚂蚁官方
© 版权声明
THE END
喜欢就支持一下吧
点赞5赞赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容