php Use of undefined constant的问题解决方式

在每个文件头上加 

error_reporting(0);

或者


搜索php.ini: 

error_reporting = E_ALL 

改为: 

error_reporting = E_ALL & ~E_NOTICE 

posted @ 2016-08-19 21:50  贝尔塔猫  阅读(3267)  评论(0编辑  收藏  举报