Fix typo in second example of foreach

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43714 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sascha Schumann 2001-03-16 20:19:31 +00:00
parent 190180c503
commit f76b667a29

View file

@ -526,7 +526,7 @@ $a = array (1, 2, 3, 17);
$i = 0; /* for illustrative purposes only */
foreach($a as $v) {
print "\$a[$i] => $k.\n";
print "\$a[$i] => $v.\n";
}
/* foreach example 3: key and value */