摘要: 写个函数用来对二维数组排序 $data = [ ['key1'=>940,'key2'=>'blah'], ['key1'=>23,'key2'=>'this'], ['key1'=>894,'key2'=>'that'] ]; 比如以key1排序 方法一: $data = [ ['key1'=>9 阅读全文
posted @ 2023-03-09 09:38 成文的博客 阅读(47) 评论(0) 推荐(0) 编辑