调试PHP错误

error_reporting(E_ALL & ~E_NOTICE);
ini_set('display_errors', "On");

原文地址:https://www.cnblogs.com/alex-hrg/p/9257370.html