static function disable_error_reporting() { self::$log_php = 0; error_reporting(0); ini_set('display_errors', 0); if (self::$firephp) { self::$firephp->setPHPLogging(self::$log_php); } }