我想知道我是否可以在包含分隔符的变量上使用 php 函数,例如'
or "
。我从我的数据库中接收到一个文本内容,我想在上面使用:strip_tags($desc);
但它不起作用。
以下是使用 var dump 可以包含的内容的示例:
string(1039) ""txt <a href=""/txt.php"" class=""txt"">txt</a> . txt'txt <a href=""/txt.php"" class=""txt"">txt</a> txtxtxtxt& " "