reference/mbstring/functions/mb-detect-order.xml
92f1b8b177eb5730382abf9f27bae868f1bb636f
...
...
@@ -9,12 +9,12 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>mixed</type><methodname>mb_detect_order</methodname>
13
-
<methodparam choice="opt"><type>mixed</type><parameter>encoding_list</parameter><initializer>mb_detect_order()</initializer></methodparam>
12
+
<type class="union"><type>array</type><type>bool</type></type><methodname>mb_detect_order</methodname>
13
+
<methodparam choice="opt"><type class="union"><type>array</type><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Sets the automatic character
17
-
encoding detection order to <parameter>encoding_list</parameter>.
17
+
encoding detection order to <parameter>encoding</parameter>.
18
18
</para>
19
19
</refsect1>
20
20

...
...
@@ -23,15 +23,15 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>encoding_list</parameter></term>
26
+
<term><parameter>encoding</parameter></term>
27
27
<listitem>
28
28
<para>
29
-
<parameter>encoding_list</parameter> is an <type>array</type> or
29
+
<parameter>encoding</parameter> is an <type>array</type> or
30
30
comma separated list of character encoding. See <link
31
31
linkend="mbstring.supported-encodings">supported encodings</link>.
32
32
</para>
33
33
<para>
34
-
If <parameter>encoding_list</parameter> is omitted, it returns
34
+
If <parameter>encoding</parameter> is omitted or &null;, it returns
35
35
the current character encoding detection order as array.
36
36
</para>
37
37
<para>
...
...
@@ -75,6 +75,23 @@
75
75
</para>
76
76
</refsect1>
77
77

78
+
<refsect1 role="changelog">
79
+
&reftitle.changelog;
80
+
<informaltable>
81
+
<tgroup cols="2">
82
+
<thead>
83
+
<row>
84
+
<entry>&Version;</entry>
85
+
<entry>&Description;</entry>
86
+
</row>
87
+
</thead>
88
+
<tbody>
89
+
&mbstring.changelog.encoding-nullable;
90
+
</tbody>
91
+
</tgroup>
92
+
</informaltable>
93
+
</refsect1>
94
+

78
95
<refsect1 role="examples">
79
96
&reftitle.examples;
80
97
<para>
...
...
@@ -129,7 +146,6 @@ detect_order = UTF-8, ASCII, UTF-7
129
146
</refsect1>
130
147

131
148
</refentry>
132
-

133
149
<!-- Keep this comment at the end of the file
134
150
Local variables:
135
151
mode: sgml
136
152