我想对一个数组进行排序,例如:
$k = array (
"2135p" => "toto",
"2137l" => "tosdgsto",
"2135p^2211i" => "sdf",
"2135p^2211i^2224o" => "sdf",
"2137l^2365c" => "sdff"
);
使用此命令->"2137l", "2137l^2365c", "2135p", "2135p^2211i", "2135p^2211i^2224o"
krsort 不这样做
它用于显示插入评论 id
谢谢