ldquo - php removehtml



如何扭转htmlentities()? (4)

对于像áéí这样的特殊字符,我可以调用htmlentities()

$mycaption = htmlentities($mycaption, ENT_QUOTES);

要获取相应的html实体:

áéí

我怎样才能将其反转回áéí

https://code.i-harness.com





string html_entity_decode ( string $string [, int $quote_style = ENT_COMPAT [, string $charset = 'UTF-8' ]] )




html-encode