php二维数组转成一维数组

$arr是需要转换的数组集合
array_reduce($arr, 'array_merge', array());

  

原文地址:https://www.cnblogs.com/love1226/p/11260351.html