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

点赞