| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2002-02-28 05:40 UTC] yohgaki@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 05:00:01 2025 UTC | 
Thais kind of error does NOT occur at PHP4.1 for Win32, but I have no opportunity to check it at the same version PHP for FreeBSD. Example: <? $group = array(array(1, 2, 3), array(4, 5, 6)); $count = 2; for ($c = 0; $c < $count; $c++) { reset($group); while (list($i) = each($group)) { list($key, $val) = each($group[$i]); echo "$val "; } } ?> That scrips produces "1 4 2 5 " at PHP4.1.0@Win32 but "1 4 1 4" at PHP4.0.6@FreeBSD4.3