Error Reporting is the method or processes for debugging or handle the errors in php .
You can enable the error reporting in the php by the following methods .
1 . You can set display_errors = 1 in php.ini file
2 . Or ini_set(‘display_errors’, 1) in script
Than ,
Use “error_reporting(E_ALL)” to show the error messages in the site .
Or
Use “error_reporting(0)” to hide the error messages in the site during the execution of program .