foreach()
¼Ò½º
$a = array(
"one" => 1,
"two" => 2,
"three" => 3,
"seventeen" => 17
);
foreach ($a as $k => $v) {
echo "\$a[$k] => $v.\n";
}
°á°ú
$a[one] => 1
$a[two] => 2
$a[three] => 3
$a[seventeen] => 17