diff --git a/reference/strings/functions/get-html-translation-table.xml b/reference/strings/functions/get-html-translation-table.xml
index a9294ecdbf..e01d1092a3 100644
--- a/reference/strings/functions/get-html-translation-table.xml
+++ b/reference/strings/functions/get-html-translation-table.xml
@@ -1,5 +1,5 @@
-
+
@@ -35,6 +35,15 @@
ENT_COMPAT mode. See the description of these modes in
htmlspecialchars.
+
+
+ Special characters can be encoded in several ways. E.g.
+ " can be encoded as ",
+ " or ".
+ get_html_translation_table returns only the most
+ common form for them.
+
+
Translation Table Example
@@ -52,27 +61,10 @@ $encoded = strtr($str, $trans);
"Hallo & <Frau> &
Krämer".
-
- Another interesting use of this function is to, with help of array_flip,
- change the direction of the translation.
-
-
-
-]]>
-
-
- The content of $original would be: "Hallo &
- <Frau> & Krämer".
-
See also htmlspecialchars,
- htmlentities,
- strtr, and
- array_flip.
+ htmlentities, and
+ html_entity_decode.