mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
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:
parent
190180c503
commit
f76b667a29
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue