note 34943 deleted from function.htmlspecialchars by vincent
| From: | vincent@php.net | Date: | Tue, 12 Aug 2003 21:24:41 +0000 |
| Subject: | note 34943 deleted from function.htmlspecialchars by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54037@lists.php.net to get a copy of this message | ||
Note Submitter: matt at idahovandals d0t c0m
----
The previous post has a typo. It should be "strtr" not "strstr":
function html_decode($encoded) {
return strtr($encoded,array_flip(get_html_translation_table(HTML_ENTITIES)));
}