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

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

 

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