How to avoid errors in PHP ?

Last updated 7 years, 4 months ago | 2698 views 75     5

Tags:- PHP

PHP | 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);

?>