|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-01-06 11:47 UTC] jan@php.net
[2002-01-06 12:01 UTC] jan@php.net
[2002-01-06 12:15 UTC] jan@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 09:00:01 2025 UTC |
next(), end(), prev(), reset() etc. don't return references meaning this example code won't work as it's thought to do: <?PHP $array1 = array('element1','element2'); $array2 = array(&$array1); next(current($array2)); // here the internal pointer is changed in the copy of array1 that is returned and is in not referenced to to the real $array1 as it should current(current($array2)); // should return "element2" ?>