From 2036db95b333f261ee55cae8c89ce850b3ffc6de Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Tue, 1 Jan 2002 22:56:13 +0000 Subject: [PATCH] Notes: Removed unneeded ones, modifed a few others. We don't need a note to declare when a function came into existence. chunk_split: See also explode, split and wordwrap git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66637 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/strings.xml | 55 ++++++++----------------------------------- 1 file changed, 10 insertions(+), 45 deletions(-) diff --git a/functions/strings.xml b/functions/strings.xml index 02db13712b..fd8fcdf958 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -89,10 +89,6 @@ echo addcslashes("zoo['.']", 'z..A'); ]]> - - - Added in PHP 4 - See also stripcslashes, @@ -257,14 +253,11 @@ $new_string = chunk_split(base64_encode($data)); ]]> - This function is significantly faster than - ereg_replace. - - - This function was added in 3.0.6. - - + + See also explode, split + and word_wrap. + @@ -384,11 +377,6 @@ $new_string = chunk_split(base64_encode($data)); - - - This function was added in PHP 4.0. - - @@ -1422,11 +1410,6 @@ echo "\n"; The constant CHAR_MAX is also defined for the use mentioned above. - - - Added in PHP 4.0.5 - - See also: setlocale. @@ -2616,11 +2599,6 @@ if (!strcasecmp($var1, $var2)) { Note that this comparison is case sensitive, and unlike strcmp this function is not binary safe. - - - Added in PHP 4.0.5. - - See also ereg, strcmp, strcasecmp, substr, @@ -2732,11 +2710,6 @@ $string = strip_tags($string, ''); Returns a string with backslashes stripped off. Recognizes C-like \n, \r ..., octal and hexadecimal representation. - - - Added in PHP4b3-dev. - - See also addcslashes. @@ -3210,11 +3183,6 @@ echo str_repeat("-=", 10); This will output "-=-=-=-=-=-=-=-=-=-=". - - - This function was added in PHP 4.0. - - @@ -3702,7 +3670,8 @@ echo strtr("hi all, I said hello", $trans) . "\n"; - This feature (two arguments) was added in PHP 4.0. + This optional to and + from parameters were added in PHP 4.0.0 @@ -3910,11 +3879,6 @@ echo substr_replace($var, '', 10, -1) . "
\n"; See also str_replace and substr.
- - - substr_replace was added in PHP 4.0. - - @@ -3943,7 +3907,8 @@ echo substr_replace($var, '', 10, -1) . "
\n"; - The second parameter was added in PHP 4.1.0 + The optional charlist parameter was + added in PHP 4.1.0 @@ -4222,7 +4187,7 @@ $bar = ucwords(strtolower($bar)); // Hello World! (See second example). - The cut parameter was added in PHP 4.0.3. + The optional cut parameter was added in PHP 4.0.3