我有一个数组..
$test = array("def","yz","abc","jkl","123","789","stu");
如果我运行sort()就可以了
Array ( [0] => 123 [1] => 789 [2] => abc [3] => def [4] => jkl [5] => stu [6] => yz )
但我想看到它
Array ( [0] => abc [1] => def [2] => jkl [3] => stu [4] => yz [5] => 123 [6] => 789 )
我尝试了array_reverse,似乎没有改变任何东西.所以我现在有一种失去的东西,如何获得最后的数字,但顺序