I have upgraded my php to php7 and encountered Fatal error: Uncaught Error: Call to undefined function eregi() at line 20
eregi('<State try="'.$val.'">(.*)</State>', $line, $out);
How to convert it in preg_match or otherwise?
I have upgraded my php to php7 and encountered Fatal error: Uncaught Error: Call to undefined function eregi() at line 20
eregi('<State try="'.$val.'">(.*)</State>', $line, $out);
How to convert it in preg_match or otherwise?