Ever needed to reverse an array?
If its sorted then sorting in the opposite direction will work. Most arrays aren’t sorted so you need to use the Reverse static method of the array class
Here’s some examples
$carray = 'a','b','c','d','e','f',… Read the full text.