error_reporting

(PHP3 , PHP4 )

error_reporting -- set which PHP errors are reported

Description

int error_reporting ([int level])

Sets PHP's error reporting level and returns the old level. The error reporting level is a bitmask of the following values (follow the links for the internal values to get their meanings):

Table 1. error_reporting() bit values

valueinternal name
1 E_ERROR
2 E_WARNING
4 E_PARSE
8 E_NOTICE
16 E_CORE_ERROR
32 E_CORE_WARNING


Hosted by Tonec Inc.