// Turn off all error reportin g
error_reporting(0);
// Report simple running error s
error_reporting(E_ERROR | E_ WARNING | E_PARSE);
// Reporting E_NOTICE can be g ood too (to report uninitializ ed
// variables or catch variable name misspellings ...)
error_reporting(E_ERROR | E_ WARNING | E_PARSE | E_NOTICE);
// Report all errors except E_ NOTICE
// This is the default value s et in php.ini
error_reporting(E_ALL ^ E_ NOTICE);
// Report all PHP errors (see changelog)
error_reporting(E_ALL);
// Report all PHP errors
error_reporting(-1);
// Same as error_reporting(E_ ALL);
ini_set('error_reporting', E_ ALL);
// Report simple running error
error_reporting(E_ERROR | E_
// Reporting E_NOTICE can be g
// variables or catch variable
error_reporting(E_ERROR | E_
// Report all errors except E_
// This is the default value s
error_reporting(E_ALL ^ E_
// Report all PHP errors (see
error_reporting(E_ALL);
// Report all PHP errors
error_reporting(-1);
// Same as error_reporting(E_
ini_set('error_reporting', E_