判断是一维数组还是二维数组

count($arr) == count($arr, 1)
第二个会递归查询数组的长度,来计算长度
posted on 2017-03-02 15:26  FantasyBoy  阅读(678)  评论(0编辑  收藏  举报