error_reporting() 设置 PHP 的报错级别并返回当前级别。
//禁用错误报告 error_reporting(0);
//报告运行时错误 error_reporting(E_ERROR | E_WARNING | E_PARSE);
//报告所有错误 error_reporting(E_ALL);
error_reporting() 设置 PHP 的报错级别并返回当前级别。
//禁用错误报告 error_reporting(0);
//报告运行时错误 error_reporting(E_ERROR | E_WARNING | E_PARSE);
//报告所有错误 error_reporting(E_ALL);