Error_reporting
(PHP3, PHP4)
error_reporting---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; set PHP error return level
Syntax: int error_reporting ([int level])
Description:
Set the error return level for PHP and send back the old level. The error return level is a bit-hood with the following values:
Value internal Name 1 E_error 2 e_warning 4 e_parse 8 E_notice e_core_error e_core_warning
E_error: The default is to list the errors and terminate the execution of the program after the function returns
E_warning: The default is to list warnings without disrupting program execution
E_parse: Parsing grammatical errors
E_notice: The default is to list the notes and point out where the program conflicts
E_core_error: It's like e_error, the difference is that it's generated by the core of PHP, and the function will not produce this type of error
E_core_warning: It's like e_warning, the difference is that it's generated by the core of PHP, and the function will not produce this type of error