ID: 9668
Updated by: jmcastagnetto
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Documentation problem
Assigned To: 
Comments:

This is fixed in CVS

Previous Comments:
---------------------------------------------------------------------------

[2001-03-10 04:15:52] [EMAIL PROTECTED]
>From the foreach manual page:

--------
/* foreach example 2: value (with key printed for illustration) */

$a = array (1, 2, 3, 17);

$i = 0; /* for illustrative purposes only */

foreach($a as $v) {
    print "$a[$i] => $k.n";
}
---------

that print statement should be 
    print "$a[$i] => $v.n";


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9668&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to