Error level for PHP

Source: Internet
Author: User
Tags deprecated parse error

Deprecated deprecated, there may be vulnerabilities that may be inefficient, future versions not supported, etc.

Notice notification-level errors

Warning warns this needs to see if the code is out of the question. Above three programs still continue to execute down

Fatal error fatal bug program stops executing

Parse error parsing errors directly hangs the program to stop execution

=================================

E_user level error, user-defined error; like, I trigger Trigger_error () a e_user_error level error, which is equivalent to the error of PHP itself

By the way here, find a way to php.ini, print out phpinfo ();

Even if it is not here, you have to put it here!

The program writes non-php.ini.

error_reporting (0); Do not display errors

Error_reporting (-1); Show All Errors

Show: Ini_set (' display_errors ', ' on ');

Error level for PHP

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.