From a770138eb3b06f12b99be20f3a16ceba31709538 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Sat, 6 Dec 2008 11:57:18 +0000 Subject: [PATCH] Lets use here ;) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270665 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/get-html-translation-table.xml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/reference/strings/functions/get-html-translation-table.xml b/reference/strings/functions/get-html-translation-table.xml index 73268fef16..5f1576a56c 100644 --- a/reference/strings/functions/get-html-translation-table.xml +++ b/reference/strings/functions/get-html-translation-table.xml @@ -1,5 +1,5 @@ - + get_html_translation_table @@ -79,13 +79,18 @@ $trans = get_html_translation_table(HTML_ENTITIES); $str = "Hallo & & Krämer"; $encoded = strtr($str, $trans); + +echo $encoded; ?> ]]> + &example.outputs; + + + - The $encoded variable will now contain: - "Hallo & <Frau> & - Krämer".