reference/mbstring/functions/mb-stripos.xml
f63aa0afcde35bf8450e32128295d6e08cd6b120
...
...
@@ -9,11 +9,11 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>mb_stripos</methodname>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>mb_stripos</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
<function>mb_stripos</function> returns the numeric position of
...
...
@@ -50,7 +50,8 @@
50
50
<listitem>
51
51
<para>
52
52
The position in <parameter>haystack</parameter>
53
-
to start searching
53
+
to start searching.
54
+
A negative offset counts from the end of the string.
54
55
</para>
55
56
</listitem>
56
57
</varlistentry>
...
...
@@ -75,30 +76,29 @@
75
76
</para>
76
77
</refsect1>
77
78

78
-
<!-- Use when a CHANGELOG exists
79
79
<refsect1 role="changelog">
80
80
&reftitle.changelog;
81
-
<para>
82
-
<informaltable>
83
-
<tgroup cols="2">
84
-
<thead>
85
-
<row>
86
-
<entry>&Version;</entry>
87
-
<entry>&Description;</entry>
88
-
</row>
89
-
</thead>
90
-
<tbody>
91
-
<row>
92
-
<entry>Enter the PHP version of change here</entry>
93
-
<entry>Description of change</entry>
94
-
</row>
95
-
</tbody>
96
-
</tgroup>
97
-
</informaltable>
98
-
</para>
81
+
<informaltable>
82
+
<tgroup cols="2">
83
+
<thead>
84
+
<row>
85
+
<entry>&Version;</entry>
86
+
<entry>&Description;</entry>
87
+
</row>
88
+
</thead>
89
+
<tbody>
90
+
&mbstring.changelog.needle-empty;
91
+
&mbstring.changelog.encoding-nullable;
92
+
<row>
93
+
<entry>7.1.0</entry>
94
+
<entry>
95
+
Support for negative <parameter>offset</parameter>s has been added.
96
+
</entry>
97
+
</row>
98
+
</tbody>
99
+
</tgroup>
100
+
</informaltable>
99
101
</refsect1>
100
-
-->
101
-

102
102

103
103
<!-- Use when examples exist
104
104
<refsect1 role="examples">
...
...
@@ -142,7 +142,6 @@ Use the PEAR Coding Standards
142
142
</para>
143
143
</refsect1>
144
144
</refentry>
145
-

146
145
<!-- Keep this comment at the end of the file
147
146
Local variables:
148
147
mode: sgml
149
148