; 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