- var_dump: documentation ( source)
- str_replace: documentation ( source)
<?php
$paragraph = "<p>With natural, refreshing scents and stimulating formulas, here you’ll find just what you need to experience a new level of comfort and luxury</p><p>With natural, refreshing scents and stimulating formulas, here you’ll find just what you need to experience a new level of comfort and luxury</p><p>With natural, refreshing scents and stimulating formulas, here you’ll find just what you need to experience a new level of comfort and luxury</p>";
var_dump(str_replace('</p>', '<em>EMEMEMEMEMEM</em></p>', $paragraph));