mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Noted that the array pointer is no longer reset for array accesses
made within a function when the array has been passed to the function. Addresses bug #46535. --This line, and those below, will be ignored-- M migration5.xml git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287977 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
bad28941c9
commit
2468f47572
1 changed files with 11 additions and 0 deletions
|
@ -152,6 +152,17 @@
|
|||
A.php and a.php include the file just once.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Passing an array to a function by value no longer resets the
|
||||
array's internal pointer for array accesses made within the
|
||||
function. In other words, in PHP 4 when you passed an array to a
|
||||
function, its internal pointer inside the function would be
|
||||
reset, while in PHP 5, when you pass an array to a function, its
|
||||
array pointer within the function will be wherever it was when
|
||||
the array was passed to the function.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue