mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
5ce8426acc
commit
fbde32f84b
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue