PHP Error Level

Source: Internet
Author: User

PHP error level: Deprecated: Deprecated (does not  affect program run) Notice: Notification level error  undefined does not exist such as notification error  (does not affect program run) Warning: Warning Level   (Does not affect program operation) Fatal ERR: Fatal error   (run terminate run) Parse error: Syntax parsing wrong  program is not running when parsing occurs error  such as less write a semicolon syntax parsing error will be displayed  in any case Even if the error message is masked error level setting: Php.inierror_reporting = E_all             Show All errors error_reporting = E_all&~e_notice   Show all errors except E_ Noticedisplay_errors = on                 whether to show error in PHP code dynamic settings: error_reporting (); error_reporting (E_all);  Show all Error error_reporting ( -1);     Show all error error_reporting (0);      Ini_set (' error_reporting ', 0) can also be used to close all errors;  Set the error level Trigger_error (' error has occurred ', e_user_warning);  Manual Throw Error Logging error: Php.inilog_errors = on          Whether the error log is turned on error_log = "E:/wamp/logs/php_error.log"   error log file Log_errors_max_ Len       log_errors The maximum byte ignone_repeatad_errors   whether to ignore duplicate error messages Ignone_repeatad_source   whether to ignore the source of the duplicate error message in the actual project You can set display_errors to Off without displaying an error message Error_log ()  function  calls Error_log write custom error message if ($a!==true) {error_log (' variable A is not true ') ; }

  

PHP Error level

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.