From 5c7c03f22b69df707ce33b8fcfd2b2f11cf63b8b Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Fri, 21 May 2004 23:05:20 +0000 Subject: [PATCH] wrapped the see also added fixed a param name cs & ws git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159340 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/get-html-translation-table.xml | 7 ++++--- reference/strings/functions/md5-file.xml | 7 ++++--- reference/strings/functions/printf.xml | 12 ++++++++---- reference/strings/functions/sha1.xml | 7 ++++--- reference/strings/functions/soundex.xml | 18 ++++++++++-------- reference/strings/functions/str-pad.xml | 7 ++++--- reference/strings/functions/strcasecmp.xml | 9 ++++++--- reference/strings/functions/strcmp.xml | 11 +++++++---- reference/strings/functions/stristr.xml | 8 +++++--- reference/strings/functions/strlen.xml | 6 +++--- reference/strings/functions/strnatcasecmp.xml | 14 +++++++++----- reference/strings/functions/strncasecmp.xml | 11 +++++++---- reference/strings/functions/strncmp.xml | 5 +++-- 13 files changed, 74 insertions(+), 48 deletions(-) diff --git a/reference/strings/functions/get-html-translation-table.xml b/reference/strings/functions/get-html-translation-table.xml index 996a185ae4..3687080e76 100644 --- a/reference/strings/functions/get-html-translation-table.xml +++ b/reference/strings/functions/get-html-translation-table.xml @@ -1,5 +1,5 @@ - + @@ -69,8 +69,9 @@ $original = strtr($encoded, $trans); See also htmlspecialchars, - htmlentities, strtr, - and array_flip. + htmlentities, + strtr, and + array_flip. diff --git a/reference/strings/functions/md5-file.xml b/reference/strings/functions/md5-file.xml index ab7a1153bf..356a9a4185 100644 --- a/reference/strings/functions/md5-file.xml +++ b/reference/strings/functions/md5-file.xml @@ -1,5 +1,5 @@ - + @@ -33,8 +33,9 @@ md5sum. - See also md5, crc32, - and sha1_file. + See also md5, + crc32, and + sha1_file. diff --git a/reference/strings/functions/printf.xml b/reference/strings/functions/printf.xml index 93ef476a1b..4553484be9 100644 --- a/reference/strings/functions/printf.xml +++ b/reference/strings/functions/printf.xml @@ -1,5 +1,5 @@ - + @@ -18,9 +18,13 @@ is described in the documentation for sprintf. - See also print, sprintf, - vprintf, sscanf, - fscanf and flush. + See also + print, + sprintf, + vprintf, + sscanf, + fscanf, and + flush. diff --git a/reference/strings/functions/sha1.xml b/reference/strings/functions/sha1.xml index b2afea54cc..53c71ace48 100644 --- a/reference/strings/functions/sha1.xml +++ b/reference/strings/functions/sha1.xml @@ -1,5 +1,5 @@ - + sha1 @@ -44,8 +44,9 @@ if (sha1($str) === 'd0be2dc421be4fcd0172e5afceea3970e2f3d940') { - See also sha1_file, crc32, - and md5 + See also sha1_file, + crc32, and + md5 diff --git a/reference/strings/functions/soundex.xml b/reference/strings/functions/soundex.xml index c5a68d7761..dcf39b2f37 100644 --- a/reference/strings/functions/soundex.xml +++ b/reference/strings/functions/soundex.xml @@ -1,5 +1,5 @@ - + @@ -33,11 +33,11 @@ ]]> @@ -45,8 +45,10 @@ soundex("Lukasiewicz") == soundex("Lissajous"); // L222 - See also levenshtein, - metaphone, and similar_text. + See also + levenshtein, + metaphone, and + similar_text. diff --git a/reference/strings/functions/str-pad.xml b/reference/strings/functions/str-pad.xml index fd11aae06b..ec5cf7a647 100644 --- a/reference/strings/functions/str-pad.xml +++ b/reference/strings/functions/str-pad.xml @@ -1,5 +1,5 @@ - + @@ -28,9 +28,10 @@ Optional argument pad_type can be - STR_PAD_RIGHT, STR_PAD_LEFT, or STR_PAD_BOTH. If + STR_PAD_RIGHT, STR_PAD_LEFT, + or STR_PAD_BOTH. If pad_type is not specified it is assumed to - be STR_PAD_RIGHT. + be STR_PAD_RIGHT. If the value of pad_length is negative or diff --git a/reference/strings/functions/strcasecmp.xml b/reference/strings/functions/strcasecmp.xml index 44bd8e86b6..763f2bd2ae 100644 --- a/reference/strings/functions/strcasecmp.xml +++ b/reference/strings/functions/strcasecmp.xml @@ -1,5 +1,5 @@ - + @@ -36,8 +36,11 @@ if (strcasecmp($var1, $var2) == 0) { - See also ereg, strcmp, - substr, stristr, + See also + ereg, + strcmp, + substr, + stristr, strncasecmp, and strstr. diff --git a/reference/strings/functions/strcmp.xml b/reference/strings/functions/strcmp.xml index 36c82cda69..d22de030b5 100644 --- a/reference/strings/functions/strcmp.xml +++ b/reference/strings/functions/strcmp.xml @@ -1,5 +1,5 @@ - + @@ -24,9 +24,12 @@ See also ereg, - strcasecmp, substr, - stristr, strncasecmp, - strncmp, and strstr. + strcasecmp, + substr, + stristr, + strncasecmp, + strncmp, and + strstr. diff --git a/reference/strings/functions/stristr.xml b/reference/strings/functions/stristr.xml index cbf595c387..74c8b5e822 100644 --- a/reference/strings/functions/stristr.xml +++ b/reference/strings/functions/stristr.xml @@ -1,5 +1,5 @@ - + @@ -44,8 +44,10 @@ - See also strchr, - strrchr, substr, and + See also + strchr, + strrchr, + substr, and ereg. diff --git a/reference/strings/functions/strlen.xml b/reference/strings/functions/strlen.xml index da9291a370..617ce02847 100644 --- a/reference/strings/functions/strlen.xml +++ b/reference/strings/functions/strlen.xml @@ -1,5 +1,5 @@ - + @@ -10,10 +10,10 @@ Description intstrlen - stringstr + stringstring - Returns the length of string. + Returns the length of the given string. diff --git a/reference/strings/functions/strnatcasecmp.xml b/reference/strings/functions/strnatcasecmp.xml index 6e60d91fda..7abcdbaf3f 100644 --- a/reference/strings/functions/strnatcasecmp.xml +++ b/reference/strings/functions/strnatcasecmp.xml @@ -1,5 +1,5 @@ - + @@ -34,10 +34,14 @@ See also ereg, - strcasecmp, substr, - stristr, strcmp, - strncmp, strncasecmp, - strnatcmp, and strstr. + strcasecmp, + substr, + stristr, + strcmp, + strncmp, + strncasecmp, + strnatcmp, and + strstr. diff --git a/reference/strings/functions/strncasecmp.xml b/reference/strings/functions/strncasecmp.xml index 6b5490256e..db5b2cc59b 100644 --- a/reference/strings/functions/strncasecmp.xml +++ b/reference/strings/functions/strncasecmp.xml @@ -1,5 +1,5 @@ - + @@ -29,9 +29,12 @@ equal. - See also ereg, strcasecmp, - strcmp, substr, - stristr, and strstr. + See also ereg, + strcasecmp, + strcmp, + substr, + stristr, and + strstr. diff --git a/reference/strings/functions/strncmp.xml b/reference/strings/functions/strncmp.xml index f61de0fb86..dd98dfda37 100644 --- a/reference/strings/functions/strncmp.xml +++ b/reference/strings/functions/strncmp.xml @@ -1,5 +1,5 @@ - + @@ -20,7 +20,8 @@ This function is similar to strcmp, with the difference that you can specify the (upper limit of the) number of characters (len) from each string to be - used in the comparison. + used in the comparison. + Returns < 0 if str1 is less than str2; > 0 if str1