<?php header("Content-type: text/html; charset=utf-8"); $team = "ブラジル"; if(is_array($team)){ echo '$teamは配列です!<br>'; } else{ echo'$teamは配列ではありません!<br>'; } $team = array('ブラウザ','イタリア','アルゼンチン','フランス'); if(is_array($team)){ echo'$teamは配列です!<br>'; } else{ echo'$teamは配列ではありません!<br>'; } ?>