From 61117464ccc75273dbef55baea7d24848e6aa558 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Mon, 17 Sep 2001 21:33:40 +0000 Subject: [PATCH] Moved note about when second parameter was added to [l|r]trim a 'bit' more to the top. Maybe we should make it a habit to place it right under the prototype? That's where it belongs IMHO... git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57710 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/strings.xml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/functions/strings.xml b/functions/strings.xml index 0fd903b10d..21fd2c0edd 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -1385,6 +1385,11 @@ echo "</PRE>\n"; + + + The second parameter was added in PHP 4.0.7 + + This function returns a string with whitespace stripped from the beginning of str. @@ -1457,11 +1462,6 @@ $clean = ltrim($binary,"\0x00..\0x1F"); - - - The second parameter was added in PHP 4.0.7 - - See also trim and rtrim. @@ -1766,6 +1766,11 @@ echo $second[1]; /* prints "another" */ + + + The second parameter was added in PHP 4.0.7 + + This function returns a string with whitespace stripped from the end of str. @@ -1838,11 +1843,6 @@ $clean = rtrim($binary,"\0x00..\0x1F"); - - - The second parameter was added in PHP 4.0.7 - - See also trim and ltrim. @@ -3649,6 +3649,11 @@ echo substr_replace($var, '', 10, -1) . "<br>\n"; + + + The second parameter was added in PHP 4.0.7 + + This function returns a string with whitespace stripped from the beginning and end of str. @@ -3721,11 +3726,6 @@ $clean = trim($binary,"\0x00..\0x1F"); - - - The second parameter was added in PHP 4.0.7 - - See also ltrim and rtrim.