The error severity is set to E_ALL on the page, and the error is displayed, but the fatal exception is not reported. why?

Source: Internet
Author: User
The error severity is set to E_ALL On the page, and the error is displayed, but the fatal error is not reported. why error_reporting (E_ALL); ini_set (display_errors, & nbsp; On ); var_dump ($ a) notice errors can be prompted. but the fatal error is not reported. why? (Display_errors & nbsp; & set the error level to E_ALL on the php. ini page. the error is also displayed, but the fatal error is not reported. why?
Error_reporting (E_ALL );
Ini_set ('display _ errors ', 'on ');
Var_dump ($)

A notice error is prompted.
But the fatal error is not reported. why? (Display_errors = Off in php. ini)
Because my page has an error, this page cannot be executed directly, so
Error_reporting (E_ALL );
Ini_set ('display _ errors ', 'on ');
Cannot be executed? But isn't the code executed from top to bottom? I don't understand.

Share: More


------ Solution --------------------
Yes!
Although php is interpreted and executed
However, he still has a pre-compilation process that compiles php scripts into p processor commands. This can speed up code execution.
In fact, all explain execution languages have this process, but the degree of pre-compilation is different.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.