string(4) "古牧" [2]=> string(0)">
时间:2021-07-01 10:21:17 帮助过:16人阅读
function array_multiunique($ar) { $t = array_map('serialize', $ar); $t = array_unique($t); return array_map('unserialize', $t); } $ar = array( array("","古牧",""), array("","古牧",""), ); print_r(array_multiunique($ar));