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:
Torben Wilson 2009-09-03 06:49:15 +00:00
parent bad28941c9
commit 2468f47572

View file

@ -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>