Skip to content

Instantly share code, notes, and snippets.

@isu3ru
Created September 6, 2017 16:33
Show Gist options
  • Save isu3ru/cba52dfe1af8122a04d3246cf44c7931 to your computer and use it in GitHub Desktop.
Save isu3ru/cba52dfe1af8122a04d3246cf44c7931 to your computer and use it in GitHub Desktop.
Error reporting control in PHP
if (defined('DEVELOPMENT') && DEVELOPMENT === true)
{
ini_set('display_errors', 1);
error_reporting(E_ALL);
ini_set("display_errors", 1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment