解决php7.2后报错Warning: Use of undefined constant PRE

解决此种问题其实也不是很难,只是报了”Warning警告“,我们只需要关闭”PHP错误提示“就行了。具体步骤如下:

1、打开 php.ini

2、设置 error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

3、设置 display_errors = Off

板邓个人博客:http://8dseo.com
原文地址:https://www.cnblogs.com/xbdeng/p/11236991.html