[PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml addslashes.xml bin2hex.xml chr.xml chunk-split.xml convert-cyr-string.xml convert-uudecode.xml convert-uuencode.xml count-chars.xm

2007-06-10 Thread Mehdi Achour
didou   Mon Jun 11 00:50:00 2007 UTC

  Modified files:  
/phpdoc/en/reference/strings/functions  addcslashes.xml 
addslashes.xml bin2hex.xml 
chr.xml chunk-split.xml 
convert-cyr-string.xml 
convert-uudecode.xml 
convert-uuencode.xml 
count-chars.xml crc32.xml 
crypt.xml 
  Log:
  WS, prepare for new doc style
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/addcslashes.xml?r1=1.9r2=1.10diff_format=u
Index: phpdoc/en/reference/strings/functions/addcslashes.xml
diff -u phpdoc/en/reference/strings/functions/addcslashes.xml:1.9 
phpdoc/en/reference/strings/functions/addcslashes.xml:1.10
--- phpdoc/en/reference/strings/functions/addcslashes.xml:1.9   Thu Oct 12 
09:21:26 2006
+++ phpdoc/en/reference/strings/functions/addcslashes.xml   Mon Jun 11 
00:50:00 2007
@@ -1,55 +1,55 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.9 $ --
+!-- $Revision: 1.10 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
-  refentry id=function.addcslashes
-   refnamediv
-refnameaddcslashes/refname
-refpurposeQuote string with slashes in a C style/refpurpose
-   /refnamediv
-   refsect1
-titleDescription/title
- methodsynopsis
-  typestring/typemethodnameaddcslashes/methodname
-  methodparamtypestring/typeparameterstr/parameter/methodparam
-  
methodparamtypestring/typeparametercharlist/parameter/methodparam
- /methodsynopsis
-para
- Returns a string with backslashes before characters that are
- listed in parametercharlist/parameter parameter. If
- parametercharlist/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, 
- t and v. They will be converted to \0, \a, \b, \f, \n, \r, \t 
- and \v. 
- In PHP \0 (NULL), \r (carriage return), \n (newline) and \t (tab) 
- are predefined escape sequences, while in C all of these are 
- predefined escape sequences.
-/para
-para
- parametercharlist/parameter like \0..\37, which would
- escape all characters with ASCII code between 0 and 31.
- example
-  titlefunctionaddcslashes/function example/title
-  programlisting role=php
+refentry id=function.addcslashes
+ refnamediv
+  refnameaddcslashes/refname
+  refpurposeQuote string with slashes in a C style/refpurpose
+ /refnamediv
+ refsect1
+  titleDescription/title
+  methodsynopsis
+   typestring/typemethodnameaddcslashes/methodname
+   methodparamtypestring/typeparameterstr/parameter/methodparam
+   
methodparamtypestring/typeparametercharlist/parameter/methodparam
+  /methodsynopsis
+  para
+   Returns a string with backslashes before characters that are
+   listed in parametercharlist/parameter parameter. If
+   parametercharlist/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,
+   t and v. They will be converted to \0, \a, \b, \f, \n, \r, \t
+   and \v.
+   In PHP \0 (NULL), \r (carriage return), \n (newline) and \t (tab)
+   are predefined escape sequences, while in C all of these are
+   predefined escape sequences.
+  /para
+  para
+   parametercharlist/parameter like \0..\37, which would
+   escape all characters with ASCII code between 0 and 31.
+   example
+titlefunctionaddcslashes/function example/title
+programlisting role=php
 ![CDATA[
 ?php
 $escaped = addcslashes($not_escaped, [EMAIL PROTECTED]);
 ?
 ]]
-  /programlisting
- /example
-/para
-para
- When you define a sequence of characters in the charlist argument
- make sure that you know what characters come between the
- characters that you set as the start and end of the range.
- informalexample
-  programlisting role=php
+/programlisting
+   /example
+  /para
+  para
+   When you define a sequence of characters in the charlist argument
+   make sure that you know what characters come between the
+   characters that you set as the start and end of the range.
+   informalexample
+programlisting role=php
 ![CDATA[
 ?php
 echo addcslashes('foo[ ]', 'A..z');
@@ -59,33 +59,33 @@
 // feeds, carriage returns, etc.
 ?
 ]]
-  /programlisting

[PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml addslashes.xml bin2hex.xml chop.xml chr.xml chunk-split.xml convert-cyr-string.xml convert-uudecode.xml convert-uuencode.xml count

2007-06-10 Thread Mehdi Achour
didou   Mon Jun 11 00:50:48 2007 UTC

  Modified files:  
/phpdoc/en/reference/strings/functions  addcslashes.xml 
addslashes.xml bin2hex.xml 
chop.xml chr.xml 
chunk-split.xml 
convert-cyr-string.xml 
convert-uudecode.xml 
convert-uuencode.xml 
count-chars.xml crc32.xml 
crypt.xml 
  Log:
  ref.strings (a* = c*): Switch to new doc style
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/addcslashes.xml?r1=1.10r2=1.11diff_format=u
Index: phpdoc/en/reference/strings/functions/addcslashes.xml
diff -u phpdoc/en/reference/strings/functions/addcslashes.xml:1.10 
phpdoc/en/reference/strings/functions/addcslashes.xml:1.11
--- phpdoc/en/reference/strings/functions/addcslashes.xml:1.10  Mon Jun 11 
00:50:00 2007
+++ phpdoc/en/reference/strings/functions/addcslashes.xml   Mon Jun 11 
00:50:48 2007
@@ -1,13 +1,13 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.10 $ --
-!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
+!-- $Revision: 1.11 $ --
 refentry id=function.addcslashes
  refnamediv
   refnameaddcslashes/refname
   refpurposeQuote string with slashes in a C style/refpurpose
  /refnamediv
- refsect1
-  titleDescription/title
+ 
+ refsect1 role=description
+  reftitle.description;
   methodsynopsis
typestring/typemethodnameaddcslashes/methodname
methodparamtypestring/typeparameterstr/parameter/methodparam
@@ -15,41 +15,39 @@
   /methodsynopsis
   para
Returns a string with backslashes before characters that are
-   listed in parametercharlist/parameter parameter. If
-   parametercharlist/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,
-   t and v. They will be converted to \0, \a, \b, \f, \n, \r, \t
-   and \v.
-   In PHP \0 (NULL), \r (carriage return), \n (newline) and \t (tab)
-   are predefined escape sequences, while in C all of these are
-   predefined escape sequences.
-  /para
-  para
-   parametercharlist/parameter like \0..\37, which would
-   escape all characters with ASCII code between 0 and 31.
-   example
-titlefunctionaddcslashes/function example/title
-programlisting role=php
-![CDATA[
-?php
-$escaped = addcslashes($not_escaped, [EMAIL PROTECTED]);
-?
-]]
-/programlisting
-   /example
+   listed in parametercharlist/parameter parameter. 
   /para
+ /refsect1
+
+ refsect1 role=parameters
+  reftitle.parameters;
   para
-   When you define a sequence of characters in the charlist argument
-   make sure that you know what characters come between the
-   characters that you set as the start and end of the range.
-   informalexample
-programlisting role=php
+   variablelist
+varlistentry
+ termparameterstr/parameter/term
+ listitem
+  para
+   The string to be escaped.
+  /para
+ /listitem
+/varlistentry
+varlistentry
+ termparametercharlist/parameter/term
+ listitem
+  para
+   A list of characters to be escaped. If
+   parametercharlist/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
+When you define a sequence of characters in the charlist argument
+make sure that you know what characters come between the
+characters that you set as the start and end of the range.
+informalexample
+ programlisting role=php
 ![CDATA[
 ?php
 echo addcslashes('foo[ ]', 'A..z');
@@ -59,32 +57,76 @@
 // feeds, carriage returns, etc.
 ?
 ]]
-/programlisting
-   /informalexample
-   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 functionord/function function to find the
-   ASCII value for a character.
-   informalexample
-programlisting role=php
+ /programlisting
+/informalexample
+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 

[PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml addslashes.xml quotemeta.xml

2006-10-12 Thread Derick Rethans
derick  Thu Oct 12 09:21:26 2006 UTC

  Modified files:  
/phpdoc/en/reference/strings/functions  addcslashes.xml 
addslashes.xml quotemeta.xml 
  Log:
  - Improve and make see-also's consistent here.
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/addcslashes.xml?r1=1.8r2=1.9diff_format=u
Index: phpdoc/en/reference/strings/functions/addcslashes.xml
diff -u phpdoc/en/reference/strings/functions/addcslashes.xml:1.8 
phpdoc/en/reference/strings/functions/addcslashes.xml:1.9
--- phpdoc/en/reference/strings/functions/addcslashes.xml:1.8   Sat Aug  6 
13:28:19 2005
+++ phpdoc/en/reference/strings/functions/addcslashes.xml   Thu Oct 12 
09:21:26 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.8 $ --
+!-- $Revision: 1.9 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.addcslashes
refnamediv
@@ -80,6 +80,7 @@
 para
  See also functionstripcslashes/function, 
  functionstripslashes/function, 
+ functionaddslashes/function, 
  functionhtmlspecialchars/function, and 
  functionquotemeta/function.
 /para
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/addslashes.xml?r1=1.3r2=1.4diff_format=u
Index: phpdoc/en/reference/strings/functions/addslashes.xml
diff -u phpdoc/en/reference/strings/functions/addslashes.xml:1.3 
phpdoc/en/reference/strings/functions/addslashes.xml:1.4
--- phpdoc/en/reference/strings/functions/addslashes.xml:1.3Thu Jul 24 
08:48:10 2003
+++ phpdoc/en/reference/strings/functions/addslashes.xmlThu Oct 12 
09:21:26 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.addslashes
refnamediv
@@ -59,6 +59,8 @@
 /para
 para
  See also functionstripslashes/function, 
+ functionstripcslashes/function, 
+ functionaddcslashes/function, 
  functionhtmlspecialchars/function,
  functionquotemeta/function, and 
  functionget_magic_quotes_gpc/function.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/quotemeta.xml?r1=1.4r2=1.5diff_format=u
Index: phpdoc/en/reference/strings/functions/quotemeta.xml
diff -u phpdoc/en/reference/strings/functions/quotemeta.xml:1.4 
phpdoc/en/reference/strings/functions/quotemeta.xml:1.5
--- phpdoc/en/reference/strings/functions/quotemeta.xml:1.4 Thu Feb 24 
14:27:16 2005
+++ phpdoc/en/reference/strings/functions/quotemeta.xml Thu Oct 12 09:21:26 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.139 --
   refentry id=function.quotemeta
refnamediv
@@ -22,10 +22,12 @@
 
 simpara
  See also functionaddslashes/function,
+ functionaddcslashes/function,
  functionhtmlentities/function, 
  functionhtmlspecialchars/function, 
- functionnl2br/function, and 
- functionstripslashes/function.
+ functionnl2br/function,
+ functionstripslashes/function, and
+ functionstripcslashes/function.
 /simpara
/refsect1
   /refentry


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml

2005-08-06 Thread anatoly techtonik
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.7r2=1.8ty=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 parametercharlist/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 parametercharlist/parameter parameter. If
+ parametercharlist/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, 


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml

2004-08-09 Thread Jakub Vrana
vrana   Mon Aug  9 10:53:55 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  addcslashes.xml 
  Log:
  \0 is not PHP's NULL
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/addcslashes.xml?r1=1.6r2=1.7ty=u
Index: phpdoc/en/reference/strings/functions/addcslashes.xml
diff -u phpdoc/en/reference/strings/functions/addcslashes.xml:1.6 
phpdoc/en/reference/strings/functions/addcslashes.xml:1.7
--- phpdoc/en/reference/strings/functions/addcslashes.xml:1.6   Fri Aug  6 11:00:08 
2004
+++ phpdoc/en/reference/strings/functions/addcslashes.xml   Mon Aug  9 10:53:55 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.addcslashes
refnamediv
@@ -24,7 +24,7 @@
  Be careful if you choose to escape characters 0, a, b, f, n, r, 
  t and v. They will be converted to \0, \a, \b, \f, \n, \r, \t 
  and \v. 
- In PHP \0 (null;), \r (carriage return), \n (newline) and \t (tab) 
+ In PHP \0 (NULL), \r (carriage return), \n (newline) and \t (tab) 
  are predefined escape sequences, while in C all of these are 
  predefined escape sequences.
 /para


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml

2004-08-06 Thread Dave Barr
daveFri Aug  6 11:00:08 2004 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  addcslashes.xml 
  Log:
  - Fix #28683.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/addcslashes.xml?r1=1.5r2=1.6ty=u
Index: phpdoc/en/reference/strings/functions/addcslashes.xml
diff -u phpdoc/en/reference/strings/functions/addcslashes.xml:1.5 
phpdoc/en/reference/strings/functions/addcslashes.xml:1.6
--- phpdoc/en/reference/strings/functions/addcslashes.xml:1.5   Sat Nov 22 14:31:43 
2003
+++ phpdoc/en/reference/strings/functions/addcslashes.xml   Fri Aug  6 11:00:08 
2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.addcslashes
refnamediv
@@ -30,7 +30,7 @@
 /para
 para
  parametercharlist/parameter like \0..\37, which would
- escape all characters with ASCII code between 0 and 37.
+ escape all characters with ASCII code between 0 and 31.
  example
   titlefunctionaddcslashes/function example/title
   programlisting role=php


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml

2003-11-22 Thread Yun-young Lee
progcom Sat Nov 22 14:11:26 2003 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  addcslashes.xml 
  Log:
  typo?
  
Index: phpdoc/en/reference/strings/functions/addcslashes.xml
diff -u phpdoc/en/reference/strings/functions/addcslashes.xml:1.3 
phpdoc/en/reference/strings/functions/addcslashes.xml:1.4
--- phpdoc/en/reference/strings/functions/addcslashes.xml:1.3   Fri May 30 12:47:59 
2003
+++ phpdoc/en/reference/strings/functions/addcslashes.xml   Sat Nov 22 14:11:26 
2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.addcslashes
refnamediv
@@ -29,7 +29,7 @@
  predefined escape sequences.
 /para
 para
- parametercharlist/parameter like \0..\37, which would
+ parametercharlist/parameter like \0..\31, which would
  escape all characters with ASCII code between 0 and 31.
  example
   titlefunctionaddcslashes/function example/title


[PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml

2003-11-22 Thread Yun-young Lee
progcom Sat Nov 22 14:31:43 2003 EDT

  Modified files:  
/phpdoc/en/reference/strings/functions  addcslashes.xml 
  Log:
  z has higher ASCII value than A.
  
Index: phpdoc/en/reference/strings/functions/addcslashes.xml
diff -u phpdoc/en/reference/strings/functions/addcslashes.xml:1.4 
phpdoc/en/reference/strings/functions/addcslashes.xml:1.5
--- phpdoc/en/reference/strings/functions/addcslashes.xml:1.4   Sat Nov 22 14:11:26 
2003
+++ phpdoc/en/reference/strings/functions/addcslashes.xml   Sat Nov 22 14:31:43 
2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --
   refentry id=function.addcslashes
refnamediv
@@ -29,8 +29,8 @@
  predefined escape sequences.
 /para
 para
- parametercharlist/parameter like \0..\31, which would
- escape all characters with ASCII code between 0 and 31.
+ parametercharlist/parameter like \0..\37, which would
+ escape all characters with ASCII code between 0 and 37.
  example
   titlefunctionaddcslashes/function example/title
   programlisting role=php
@@ -59,7 +59,7 @@
 ]]
   /programlisting
  /informalexample
- 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 functionord/function function to find the




Re: [PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml

2003-11-22 Thread Derick Rethans
On Sat, 22 Nov 2003, Yun-young Lee wrote:

 progcom   Sat Nov 22 14:31:43 2003 EDT

   Modified files:
 /phpdoc/en/reference/strings/functionsaddcslashes.xml
   Log:
   z has higher ASCII value than A.

 @@ -59,7 +59,7 @@
  ]]
/programlisting
   /informalexample
 - 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 functionord/function function to find the

Uh? The documentation *was* correct here, please revert your change.

Derick


Re: [PHP-DOC] cvs: phpdoc /en/reference/strings/functions addcslashes.xml

2003-11-22 Thread Derick Rethans
On Sat, 22 Nov 2003, Derick Rethans wrote:

 On Sat, 22 Nov 2003, Yun-young Lee wrote:

  progcom Sat Nov 22 14:31:43 2003 EDT
 
Modified files:
  /phpdoc/en/reference/strings/functions  addcslashes.xml
Log:
z has higher ASCII value than A.
 
  @@ -59,7 +59,7 @@
   ]]
 /programlisting
/informalexample
  - 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 functionord/function function to find the

 Uh? The documentation *was* correct here, please revert your change.

Never mind, I read it wrong.

Derick