📅  最后修改于: 2022-03-11 14:53:46.276000             🧑  作者: Mango
Test paragraph. Other text';
echo strip_tags($text);
//Test paragraph. Other text
// Allow and
echo strip_tags($text, '');
//Test paragraph.
Other text
// as of PHP 7.4.0 the line above can be written as:
// echo strip_tags($text, ['p', 'a']);
?>