时间:2021-07-01 10:21:17 帮助过:19人阅读
$arr = array("net" => array( "find" => array("marks"=>"1234","name"=>"lisi"), "add" => array("marks"=>"12","name"=>"lisi2"), "up" => array("marks"=>"15","name"=>"lisi3"), "del" => array("marks"=>"9","name"=>"lisi4") ), "login" => array( "find" => array("marks"=>"16661","name"=>"lisi5"), "add" => array("marks"=>"18881","name"=>"lisi6") ) );
$v = end($arr['net']);$k = key($arr['net']);echo $k;print_r($v);
楼上真棒 呵呵
学习了
真给力,学习了