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 also 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 directly. to set the error level to E_ALL on the 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)

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 the top down? I don't understand. share it: More

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.