Skip to content

Instantly share code, notes, and snippets.

@sameronline
Created January 12, 2012 16:34
Show Gist options
  • Save sameronline/1601481 to your computer and use it in GitHub Desktop.
Save sameronline/1601481 to your computer and use it in GitHub Desktop.
<?php
// add support/detection for DEPRECATED in case of 5.3 PHP || Settings fix
if(defined('E_DEPRECATED')){
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED);
}else{
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment