vrana Fri Jul 9 03:21:54 2004 EDT
Modified files: /phpdoc/en/reference/strings/functions ltrim.xml rtrim.xml Log: \0x00 -> \x00 http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/ltrim.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/strings/functions/ltrim.xml diff -u phpdoc/en/reference/strings/functions/ltrim.xml:1.3 phpdoc/en/reference/strings/functions/ltrim.xml:1.4 --- phpdoc/en/reference/strings/functions/ltrim.xml:1.3 Mon Dec 15 11:53:50 2003 +++ phpdoc/en/reference/strings/functions/ltrim.xml Fri Jul 9 03:21:53 2004 @@ -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.ltrim"> <refnamediv> @@ -83,7 +83,7 @@ // $trimmed = "These are a few words :) ... " $trimmed = ltrim($text, " \t."); // $trimmed = "These are a few words :) ... " -$clean = ltrim($binary, "\0x00..\0x1F"); +$clean = ltrim($binary, "\x00..\x1F"); // trim the ASCII control characters at the beginning of $binary // (from 0 to 31 inclusive) http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/rtrim.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/strings/functions/rtrim.xml diff -u phpdoc/en/reference/strings/functions/rtrim.xml:1.3 phpdoc/en/reference/strings/functions/rtrim.xml:1.4 --- phpdoc/en/reference/strings/functions/rtrim.xml:1.3 Mon Dec 15 11:53:50 2003 +++ phpdoc/en/reference/strings/functions/rtrim.xml Fri Jul 9 03:21:53 2004 @@ -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.31 --> <refentry id="function.rtrim"> <refnamediv> @@ -83,7 +83,7 @@ // $trimmed = "\t\tThese are a few words :) ..." $trimmed = rtrim($text, " \t."); // $trimmed = "\t\tThese are a few words :)" -$clean = rtrim($binary, "\0x00..\0x1F"); +$clean = rtrim($binary, "\x00..\x1F"); // trim the ASCII control characters at the end of $binary // (from 0 to 31 inclusive)