标签 php错误 下的文章
php开启与关闭错误提示
windows系统开关php错误提示如果不具备修改php.ini的权限也可在php文件中加入以下任意一行代码禁用错误报告error_reporting(0);报告运行时错误error_reporting(E_ERROR | E_WARNING | E_PARSE);报告所有错误error_reporting(E_ALL);当然,如果能够修改php.ini的话,如下即可:代码如下 复制代码找到dis
解决 Warning: date_default_timezone_get() 错误
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case y