PHP Tutorials
Php What isPHP INI Tutorials
Php ini What isThis directive informs PHP of which errors, warnings and notices you would like it to take action for. The recommended way of setting values for this directive is through the use of the error level constants and bitwise operators. The error level constants are below here for convenience as well as some common settings and their meanings.
By default, PHP is set to take action on all errors, notices and warnings EXCEPT those related to E_NOTICE and E_STRICT, which together cover best practices and recommended coding standards in PHP.
For performance reasons, this is the recommend error reporting setting. Your production server shouldn't be wasting resources complaining about best practices and coding standards.
That's what development servers and development settings are for. Note: The php.ini-development file has this setting as E_ALL | E_STRICT. This means it pretty much reports everything which is exactly what you want during development and early testing.
The following ERROR level have in Common error reporting.
Note : The error_reporting directive uses the tilde character (~) to represent the logical operator NOT.
The error_reporting directive determines the reporting sensitivity level. Sixteen separate levels are available, and any combination of these levels is valid .
|
Tweet |
|
|