<u>复制代码</u> 代码如下: <br><?php <BR>$arr = array( <br>1=>"11", <br>2=>"22", <br>3=>"33", <br>4=>"" <br>); <br>print_r(count(array_filter($arr))); <br>?> <br>