1.

How can we enable error reporting in PHP?

Answer»

The error_reporting() function defines which errors are reported.We can MODIFY these errors in PHP.ini. You can use these GIVEN function directly in php file.

error_reporting(E_ALL);
ini_set('display_errors', '1');



Discussion

No Comment Found