1
0
mirror of https://github.com/php/doc-de.git synced 2026-03-26 16:22:10 +01:00
Files
archived-doc-de/reference/array/functions/end.xml
Mark Kronsbein c5867d8e23 Add Revision tags Pt. 2
git-svn-id: https://svn.php.net/repository/phpdoc/de/trunk@84245 c90b9560-bf6c-de11-be94-00142212c4b1
2002-05-31 17:47:11 +00:00

66 lines
1.6 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- EN-Revision: 1.5 Maintainer: tom Status: ready -->
<refentry id="function.end">
<refnamediv>
<refname>end</refname>
<refpurpose>
Positioniert den internen Zeiger eines Arrays auf dessen letztes Element
</refpurpose>
</refnamediv>
<refsect1>
<title>Beschreibung</title>
<methodsynopsis>
<type>mixed</type><methodname>end</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
</methodsynopsis>
<para>
<function>end</function> rückt den internen Zeiger von
<parameter>array</parameter> bis zum letzten Element vor, und gibt
dieses Element zurück.
</para>
<para>
<example>
<title>Ein einfaches <function>end</function> Beispiel</title>
<programlisting role="php">
<![CDATA[
<?php
$fruits = array('apple','banana','cranberry');
print end($fruits); // cranberry
?>
]]>
</programlisting>
</example>
</para>
<para>
Siehe auch <function>current</function>,
<function>each</function>,
<function>next</function> und <function>reset</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->