PHP error Log level Error_report

Source: Internet
Author: User

; E_all all errors and warnings (except e_strict)
; E_error a fatal error. Execution of the script is paused.
; E_recoverable_error most of the fatal errors.
; E_warning a non-fatal run-time error, just a warning, the execution of the script does not stop.
; E_parse compile-time parsing errors, parsing errors should only be generated by the parser.
; E_notice the reminders that are generated when the script runs (often some bugs in the script we write, such as a variable that is not defined), will not cause the task to break.
; The reminder message generated when the E_strict script runs contains some suggestions that PHP throws to let us modify.
; E_core_error fatal error occurred after PHP startup
; E_core_warning a non-fatal error that occurs after PHP is started, which is a warning message
; E_compile_error fatal errors generated by PHP compilation
; E_compile_warning warning Messages generated by PHP compilation
; E_user_error user-generated errors
; E_user_warning user-generated warnings
; E_user_notice User-generated reminders



& expressed and
~ Denotes non-
| Indicate or

For example: error_reporting = E_all & ~e_notice Indicates an error level of E_all and in addition to E_notice

This article from "愺 Burgundy pounding his 豩" blog, declined reprint!

PHP error Log level Error_report

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.