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