How can I use the array_reverse function to reverse the order of an array in PHP? Example code: - Biz Tech

How can I use the array_reverse function to reverse the order of an array in PHP? Example code:

Listen
$fruits = array("apple", "banana", "orange");

$reversed_fruits = array_reverse($fruits);

print_r($reversed_fruits);