reference/mbstring/functions/mb-ereg-search-init.xml
92f1b8b177eb5730382abf9f27bae868f1bb636f
...
...
@@ -11,8 +11,8 @@
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>mb_ereg_search_init</methodname>
13
13
<methodparam><type>string</type><parameter>string</parameter></methodparam>
14
-
<methodparam choice="opt"><type>string</type><parameter>pattern</parameter></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"msr"</initializer></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>pattern</parameter><initializer>&null;</initializer></methodparam>
15
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
<function>mb_ereg_search_init</function> sets
...
...
@@ -45,10 +45,10 @@
45
45
</listitem>
46
46
</varlistentry>
47
47
<varlistentry>
48
-
<term><parameter>option</parameter></term>
48
+
<term><parameter>options</parameter></term>
49
49
<listitem>
50
50
<para>
51
-
The search option.
51
+
The search option. See <function>mb_regex_set_options</function> for explanation.
52
52
</para>
53
53
</listitem>
54
54
</varlistentry>
...
...
@@ -63,6 +63,30 @@
63
63
</simpara>
64
64
</refsect1>
65
65

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

66
90
<refsect1 role="notes">
67
91
&reftitle.notes;
68
92
...
...
@@ -80,7 +104,6 @@
80
104
</refsect1>
81
105

82
106
</refentry>
83
-

84
107
<!-- Keep this comment at the end of the file
85
108
Local variables:
86
109
mode: sgml
87
110