<?php header("Content-type: text/html; charset=utf-8"); $team[0] = "ブラジル"; $team[1] = "イタリア"; $team[2] = "アルゼンチン"; $team[3] = "フランス"; echo $team[0] . "<br>"; echo $team[1] . "<br>"; echo $team[2] . "<br>"; echo $team[3] . "<br>"; for($cnt = 0; $cnt <= 3; $cnt++){ echo $team[$cnt] . "<br>"; } ?>