Home Email My Account ☎ 480-624-2500

Call to undefined function ereg_replace()

August 11, 2020

Symptom: Error 'Call to undefined function ereg_replace()' received  when running application on PHP 7 or higher. 

 

Cause: The function ereg_replace() was replaced with preg_replace()

 

Solution: Use preg_replace() instead.