for循环格式
for($i=0;$i<count($arr);$i++){echo $arr[$i];}
返回数组长度
$count = count($arr)
前端获取数组长度
{$arr|count}