显示文本框

htmlspecialchars_decode()

« htmlspecialchars | http_build_query »
<?php
$string 
htmlspecialchars_decode (
    
// string $string
    
?  // [int $flags = ENT_COMPAT | ENT_HTML401]
);
?>
结果
$string = '<p>this -> "</p>'
示例
#1 htmlspecialchars_decode  ("<p>this -&gt; &quot;</p>")
#2 htmlspecialchars_decode  ("<p>this -&gt; &quot;</p>",
 
ENT_NOQUOTES)
另请参阅
get_html_translation_table, html_entity_decode, htmlspecialchars