How to avoid errors in PHP ?

Last updated 5 years ago | 1321 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);

?>