techtonik               Sat Aug  6 09:28:19 2005 EDT

  Modified files:              
    /phpdoc/en/reference/strings/functions      addcslashes.xml 
  Log:
  * stress that C-like characters conversion is not automatic, 
     i.e. they must be present in charlist
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/addcslashes.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/strings/functions/addcslashes.xml
diff -u phpdoc/en/reference/strings/functions/addcslashes.xml:1.7 
phpdoc/en/reference/strings/functions/addcslashes.xml:1.8
--- phpdoc/en/reference/strings/functions/addcslashes.xml:1.7   Mon Aug  9 
10:53:55 2004
+++ phpdoc/en/reference/strings/functions/addcslashes.xml       Sat Aug  6 
09:28:19 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
   <refentry id="function.addcslashes">
    <refnamediv>
@@ -15,10 +15,12 @@
      </methodsynopsis>
     <para>
      Returns a string with backslashes before characters that are
-     listed in <parameter>charlist</parameter> parameter. It escapes
-     <literal>\n</literal>, <literal>\r</literal> etc. in C-like
-     style, characters with ASCII code lower than 32 and higher than
-     126 are converted to octal representation. 
+     listed in <parameter>charlist</parameter> parameter. If
+     <parameter>charlist</parameter> contains characters
+     <literal>\n</literal>, <literal>\r</literal> etc., they are
+     converted in C-like style, while other non-alphanumeric characters
+     with ASCII codes lower than 32 and higher than 126 converted to
+     octal representation.
     </para>
     <para>
      Be careful if you choose to escape characters 0, a, b, f, n, r, 

Reply via email to