$menu = array('0' =>'常规管理','1'=>'模块管理','3'=>'用户管理','4'=>'系统设置' ); foreach ($menu as $key => $value) { echo $key; }