How to avoid errors in PHP ?

Last updated 1 year, 9 months ago | 266 views 75     5

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

<?php

error_reporting(0);

?>