Display PHP Errors

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

Many times I had to remember how to display PHP errors when it's disabled on the web server. So I wrote a reminder.

Loading more content...