标签: arrays alphabetical
答案 0 :(得分:1)
function myfun($val1, $val2){ return ($val1["lable"]<$val2["lable"]) ? 0:1; } usort($myarr, "myfun"); print_r($myarr);