<?php $text = '<p>Параграф.</p><!-- Комментарий --> <a href="#fragment">Еще текст</a>'; $str = htmlentities($text); echo $str.'<br>'; echo html_entity_decode($str);
You have javascript disabled. You will not be able to edit any code.