phpBBSEO / usu

Ultimate SEO URL
32 stars 25 forks source link

PHP7.0 compatibility (preg_replace) #98

Open C1n opened 9 years ago

C1n commented 9 years ago

PHP7 is not compatible anymore with the preg_replace function.

All preg_replace functions should be replaced by preg_replace_callback()

hbcafe commented 8 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.

See preg_replace > Changelog.

ahoehne commented 8 years ago

exactly @hbcafe - /e modifier is allowing you to run eval() code - so the update of preg_replace() is just ensuring more security.