Remove usage of preg_replace /e modifier