We participate in the Amazon Service LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com

How to enable PHP error reporting
ini_set('display_errors, 1);


The ini_set function sets a configuration option for the duration of the script execution. When the script is done, the value returns to whatever it was set to originally in the ini file.

The error_reporting function sets the error level to report during the execution of the script.

Here are some of the error levels:


You can also report all errors with E_ALL, as shown above.