php disable errors code example Example: php disable errors error_reporting(0); @ini_set('display_errors', 0);