preg_replace /e modifier
After upgrading to PHP 5.5 and running a compatibility test on a site, it has flagged the use of a deprecated modifier being used in preg_replace functions.
These occur on lines 1149 and 1150 in file /includes/admin/parser.php
1149 | ERROR | preg_replace() – /e modifier is deprecated in PHP 5.5
1150 | ERROR | preg_replace() – /e modifier is deprecated in PHP 5.5
Could you please let me know the best way to replace the code with the preg_replace_callback function and let me know if this is likely to be updated in a future patch as this can be seen as a security concern.
- You must be logged in to reply to this topic.