Home > Backend Development > PHP Tutorial > 在页面将报错级别设置为了E_ALL,报错也显示,但是致命异常就直接不报了,为什么

在页面将报错级别设置为了E_ALL,报错也显示,但是致命异常就直接不报了,为什么

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:43:50
Original
1011 people have browsed it

在页面将报错级别设置为了E_ALL,报错也显示,但是致命错误就直接不报了,为什么

error_reporting(E_ALL);<br />ini_set('display_errors', 'On');<br />var_dump($a)
Copy after login

notice性质的错误能提示.
但是致命错误就直接不报了,为什么?(php.ini里面的display_errors = Off)
是因为我页面有错误,所以这个页面直接无法执行,所以设置的
error_reporting(E_ALL);<br />ini_set('display_errors', 'On');
Copy after login
都无法执行?但是代码不是从上往下执行么,不明白了.

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template