reference/mbstring/functions/mb-strpos.xml
f63aa0afcde35bf8450e32128295d6e08cd6b120
...
...
@@ -9,11 +9,11 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>mb_strpos</methodname>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>mb_strpos</methodname>
13
13
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
15
15
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
16
-
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>mb_internal_encoding()</initializer></methodparam>
16
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
17
17
</methodsynopsis>
18
18
<para>
19
19
Finds position of the first occurrence of a <type>string</type> in a <type>string</type>.
...
...
@@ -88,6 +88,8 @@
88
88
</row>
89
89
</thead>
90
90
<tbody>
91
+
&mbstring.changelog.needle-empty;
92
+
&mbstring.changelog.encoding-nullable;
91
93
<row>
92
94
<entry>7.1.0</entry>
93
95
<entry>
...
...
@@ -110,7 +112,6 @@
110
112
</refsect1>
111
113

112
114
</refentry>
113
-

114
115
<!-- Keep this comment at the end of the file
115
116
Local variables:
116
117
mode: sgml
117
118