PHP 将二维数组中某列值作为数组的键名

 array_column($priceArr, null, 'id');

 

posted @ 2023-06-20 11:36  垖垏尐  阅读(35)  评论(0)    收藏  举报