small clarification regarding each() and reset()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@60229 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hartmut Holzgraefe 2001-10-19 10:47:17 +00:00
parent 3564a46600
commit 518c0fcfe6

View file

@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
<!-- $Revision: 1.105 $ -->
<!-- $Revision: 1.106 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@ -2057,7 +2057,9 @@ while (list ($key, $val) = each ($HTTP_POST_VARS)) {
<para>
After <function>each</function> has executed, the array cursor
will be left on the next element of the array, or on the last
element if it hits the end of the array.
element if it hits the end of the array. You have to use
<function>reset</function> if you want to traverse the array
again using each.
</para>
<para>
See also <function>key</function>, <function>list</function>,