● sort() - 以升序对数组排序
  ● rsort() - 以降序对数组排序
  ● asort() - 根据值,以升序对关联数组进行排序
  ● ksort() - 根据键,以升序对关联数组进行排序
  ● arsort() - 根据值,以降序对关联数组进行排序
  ● krsort() - 根据键,以降序对关联数组进行排序

 

posted on 2018-01-26 14:28  YKing_匆  阅读(71)  评论(0)    收藏  举报