reference/array/functions/end.xml
0a192fcd9cc43c0007de795063b4494974058992
...
...
@@ -9,7 +9,7 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>mixed</type><methodname>end</methodname>
12
-
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
12
+
<methodparam><type class="union"><type>array</type><type>object</type></type><parameter role="reference">array</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
15
<function>end</function> advances <parameter>array</parameter>'s
...
...
@@ -40,6 +40,24 @@
40
40
Returns the value of the last element or &false; for empty array.
41
41
</para>
42
42
</refsect1>
43
+

44
+
<refsect1 role="changelog">
45
+
&reftitle.changelog;
46
+
<informaltable>
47
+
<tgroup cols="2">
48
+
<thead>
49
+
<row>
50
+
<entry>&Version;</entry>
51
+
<entry>&Description;</entry>
52
+
</row>
53
+
</thead>
54
+
<tbody>
55
+
&standard.changelog.calling-on-objects;
56
+
</tbody>
57
+
</tgroup>
58
+
</informaltable>
59
+
</refsect1>
60
+
43
61
<refsect1 role="examples">
44
62
&reftitle.examples;
45
63
<para>
...
...
@@ -72,7 +90,6 @@ echo end($fruits); // cranberry
72
90
</para>
73
91
</refsect1>
74
92
</refentry>
75
-

76
93
<!-- Keep this comment at the end of the file
77
94
Local variables:
78
95
mode: sgml
79
96