编程语言
首页 > 编程语言> > php – 究竟是什么导致E_CORE_ERROR和E_CORE_WARNING?

php – 究竟是什么导致E_CORE_ERROR和E_CORE_WARNING?

作者:互联网

PHP Manual声明E_CORE_ERROR是PHP初始启动期间发生的致命错误:

This is like an E_ERROR, except it is generated by the core of PHP.

此外,它声明E_CORE_WARNING是PHP初始启动期间发生的警告:

This is like an E_WARNING, except it is generated by the core of PHP.

E_CORE_ERROR和E_CORE_WARNING究竟是如何发生的?

具体来说,会导致什么呢?

解决方法:

您可能运行PHP> = 5.4其中例如safe_mode已被删除,如果您仍然启用它,PHP会抛出E_CORE_ERROR错误.

http://php.net/manual/en/features.safe-mode.php

标签:php,error-handling,php-internals
来源: https://codeday.me/bug/20190703/1368862.html