public static function errorsOff() { self::$lastErrorReporting = @ini_get('error_reporting'); @error_reporting(0); self::$lastDisplayErrors = @ini_get('display_errors'); self::iniSet('display_errors', 0); if (class_exists('wfScan')) { wfScan::$errorHandlingOn = false; } }