<?php
$str="<h1>PHP中文网,海量资源,php技术学习阵了。</h1>";
echo '正常输出的HTML:'.$str;
echo '<hr>';
echo '页面未经解码的HTML源码:'.'<br>'.htmlentities($str);
?>