function reduceArray($array) {
$return = [];
array_walk_recursive($array,
function ($x) use (&$return)
{ $return[] = $x; }
);
return $return;
}
转载于:https://www.cnblogs.com/beili/p/10797485.html
function reduceArray($array) {
$return = [];
array_walk_recursive($array,
function ($x) use (&$return)
{ $return[] = $x; }
);
return $return;
}
转载于:https://www.cnblogs.com/beili/p/10797485.html