derick          Mon Feb 16 17:22:30 2004 EDT

  Modified files:              
    /phpdoc/en/reference/strings/functions      trim.xml 
  Log:
  - This example didn't work, fixing.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/trim.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/strings/functions/trim.xml
diff -u phpdoc/en/reference/strings/functions/trim.xml:1.3 
phpdoc/en/reference/strings/functions/trim.xml:1.4
--- phpdoc/en/reference/strings/functions/trim.xml:1.3  Mon Dec 15 11:53:50 2003
+++ phpdoc/en/reference/strings/functions/trim.xml      Mon Feb 16 17:22:29 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.trim">
    <refnamediv>
@@ -84,7 +84,7 @@
 // $trimmed = "These are a few words :) ..."
 $trimmed = trim($text, " \t.");
 // $trimmed = "These are a few words :)"
-$clean = trim($binary, "\0x00..\0x1F");
+$clean = trim($binary, "\x00..\x1F");
 // trim the ASCII control characters at the beginning and end of $binary
 // (from 0 to 31 inclusive)
 

Reply via email to