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