reference/strings/functions/lcfirst.xml
54ff7bf8e0f8fa90988cccf6b583517366605f6d
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.lcfirst">
3
+
<refentry xml:id="function.lcfirst" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>lcfirst</refname>
6
6
<refpurpose>Make a string's first character lowercase</refpurpose>
...
...
@@ -10,17 +10,13 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>string</type><methodname>lcfirst</methodname>
13
-
<methodparam><type>string</type><parameter>str</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>string</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Returns a string with the first character of
17
-
<parameter>str</parameter> lowercased if that character is
18
-
alphabetic.
19
-
</para>
20
-
<para>
21
-
Note that 'alphabetic' is determined by the current locale. For
22
-
instance, in the default "C" locale characters such as umlaut-a
23
-
(ä) will not be converted.
17
+
<parameter>string</parameter> lowercased if that character is
18
+
an ASCII character in the range <literal>"A"</literal> (0x41) to
19
+
<literal>"Z"</literal> (0x5a).
24
20
</para>
25
21
</refsect1>
26
22

...
...
@@ -29,7 +25,7 @@
29
25
<para>
30
26
<variablelist>
31
27
<varlistentry>
32
-
<term><parameter>str</parameter></term>
28
+
<term><parameter>string</parameter></term>
33
29
<listitem>
34
30
<para>
35
31
The input string.
...
...
@@ -47,6 +43,23 @@
47
43
</para>
48
44
</refsect1>
49
45

46
+
<refsect1 role="changelog">
47
+
&reftitle.changelog;
48
+
<informaltable>
49
+
<tgroup cols="2">
50
+
<thead>
51
+
<row>
52
+
<entry>&Version;</entry>
53
+
<entry>&Description;</entry>
54
+
</row>
55
+
</thead>
56
+
<tbody>
57
+
&strings.changelog.ascii-case-conversion;
58
+
</tbody>
59
+
</tgroup>
60
+
</informaltable>
61
+
</refsect1>
62
+

50
63
<refsect1 role="examples">
51
64
&reftitle.examples;
52
65
<para>
...
...
@@ -81,7 +94,6 @@ $bar = lcfirst(strtoupper($bar)); // hELLO WORLD!
81
94
</refsect1>
82
95

83
96
</refentry>
84
-

85
97
<!-- Keep this comment at the end of the file
86
98
Local variables:
87
99
mode: sgml
88
100