<?php $keywords = ['test', 'value']; $replace = ['<span>test</span>', '<span>value</span>']; $string = 'Hello world. This is a test.'; $render = str_replace($keywords, $replace, $string); echo $render;
You have javascript disabled. You will not be able to edit any code.