reference/mbstring/functions/mb-strrchr.xml
f63aa0afcde35bf8450e32128295d6e08cd6b120
...
...
@@ -9,11 +9,11 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>mb_strrchr</methodname>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>mb_strrchr</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>bool</type><parameter>part</parameter><initializer>false</initializer></methodparam>
16
-
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>mb_internal_encoding()</initializer></methodparam>
15
+
<methodparam choice="opt"><type>bool</type><parameter>before_needle</parameter><initializer>&false;</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_strrchr</function> finds the last occurrence of
...
...
@@ -44,7 +44,7 @@
44
44
</listitem>
45
45
</varlistentry>
46
46
<varlistentry>
47
-
<term><parameter>part</parameter></term>
47
+
<term><parameter>before_needle</parameter></term>
48
48
<listitem>
49
49
<para>
50
50
Determines which portion of <parameter>haystack</parameter>
...
...
@@ -76,6 +76,24 @@
76
76
</para>
77
77
</refsect1>
78
78

79
+
<refsect1 role="changelog">
80
+
&reftitle.changelog;
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
+
</tbody>
93
+
</tgroup>
94
+
</informaltable>
95
+
</refsect1>
96
+

79
97
<refsect1 role="seealso">
80
98
&reftitle.seealso;
81
99
<para>
...
...
@@ -88,7 +106,6 @@
88
106
</refsect1>
89
107

90
108
</refentry>
91
-

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