Admin-Ahead Community

General Category => General Discussion => Topic started by: sajay on November 20, 2013, 09:51:51 pm

Title: Enabling/Disabling the Error reporting features in "Index.php"
Post by: sajay on November 20, 2013, 09:51:51 pm
                                                        Enabling/Disabling  the Error reporting features in "Index.php"

 The different PHP errors can be "Enabled and Disabled" in index page using the "error_reporting() function sets"
 
 Here is the different levels of error_reporting.
 (http://farm4.staticflickr.com/3782/10963456535_8e1e36ec7a_z.jpg)

 Passing in the value -1 will show every possible error even when new levels and constants are added in future PHP versions.