php strip_tags
剥去字符串中的 HTML 标签:
<!DOCTYPE html>
<html>
<body>
<?php
echo strip_tags("Hello <b>world!</b>");
?>
</body>
</html>
输出: Hello world!
<!DOCTYPE html>
<html>
<body>
<?php
echo strip_tags("Hello <b>world!</b>");
?>
</body>
</html>
输出: Hello world!