Fix #79054: Wrong indistinguishable point about current() function

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350305 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-08-13 12:20:56 +00:00
parent 5ce8426acc
commit fbde32f84b

View file

@ -99,8 +99,8 @@ var_dump(current($arr)); // array(0) { }
&reftitle.notes;
<note>
<simpara>
The end of an array and the result of calling
<function>current</function> on an empty array
The results of calling <function>current</function> on an empty array
and on an array, whose internal pointer points beyond the end of the elements,
are indistinguishable from a <type>boolean</type> &false; element.
To properly traverse an array which may contain &false; elements, see the
<function>foreach</function> function.