Open C1n opened 9 years ago
I believe only the /e modifier support has been removed, not the call itself.
7.0.0 Support for the /e modifier has been removed. Use preg_replace_callback() instead.
exactly @hbcafe - /e modifier is allowing you to run eval() code - so the update of preg_replace() is just ensuring more security.
PHP7 is not compatible anymore with the preg_replace function.
All preg_replace functions should be replaced by preg_replace_callback()