用了php5.3后,经常发现有的程序会出现Function eregi() is deprecated 的报错信息。
原因:php5.3中不再支持eregi()函数,而使用preg_match()函数替代。
解决:手动将eregi()函数替换成preg_match() 。
转载于:https://www.cnblogs.com/xzjs/archive/2013/03/22/2975333.html
用了php5.3后,经常发现有的程序会出现Function eregi() is deprecated 的报错信息。
原因:php5.3中不再支持eregi()函数,而使用preg_match()函数替代。
解决:手动将eregi()函数替换成preg_match() 。
转载于:https://www.cnblogs.com/xzjs/archive/2013/03/22/2975333.html