How can you enable error reporting in PHP?

You can enable error reporting in PHP by adding the following in your code. 

  1. ini_set(`display_errors`, 1);
  2. ini_set(`display_startup_errors`, 1);
  3. error_reporting(E_ALL);

22-August 9:03 PM 335 Views

 Prev question

Next question