reference/mbstring/functions/mb-substr-count.xml
92f1b8b177eb5730382abf9f27bae868f1bb636f
...
...
@@ -12,7 +12,7 @@
12
12
<type>int</type><methodname>mb_substr_count</methodname>
13
13
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>mb_internal_encoding()</initializer></methodparam>
15
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
Counts the number of times the
...
...
@@ -60,6 +60,23 @@
60
60
</para>
61
61
</refsect1>
62
62

63
+
<refsect1 role="changelog">
64
+
&reftitle.changelog;
65
+
<informaltable>
66
+
<tgroup cols="2">
67
+
<thead>
68
+
<row>
69
+
<entry>&Version;</entry>
70
+
<entry>&Description;</entry>
71
+
</row>
72
+
</thead>
73
+
<tbody>
74
+
&mbstring.changelog.encoding-nullable;
75
+
</tbody>
76
+
</tgroup>
77
+
</informaltable>
78
+
</refsect1>
79
+

63
80
<refsect1 role="examples">
64
81
&reftitle.examples;
65
82
<para>
...
...
@@ -88,7 +105,6 @@ echo mb_substr_count("This is a test", "is"); // prints out 2
88
105
</refsect1>
89
106

90
107
</refentry>
91
-

92
108
<!-- Keep this comment at the end of the file
93
109
Local variables:
94
110
mode: sgml
95
111