diff --git a/functions/strings.xml b/functions/strings.xml index 561240ceb4..67c566ccb8 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -754,11 +754,6 @@ $original = strtr($str, $trans); The content of $original would be: "Hallo & <Frau> & Krämer". - - - This function was added in PHP 4.0. - - See also: htmlspecialchars, @@ -914,12 +909,13 @@ $original = strtr($str, $trans); At present, the ISO-8859-1 character set is used as default. - Note that the optional second argument was added in PHP 3.0.17 - and PHP 4.0.3. + Support for the optional second argument was added in PHP 3.0.17 and PHP + 4.0.3. Like htmlspecialchars, it takes an optional third argument which defines character set used in conversion. + Support for this argument was added in PHP 4.1.0. See also htmlspecialchars and @@ -1012,12 +1008,13 @@ $new = htmlspecialchars("Test", ENT_QUOTES); Note that this function does not translate anything beyond what is listed above. For full entity translation, see - htmlentities. Also note that the optional + htmlentities. Support for the optional second argument was added in PHP 3.0.17 and PHP 4.0.3. The third argument defines character set used in conversion. The - default character set is ISO-8859-1. + default character set is ISO-8859-1. Support for this third argument was + added in PHP 4.1.0. See also htmlentities and