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