foreach中如何取全部长度的值

 foreach($data as  $num=>$key ){
 return $num;
}    

关键就是这个$num;

posted @ 2020-02-13 20:46  以己为镜  阅读(481)  评论(0编辑  收藏  举报