I am re doing an old project at work and getting a ton of these:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
Looking at line 74:
$str = preg_replace('/\&\#([0-9]+)\;/me', "code2utf('\\1',{$lo})",$str);
How can I convert that to use the new call back?