코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>PHP Control</title> </head> <body> <?php $arr = array( "둘" => 2, "넷" => 4, "여섯" => 6, "여덟" => 8, ); foreach ($arr as $key => $value) { echo "배열 arr에서 키값 '{$key}'에 대한 값은 {$value}입니다.<br>"; } unset($value); ?> </body> </html>