From 75ebe5ca7e632d075ca9bc29b61374db90af679d Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Fri, 15 Nov 2002 02:10:04 +0000 Subject: [PATCH] Added descriptions for the new mbstring functions git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@104123 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../mbstring/functions/mb-convert-case.xml | 84 +++++++++++++++++++ .../mbstring/functions/mb-strtolower.xml | 70 ++++++++++++++++ .../mbstring/functions/mb-strtoupper.xml | 70 ++++++++++++++++ 3 files changed, 224 insertions(+) create mode 100644 reference/mbstring/functions/mb-convert-case.xml create mode 100644 reference/mbstring/functions/mb-strtolower.xml create mode 100644 reference/mbstring/functions/mb-strtoupper.xml diff --git a/reference/mbstring/functions/mb-convert-case.xml b/reference/mbstring/functions/mb-convert-case.xml new file mode 100644 index 0000000000..bbe74bb8d6 --- /dev/null +++ b/reference/mbstring/functions/mb-convert-case.xml @@ -0,0 +1,84 @@ + + + + + mb_convert_case + Perform case folding on a string + + + Description + + stringmb_convert_case + stringstr + intmode + stringencoding + + + mb_convert_case returns case folded version of + string converted in the way specified by + mode. + + + mode can be one of MB_CASE_UPPER, MB_CASE_LOWER + or MB_CASE_TITLE. + + + encoding specifies the encoding of + str; if omitted, the internal character encoding + value (mbstring.internal_encoding) will be used. + + + The return value is str with the appropriate case folding applied. + + + By contrast to the standard case folding functions such as + strtolower and strtoupper, + case folding is performed on the basis of the Unicode character + properties. So the behaviour of this function is not affected + by locale settings and it can convert any characters that have + 'alphabetic' property, such as A-umlaut (Ä). + + + For more information about the Unicode properties, please see http://www.unicode.org/unicode/reports/tr21/. + + + <function>mb_convert_case</function> example + + + + + + See also mb_strtolower, + mb_strtoupper, strtolower, + strtoupper. + + + + + diff --git a/reference/mbstring/functions/mb-strtolower.xml b/reference/mbstring/functions/mb-strtolower.xml new file mode 100644 index 0000000000..ae849fb063 --- /dev/null +++ b/reference/mbstring/functions/mb-strtolower.xml @@ -0,0 +1,70 @@ + + + + + mb_strtolower + Make a string lowercase + + + Description + + stringmb_strtolower + stringstr + stringencoding + + + mb_strtolower returns str + with all alphabetic characters converted to lowercase. + + + encoding specifies the encoding of + str; if omitted, the internal character encoding + value (mbstring.internal_encoding) will be used. + + + For more information about the Unicode properties, please see http://www.unicode.org/unicode/reports/tr21/. + + + By contrast to strtolower, 'alphabetic' is + determined by the Unicode character properties. So the behaviour + of this function is not affected by locale settings and it can convert + any characters that have 'alphabetic' property, such as A-umlaut (Ä). + + + <function>mb_strtolower</function> example + + + + + + See also strtolower, + mb_strtoupper, mb_convert_case. + + + + + diff --git a/reference/mbstring/functions/mb-strtoupper.xml b/reference/mbstring/functions/mb-strtoupper.xml new file mode 100644 index 0000000000..5d4fdb5616 --- /dev/null +++ b/reference/mbstring/functions/mb-strtoupper.xml @@ -0,0 +1,70 @@ + + + + + mb_strtoupper + Make a string uppercase + + + Description + + stringmb_strtoupper + stringstr + stringencoding + + + mb_strtoupper returns str + with all alphabetic characters converted to uppercase. + + + encoding specifies the encoding of + str; if omitted, the internal character encoding + value (mbstring.internal_encoding) will be used. + + + By contrast to strtoupper, 'alphabetic' is + determined by the Unicode character properties. So the behaviour of this + function is not affected by locale settings and it can convert any + characters that have 'alphabetic' property, such as a-umlaut (ä). + + + For more information about the Unicode properties, please see http://www.unicode.org/unicode/reports/tr21/. + + + <function>mb_strtoupper</function> example + + + + + + See also strtoupper, + mb_strtolower, mb_convert_case. + + + + +