reference/mbstring/functions/mb-ereg-search-pos.xml
92f1b8b177eb5730382abf9f27bae868f1bb636f
...
...
@@ -9,9 +9,9 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>array</type><methodname>mb_ereg_search_pos</methodname>
13
-
<methodparam choice="opt"><type>string</type><parameter>pattern</parameter></methodparam>
14
-
<methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"ms"</initializer></methodparam>
12
+
<type class="union"><type>array</type><type>false</type></type><methodname>mb_ereg_search_pos</methodname>
13
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>pattern</parameter><initializer>&null;</initializer></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Returns position and length of a matched part of the multibyte regular expression
...
...
@@ -37,10 +37,10 @@
37
37
</listitem>
38
38
</varlistentry>
39
39
<varlistentry>
40
-
<term><parameter>option</parameter></term>
40
+
<term><parameter>options</parameter></term>
41
41
<listitem>
42
42
<para>
43
-
The search option.
43
+
The search option. See <function>mb_regex_set_options</function> for explanation.
44
44
</para>
45
45
</listitem>
46
46
</varlistentry>
...
...
@@ -60,6 +60,30 @@
60
60
</simpara>
61
61
</refsect1>
62
62

63
+
<refsect1 role="changelog">
64
+
&reftitle.changelog;
65
+
<para>
66
+
<informaltable>
67
+
<tgroup cols="2">
68
+
<thead>
69
+
<row>
70
+
<entry>&Version;</entry>
71
+
<entry>&Description;</entry>
72
+
</row>
73
+
</thead>
74
+
<tbody>
75
+
<row>
76
+
<entry>8.0.0</entry>
77
+
<entry>
78
+
<parameter>pattern</parameter> and <parameter>options</parameter> are nullable now.
79
+
</entry>
80
+
</row>
81
+
</tbody>
82
+
</tgroup>
83
+
</informaltable>
84
+
</para>
85
+
</refsect1>
86
+

63
87
<refsect1 role="notes">
64
88
&reftitle.notes;
65
89
...
...
@@ -77,7 +101,6 @@
77
101
</refsect1>
78
102

79
103
</refentry>
80
-

81
104
<!-- Keep this comment at the end of the file
82
105
Local variables:
83
106
mode: sgml
84
107