How to display PHP errors in code output?

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

Leave a Comment