is_array判断是否为数组

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

 

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