Adding to warning in response to bug 6117

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30299 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
James Moore 2000-08-15 12:22:50 +00:00
parent 33f1182556
commit de0c5af984

View file

@ -1833,9 +1833,10 @@ while (list ($id, $name, $salary) = mysql_fetch_row ($result)) {
element list, <function>next</function> returns false.
<warning>
<para>
If the array contains empty elements then this function will
return false for these elements as well. To properly traverse
an array which may contain empty elements see the
If the array contains empty elements, or elements that have a key
value of 0 then this function will return false for these elements
as well. To properly traverse an array which may contain empty
elements or elements with key values of 0 see the
<function>each</function> function.
</para>
</warning>