php去除deprecated的方法:1、找到并打开“phpphp.ini”文件;2、修改内容为“error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_W