html_entity_decode(string,flags,character-set) 把 HTML 实体转换为字符。
html_entity_decode() 函数是 htmlentities() 函数的反函数。
参数flags:
ENT_COMPAT - 默认。仅解码双引号。ENT_QUOTES - 解码双引号和单引号。ENT_NOQUOTES - 不解码任何引号。
转载于:https://www.cnblogs.com/gyfluck/p/8558890.html
相关资源:PHP html_entity_decode()函数讲解