在teamtreehouse.com上学习PHP时,我遇到了这个问题:$colors=array("Red","Orange","Yellow","Green","Blue","Purple","Black");Whichfunctionwillsortthearraysothefirstelementis"Yellow"?问题的答案是arsort(),但我不明白为什么,因为PHPman说:arsort—Sortanarrayinreverseorderandmaintainindexassociation我从那个人那里了解到arsort()只会颠倒顺序,这样Black就会成为第一个而