文件开头 加一句
error_reporting(E_ALL ^ E_WARNING)
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);屏蔽错误报告@set_magic_quotes_runtime(0);屏蔽函数本身错误报告