From 0557ed9307d44cde67eabb319411af5d0c1f74aa Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Tue, 12 Sep 2000 18:13:30 +0000 Subject: [PATCH] Add note about when the second arg was added git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32573 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/strings.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/functions/strings.xml b/functions/strings.xml index 2c33fc14a7..223c9ef0f3 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -765,7 +765,8 @@ $original = strtr ($str, $trans); and single quotes unconverted. - At present, the ISO-8859-1 character set is used. + At present, the ISO-8859-1 character set is used. Note that the optional + second argument was added in PHP 3.0.17 and PHP 4.0.3. See also htmlspecialchars and @@ -847,9 +848,10 @@ $new = htmlspecialchars("<a href='test'>Test</a>", ENT_QUOTES); - Note that this functions does not translate anything beyond what + Note that this function does not translate anything beyond what is listed above. For full entity translation, see - htmlentities. + htmlentities. Also note that the optional second + argument was added in PHP 3.0.17 and PHP 4.0.3. See also htmlentities and