function reduceArray($array) {
$return = []; array_walk_recursive($array, function ($x) use (&$return) { $return[] = $x; } ); return $return; }本文共 193 字,大约阅读时间需要 1 分钟。
function reduceArray($array) {
$return = []; array_walk_recursive($array, function ($x) use (&$return) { $return[] = $x; } ); return $return; }转载于:https://www.cnblogs.com/beili/p/10797485.html