From 458180e83f4fee76fada6d5b509a120c593014af Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 9 Jul 2004 07:21:53 +0000 Subject: [PATCH] \0x00 -> \x00 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162907 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/ltrim.xml | 4 ++-- reference/strings/functions/rtrim.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/strings/functions/ltrim.xml b/reference/strings/functions/ltrim.xml index ab74787165..460e23603a 100644 --- a/reference/strings/functions/ltrim.xml +++ b/reference/strings/functions/ltrim.xml @@ -1,5 +1,5 @@ - + @@ -83,7 +83,7 @@ $trimmed = ltrim($text); // $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) diff --git a/reference/strings/functions/rtrim.xml b/reference/strings/functions/rtrim.xml index a34c4e0cdd..d4e73d0763 100644 --- a/reference/strings/functions/rtrim.xml +++ b/reference/strings/functions/rtrim.xml @@ -1,5 +1,5 @@ - + @@ -83,7 +83,7 @@ $trimmed = rtrim($text); // $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)