This online php html_entity_decode can be used to apply php html_entity_decode function to a given string.
html_entity_decode usage notes
$decoded_value = html_entity_decode (string $string, $flags=ENT_COMPAT, $encoding=ini_get("default_charset"));
Note that default $flag value ENT_COMPAT will decode double-quotes only (not single quotes). Use ENT_QUOTES to decode both double-quotes and single-quotes. For for information please see official html_entity_decode documentation.
Encoded value for special ascii characters
Char | HTML entity |
---|---|
" | " |
& | & |
< | < |
> | > |