is_array判断是否为数组

if(is_array($arr)){
    echo "是数组";
}else{
       echo "不是数组";      
}

 

posted @ 2018-01-12 14:36  柒小乐  阅读(872)  评论(0编辑  收藏  举报