php7报错Call to undefined function ereg_replace()
代码为
ereg_replace("^.+@([^@]+)$", "\\1", $address);在php5下运行正常,但是到了7就报错,请问怎么解决?
php7报错Call to undefined function ereg_replace()
代码为
ereg_replace("^.+@([^@]+)$", "\\1", $address);在php5下运行正常,但是到了7就报错,请问怎么解决?