From aa2fffaf00de2b5f181391c78ab9e3bda0b24d91 Mon Sep 17 00:00:00 2001 From: LEE Yun-young Date: Sat, 22 Nov 2003 19:31:43 +0000 Subject: [PATCH] z has higher ASCII value than A. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@144749 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/addcslashes.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/strings/functions/addcslashes.xml b/reference/strings/functions/addcslashes.xml index a8d9c1c284..11361a69c0 100644 --- a/reference/strings/functions/addcslashes.xml +++ b/reference/strings/functions/addcslashes.xml @@ -1,5 +1,5 @@ - + @@ -29,8 +29,8 @@ predefined escape sequences. - charlist like "\0..\31", which would - escape all characters with ASCII code between 0 and 31. + charlist like "\0..\37", which would + escape all characters with ASCII code between 0 and 37. <function>addcslashes</function> example @@ -59,7 +59,7 @@ echo addcslashes('foo[ ]', 'A..z'); ]]> - Also, if the first character in a range has a lower ASCII value + Also, if the first character in a range has a higher ASCII value than the second character in the range, no range will be constructed. Only the start, end and period characters will be escaped. Use the ord function to find the