File tree Expand file tree Collapse file tree 1 file changed +26
-3
lines changed
reference/mbstring/functions Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments