reference/mbstring/functions/mb-strtolower.xml
b4afab59db15ea4b7c5dc2132d85932b4859bcf2
...
...
@@ -10,11 +10,11 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>string</type><methodname>mb_strtolower</methodname>
13
-
<methodparam><type>string</type><parameter>str</parameter></methodparam>
14
-
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>mb_internal_encoding()</initializer></methodparam>
13
+
<methodparam><type>string</type><parameter>string</parameter></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
-
Returns <parameter>str</parameter>
17
+
Returns <parameter>string</parameter>
18
18
with all alphabetic characters converted to lowercase.
19
19
</para>
20
20
</refsect1>
...
...
@@ -24,7 +24,7 @@
24
24
<para>
25
25
<variablelist>
26
26
<varlistentry>
27
-
<term><parameter>str</parameter></term>
27
+
<term><parameter>string</parameter></term>
28
28
<listitem>
29
29
<para>
30
30
The <type>string</type> being lowercased.
...
...
@@ -44,24 +44,10 @@
44
44
<refsect1 role="returnvalues">
45
45
&reftitle.returnvalues;
46
46
<para>
47
-
<parameter>str</parameter> with all alphabetic characters converted to lowercase.
47
+
<parameter>string</parameter> with all alphabetic characters converted to lowercase.
48
48
</para>
49
49
</refsect1>
50
50

51
-
<refsect1 role="unicode">
52
-
&reftitle.unicode;
53
-
<para>
54
-
For more information about the Unicode properties, please see <link
55
-
xlink:href="&url.unicode.reports;">&url.unicode.reports;</link>.
56
-
</para>
57
-
<para>
58
-
By contrast to <function>strtolower</function>, 'alphabetic' is
59
-
determined by the Unicode character properties. Thus the behaviour
60
-
of this function is not affected by locale settings and it can convert
61
-
any characters that have 'alphabetic' property, such as A-umlaut (Ä).
62
-
</para>
63
-
</refsect1>
64
-

65
51
<refsect1 role="examples">
66
52
&reftitle.examples;
67
53
<para>
...
...
@@ -95,6 +81,20 @@ echo $str; // Prints τάχιστη αλώπηξ βαφής ψημένη γη,
95
81
</para>
96
82
</refsect1>
97
83

84
+
<refsect1 role="notes">
85
+
&reftitle.notes;
86
+
<para>
87
+
By contrast to <function>strtolower</function>, 'alphabetic' is
88
+
determined by the Unicode character properties. Thus the behaviour
89
+
of this function is not affected by locale settings and it can convert
90
+
any characters that have 'alphabetic' property, such as a-umlaut (ä).
91
+
</para>
92
+
<para>
93
+
For more information about the Unicode properties, please see <link
94
+
xlink:href="&url.unicode.reports;">&url.unicode.reports;</link>.
95
+
</para>
96
+
</refsect1>
97
+

98
98
<refsect1 role="seealso">
99
99
&reftitle.seealso;
100
100
<para>
...
...
@@ -107,7 +107,6 @@ echo $str; // Prints τάχιστη αλώπηξ βαφής ψημένη γη,
107
107
</refsect1>
108
108

109
109
</refentry>
110
-

111
110
<!-- Keep this comment at the end of the file
112
111
Local variables:
113
112
mode: sgml
114
113