04
Jun

Recently I was talking about ksort() to sort array, but i forgot to mention the reversed method. (link)

krsort($ray);

This function sorts an array reversed. So Z – A instead of A – Z.

, , ,

Add reply