From 6426fd181ed7d7922b6aee59cbddb313ecc71e95 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 16 Feb 2004 22:22:29 +0000 Subject: [PATCH] - This example didn't work, fixing. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@151577 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/trim.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/strings/functions/trim.xml b/reference/strings/functions/trim.xml index 43d3ee1152..e7beafd08f 100644 --- a/reference/strings/functions/trim.xml +++ b/reference/strings/functions/trim.xml @@ -1,5 +1,5 @@ - + @@ -84,7 +84,7 @@ $trimmed = trim($text); // $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)