html_entity_decode
(PHP 4 >= 4.3.0)html_entity_decode --  Convert all HTML entities to their applicable characters 
Description
string html_entity_decode ( string string [, int quote_style [, string charset]])
html_entity_decode() is the opposite of htmlentities() in that it converts all HTML entities to their applicable characters from string. The optional second quote_style parameter lets you define what will be done with 'single' and "double" quotes. It takes on one of three constants with the default being ENT_COMPAT: 表格 1. Available quote_style constantsConstant Name Description 
ENT_COMPAT Will convert double-quotes and leave single-quotes alone. 
ENT_QUOTES Will convert both double and single quotes. 
ENT_NOQUOTES Will leave both double and single quotes unconverted. 
The ISO-8859-1 character set is used as default for the optional third charset. This defines the character set used in conversion. Support for this third argument was added in PHP 4.1.0. Following character sets are supported in PHP 4.3.0 and later.