Error_reporting E_ALL

Error - Reporting first Levels are E_ALL .This is control all errors and warnings.

Example :

error_reporting = E_ALL

As above when error_reporting is set to E_ALL then all coding errors including warnings and notices will be displayed in the browser while executing the php code. E_ALL is default value for PHP 4 and PHP 5.

Development Environment:

In testing or development environment its recommeded to set error_reporting = E_ALL as because developer or tester can easily identify the bugs in code

Production Environment:

In Production environment its not recommeded to set error_reporting = E_ALL as because the user or vistor of the website will know bugs in code if any





Content