reference/mbstring/functions/mb-strtolower.xml
6c550e6d0c8139a0086095ef1db0ac6e08716e1f
6c550e6d0c8139a0086095ef1db0ac6e08716e1f
...
...
@@ -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,23 +44,33 @@
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;
51
+
<refsect1 role="changelog">
52
+
&reftitle.changelog;
53
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 (Ä).
54
+
<informaltable>
55
+
<tgroup cols="2">
56
+
<thead>
57
+
<row>
58
+
<entry>&Version;</entry>
59
+
<entry>&Description;</entry>
60
+
</row>
61
+
</thead>
62
+
<tbody>
63
+
<row>
64
+
<entry>8.3.0</entry>
65
+
<entry>
66
+
Implemented conditional casing rules for the Greek letter sigma.
67
+
</entry>
68
+
</row>
69
+
</tbody>
70
+
</tgroup>
71
+
</informaltable>
62
72
</para>
63
-
</refsect1>
73
+
</refsect1>
64
74
65
75
<refsect1 role="examples">
66
76
&reftitle.examples;
...
...
@@ -95,6 +105,20 @@ echo $str; // Prints τάχιστη αλώπηξ βαφής ψημένη γη,
95
105
</para>
96
106
</refsect1>
97
107
108
+
<refsect1 role="notes">
109
+
&reftitle.notes;
110
+
<para>
111
+
By contrast to <function>strtolower</function>, 'alphabetic' is
112
+
determined by the Unicode character properties. Thus the behaviour
113
+
of this function is not affected by locale settings and it can convert
114
+
any characters that have 'alphabetic' property, such as a-umlaut (ä).
115
+
</para>
116
+
<para>
117
+
For more information about the Unicode properties, please see <link
118
+
xlink:href="&url.unicode.reports;">&url.unicode.reports;</link>.
119
+
</para>
120
+
</refsect1>
121
+
98
122
<refsect1 role="seealso">
99
123
&reftitle.seealso;
100
124
<para>
...
...
@@ -107,7 +131,6 @@ echo $str; // Prints τάχιστη αλώπηξ βαφής ψημένη γη,
107
131
</refsect1>
108
132
109
133
</refentry>
110
-
111
134
<!-- Keep this comment at the end of the file
112
135
Local variables:
113
136
mode: sgml
114
137