cvs: phpdoc /en/reference/strings/functions trim.xml

From: Date: Mon, 16 Feb 2004 22:22:30 +0000
Subject: cvs: phpdoc /en/reference/strings/functions trim.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358973@lists.php.net to get a copy of this message
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)

« previous php.doc (#969358973) next »