php 多维数组指定某个值作为键

后端开发   发布日期:2025年05月07日   浏览次数:193
  1. $temp_key = array_column($mobile_arr,'cidf'); //键值
  2. $mobile_arr = array_combine($temp_key,$mobile_arr) ;

  

以上就是php 多维数组指定某个值作为键的详细内容,更多关于php 多维数组指定某个值作为键的资料请关注九品源码其它相关文章!