hussan Posted August 7, 2014 Share Posted August 7, 2014 Olá, I have this codE: $cb = 'str_replace("' . $this->LE . '", "", "<$1>");'; $encoded_value[$key] = preg_replace("/<([^>]+)>/e", $cb, $encoded_value[$key]); error: "PHP message: PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead How can i transform this code to preg_replace_callback ? thanks Link to comment https://forums.phpfreaks.com/topic/290337-convert/ Share on other sites More sharing options...
Jacques1 Posted August 7, 2014 Share Posted August 7, 2014 Did you read the manual? What did you not understand? Link to comment https://forums.phpfreaks.com/topic/290337-convert/#findComment-1487135 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.