|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-09-03 06:49 UTC] svn@php.net
[2009-09-03 06:49 UTC] torben@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Jun 17 00:00:02 2026 UTC |
Description: ------------ php-manual "Backward Incompatible Changes" did not describe changes with arrays internal pointers. If I passed array to some function call_func($some_array) internal pointer of $some_array reseted in php4, but saved in php5 Reproduce code: --------------- $a = array ( 'first' => 1, 'second' => 2, ); function test($a) { while (list($k, $v)=each($a)) echo $k."\n"; } next($a); test($a); Expected result: ---------------- first second Or make in documented in "PHP: Backward Incompatible Changes" Actual result: -------------- In php4: first second php5: second