IT BS Help

PHP Error Reporting Turn On or Off

in Coding

Step 1:

To turn on/off error reporting in any php file put in code below.

<?php

// Turn off all error reporting
error_reporting(0);

?>

<?php

// Turn on all error reporting
error_reporting(1);

?>

0