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