去除数组中的重复数组

xiaoxiao2021-02-27  473

foreach($arr as $key=>$val) { if(!in_array($arr[$key],$log_condition)) { $log_condition[] = $arr[$key]; } else { unset($arr[$key]); } }
转载请注明原文地址: https://www.6miu.com/read-4295.html

最新回复(0)