Run ❯
Get your
own PHP
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
4, "b"=>2, "c"=>8, "d"=>6); uasort($arr, "my_sort"); foreach($arr as $key => $value) { echo "[" . $key . "] => " . $value; echo "
"; } ?>
[b] => 2
[a] => 4
[d] => 6
[c] => 8