; Error level Constants:
; E_all-all errors and Warnings (includes e_strict as of PHP 5.4.0)
; E_all all errors and warnings (except E_strict)
; E_error-fatal Run-time Errors
; E_error a fatal Error. Execution of the script is Paused.
; E_recoverable_error-almost Fatal Run-time Errors
; E_recoverable_error most of the fatal Errors.
; E_warning-run-time Warnings (non-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 PARSE Errors
; E_parse compile-time parsing errors, parsing errors should only be generated by the Parser.
; E_notice when the script is run (often some bugs in the script we write, such as a variable is not defined), this error does not Will cause the task to be Interrupted.
; E_strict-run-time notices, enable to has PHP suggest changes to your code which would Ensure the best interoperability and forward compatibility of your code
; The reminder message generated when the E_strict script runs contains some suggestions that PHP throws to let us modify.
; E_core_error-fatal errors that occur during PHP ' s initial startup
; E_core_error fatal error occurred after PHP startup
; E_core_warning-warnings (non-fatal errors) that occur during PHP ' s nitial startup
; E_core_warning a non-fatal error that occurs after PHP is started, which is a warning message
; E_compile_error-fatal Compile-time Errors
; E_compile_error fatal errors generated by PHP compilation
; E_compile_warning-compile-time Warnings (non-fatal Errors)
; E_compile_warning warning Messages generated by PHP compilation
; e_user_error-user-generated ERROR Message
; E_user_error user-generated Errors
; e_user_warning-user-generated WARNING Message
; E_user_warning user-generated Warnings
; e_user_notice-user-generated NOTICE Message
; E_user_notice user-generated Reminders
; E_deprecated-warn about code that won't work in the future versions of PHP
; e_user_deprecated-user-generated deprecation warnings
& expressed and
~ denotes non-
| indicates or
for example: error_reporting = E_all & ~e_notice Indicates an error level of E_all and in addition to E_notice
This article is from "xiao yang" blog, Please be sure to keep this source http://aqiang.blog.51cto.com/6086626/1895910
PHP error Log level Error_report