reference/mbstring/functions/mb-strrpos.xml
f63aa0afcde35bf8450e32128295d6e08cd6b120
...
...
@@ -9,11 +9,11 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>mb_strrpos</methodname>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>mb_strrpos</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
Performs a multibyte safe
...
...
@@ -78,37 +78,27 @@
78
78

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>5.2.0</entry>
93
-
<entry>Added the optional parameter <parameter>offset</parameter>.</entry>
94
-
</row>
95
-
</tbody>
96
-
</tgroup>
97
-
</informaltable>
98
-
</para>
99
-
</refsect1>
100
-

101
-
<refsect1 role="notes">
102
-
&reftitle.notes;
103
-
<note>
104
-
<simpara>
105
-
The <parameter>encoding</parameter> parameter was moved from
106
-
the third position to the fourth in PHP 5.2.0. For backward
107
-
compatibility, <parameter>encoding</parameter> can be specified
108
-
as the third parameter, but doing so is deprecated and will be
109
-
removed in the future.
110
-
</simpara>
111
-
</note>
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
+
<row>
92
+
<entry>8.0.0</entry>
93
+
<entry>
94
+
Passing the <parameter>encoding</parameter> as the third argument
95
+
instead of an offset has been removed.
96
+
</entry>
97
+
</row>
98
+
&mbstring.changelog.encoding-nullable;
99
+
</tbody>
100
+
</tgroup>
101
+
</informaltable>
112
102
</refsect1>
113
103

114
104
<refsect1 role="seealso">
...
...
@@ -123,7 +113,6 @@
123
113
</refsect1>
124
114

125
115
</refentry>
126
-

127
116
<!-- Keep this comment at the end of the file
128
117
Local variables:
129
118
mode: sgml
130
119