How to avoid errors in PHP ?

Last updated 2 years ago | 374 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);

?>