reference/array/functions/array-chunk.xml
214519fdbdd6bfe2942775d3554fa8f440f85404
...
...
@@ -68,11 +68,36 @@
68
68
<refsect1 role="errors">
69
69
&reftitle.errors;
70
70
<para>
71
-
If <parameter>length</parameter> is less than 1
72
-
<constant>E_WARNING</constant> will be thrown and &null; returned.
71
+
If <parameter>length</parameter> is less than <literal>1</literal>,
72
+
a <classname>ValueError</classname> will be thrown.
73
73
</para>
74
74
</refsect1>
75
75

76
+
<refsect1 role="changelog">
77
+
&reftitle.changelog;
78
+
<informaltable>
79
+
<tgroup cols="2">
80
+
<thead>
81
+
<row>
82
+
<entry>&Version;</entry>
83
+
<entry>&Description;</entry>
84
+
</row>
85
+
</thead>
86
+
<tbody>
87
+
<row>
88
+
<entry>8.0.0</entry>
89
+
<entry>
90
+
If <parameter>length</parameter> is less than <literal>1</literal>,
91
+
a <classname>ValueError</classname> will be thrown now;
92
+
previously, an error of level <constant>E_WARNING</constant>
93
+
has been raised instead, and the function returned &null;.
94
+
</entry>
95
+
</row>
96
+
</tbody>
97
+
</tgroup>
98
+
</informaltable>
99
+
</refsect1>
100
+

76
101
<refsect1 role="examples">
77
102
&reftitle.examples;
78
103
<para>
79
104