reference/strings/functions/count-chars.xml
e095023e408c8cb6378ae16bb6870343a3946919
...
...
@@ -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.count-chars">
3
+
<refentry xml:id="function.count-chars" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>count_chars</refname>
6
6
<refpurpose>Return information about characters used in a string</refpurpose>
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>mixed</type><methodname>count_chars</methodname>
12
+
<type class="union"><type>array</type><type>string</type></type><methodname>count_chars</methodname>
13
13
<methodparam><type>string</type><parameter>string</parameter></methodparam>
14
14
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>0</initializer></methodparam>
15
15
</methodsynopsis>
...
...
@@ -81,6 +81,28 @@
81
81
</para>
82
82
</refsect1>
83
83

84
+
<refsect1 role="changelog">
85
+
&reftitle.changelog;
86
+
<informaltable>
87
+
<tgroup cols="2">
88
+
<thead>
89
+
<row>
90
+
<entry>&Version;</entry>
91
+
<entry>&Description;</entry>
92
+
</row>
93
+
</thead>
94
+
<tbody>
95
+
<row>
96
+
<entry>8.0.0</entry>
97
+
<entry>
98
+
Prior to this version, the function returned &false; on failure.
99
+
</entry>
100
+
</row>
101
+
</tbody>
102
+
</tgroup>
103
+
</informaltable>
104
+
</refsect1>
105
+

84
106
<refsect1 role="examples">
85
107
&reftitle.examples;
86
108
<para>
...
...
@@ -128,7 +150,6 @@ There were 1 instance(s) of "w" in the string.
128
150
</refsect1>
129
151

130
152
</refentry>
131
-

132
153
<!-- Keep this comment at the end of the file
133
154
Local variables:
134
155
mode: sgml
135
156