主页
PHP
PHP strip_tags() 函数
tryphp_func_string_strip_tags
运行 ❯
×
更改方向
保存代码
更改主题
<?php echo strip_tags("Hello
world!
"); ?>
This function strips a string from HTML, XML, and PHP tags. In this example, the
tag gets stripped.