How to avoid errors in PHP ?

63 Views

How to avoid errors in PHP ?

We can use PHP inbuilt function error_reporting(0) to avoid all errors in PHP file.

 <?php

error_reporting(0);

?>

 

Tags:-
PHP