<?php
$array = array('a' => "jhdsfhjdfsjk", 'b' => "ewropl",'c' =>"cde",'d' =>"");
$arr= array_filter($array);
print_r($arr);
?>
PHP数组中去掉空值
最新推荐文章于 2022-06-28 18:07:56 发布
<?php
$array = array('a' => "jhdsfhjdfsjk", 'b' => "ewropl",'c' =>"cde",'d' =>"");
$arr= array_filter($array);
print_r($arr);
?>