reference/mbstring/functions/mb-encoding-aliases.xml
96bc008584eaea7d899b13234a88b1d84f82032b
...
...
@@ -34,19 +34,42 @@
34
34
<refsect1 role="returnvalues">
35
35
&reftitle.returnvalues;
36
36
<para>
37
-
Returns a numerically indexed array of encoding aliases on success,
38
-
&return.falseforfailure;
37
+
Returns a numerically indexed array of encoding aliases.
39
38
</para>
40
39
</refsect1>
41
40

42
41
<refsect1 role="errors">
43
42
&reftitle.errors;
44
43
<para>
45
-
Emits an <constant>E_WARNING</constant> level error if
44
+
Throws a <classname>ValueError</classname> if
46
45
<parameter>encoding</parameter> is unknown.
47
46
</para>
48
47
</refsect1>
49
48

49
+
<refsect1 role="changelog">
50
+
&reftitle.changelog;
51
+
<informaltable>
52
+
<tgroup cols="2">
53
+
<thead>
54
+
<row>
55
+
<entry>&Version;</entry>
56
+
<entry>&Description;</entry>
57
+
</row>
58
+
</thead>
59
+
<tbody>
60
+
<row>
61
+
<entry>8.0.0</entry>
62
+
<entry>
63
+
If the <parameter>encoding</parameter> is unknown, a <classname>ValueError</classname>
64
+
is now thrown; previously an <constant>E_WARNING</constant> was emitted,
65
+
and the function returned &false;.
66
+
</entry>
67
+
</row>
68
+
</tbody>
69
+
</tgroup>
70
+
</informaltable>
71
+
</refsect1>
72
+

50
73
<refsect1 role="examples">
51
74
&reftitle.examples;
52
75
<example>
...
...
@@ -100,7 +123,6 @@ Array
100
123
</para>
101
124
</refsect1>
102
125
</refentry>
103
-

104
126
<!-- Keep this comment at the end of the file
105
127
Local variables:
106
128
mode: sgml
...
...
@@ -121,4 +143,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
121
143
vim: et tw=78 syn=sgml
122
144
vi: ts=1 sw=1
123
145
-->
124
-

125
146