Skip to content

Commit ac83c2c

Browse files
committed
Return value of mb_regex_set_options() has changed
Cf. <php/php-src#5264>. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350810 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent 3ec7b61 commit ac83c2c

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

reference/mbstring/functions/mb-regex-set-options.xml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,34 @@
131131
<refsect1 role="returnvalues">
132132
&reftitle.returnvalues;
133133
<para>
134-
The <type>string</type> that describes the current options is returned.
134+
The previous options. If <parameter>options</parameter> is omitted,
135+
it returns the <type>string</type> that describes the current options.
135136
</para>
136137
</refsect1>
137138

139+
<refsect1 role="changelog">
140+
&reftitle.changelog;
141+
<informaltable>
142+
<tgroup cols="2">
143+
<thead>
144+
<row>
145+
<entry>&Version;</entry>
146+
<entry>&Description;</entry>
147+
</row>
148+
</thead>
149+
<tbody>
150+
<row>
151+
<entry>8.0.0</entry>
152+
<entry>
153+
If the parameter <parameter>options</parameter> is given, the <emphasis>previous</emphasis>
154+
options are returned. Formerly, the <emphasis>current</emphasis> options have been returned.
155+
</entry>
156+
</row>
157+
</tbody>
158+
</tgroup>
159+
</informaltable>
160+
</refsect1>
161+
138162
<refsect1 role="seealso">
139163
&reftitle.seealso;
140164
<para>

0 commit comments

Comments
 (0)