I get the following message for some php that I have to use but didn't write:
Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/webEchange/SiteWeb_V5/inc/html2fpdf.php on line 466
This is line 466:
if(ereg('^([^=]*)=["\']?([^"\']*)["\']?$',$v,$a3))
I tried just replacing preg_match, but it could not recognize the modifier = in the regular expression. I'm still not very good at regular expression, and solving this requires me to study the needs of regular expressions and regexp preg_match needs (which, if I'm not mistaken, are different) ... Could you guys help me with this?
thanks
php regex pcre posix-ere
Shawn
source share