hehexu

博客园 首页 新随笔 联系 订阅 管理

2018年5月31日 #

摘要: 使用usort对多维数组进行排序 <?php function cmp($a, $b) { //strcmp是string compare 字符串比较的缩写, //用来比较两个字符串大小 //$a,$b用来接收数组第一维,如 $a = $cities[0] return strcmp($a["cit 阅读全文
posted @ 2018-05-31 09:09 hehexu 阅读(255) 评论(0) 推荐(0)