mirror of
https://github.com/php/doc-zh.git
synced 2026-04-25 00:58:02 +02:00
cc964efcd6
git-svn-id: https://svn.php.net/repository/phpdoc/zh/trunk@95704 c90b9560-bf6c-de11-be94-00142212c4b1
51 lines
1.3 KiB
XML
Executable File
51 lines
1.3 KiB
XML
Executable File
<?xml version="1.0" encoding="gb2312"?>
|
||
<!-- $Revision: 1.1 $ -->
|
||
<!-- $Author: dallas $ -->
|
||
<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready -->
|
||
<refentry id="function.reset">
|
||
<refnamediv>
|
||
<refname>reset</refname>
|
||
<refpurpose>
|
||
将数组的内部指针指向第一个单元
|
||
</refpurpose>
|
||
</refnamediv>
|
||
<refsect1>
|
||
<title>说明</title>
|
||
<methodsynopsis>
|
||
<type>mixed</type><methodname>reset</methodname>
|
||
<methodparam><type>array</type><parameter>array</parameter></methodparam>
|
||
</methodsynopsis>
|
||
<para>
|
||
<function>reset</function> 将 <parameter>array</parameter> 的内部指针倒回到第一个单元。
|
||
</para>
|
||
<para>
|
||
<function>reset</function> 返回第一个数组单元的值。
|
||
</para>
|
||
<para>
|
||
参见 <function>current</function>,<function>each</function>,<function>next</function>
|
||
和 <function>prev</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
|
||
-->
|