Skip to main content

Show all PHP errors

The quickest way to display all php errors and warnings is to add these lines to your PHP code file:

 

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

Tags