reference/array/functions/array-product.xml
443d81b33e6537a000cc235c2a11748ba8d56232
...
...
@@ -38,6 +38,34 @@ xmlns:xlink="http://www.w3.org/1999/xlink">
38
38
Returns the product as an integer or float.
39
39
</para>
40
40
</refsect1>
41
+

42
+
<refsect1 role="changelog">
43
+
&reftitle.changelog;
44
+
<para>
45
+
<informaltable>
46
+
<tgroup cols="2">
47
+
<thead>
48
+
<row>
49
+
<entry>&Version;</entry>
50
+
<entry>&Description;</entry>
51
+
</row>
52
+
</thead>
53
+
<tbody>
54
+
<row>
55
+
<entry>8.3.0</entry>
56
+
<entry>
57
+
Now emits <constant>E_WARNING</constant> when <parameter>array</parameter> values
58
+
cannot be converted to &integer; or &float;.
59
+
Previously &array;s and &object;s where ignored whilst every other value was cast to &integer;.
60
+
Moreover, objects that define a numeric cast (e.g. <classname>GMP</classname>) are now cast instead of ignored.
61
+
</entry>
62
+
</row>
63
+
</tbody>
64
+
</tgroup>
65
+
</informaltable>
66
+
</para>
67
+
</refsect1>
68
+

41
69
<refsect1 role="examples">
42
70
&reftitle.examples;
43
71
<para>
44
72