Hi all, Need help in solving this task using PHP built in function : array_reverse() and without it. Appreciate it in explaining the code as I'm completely a newbie.
function reverseArray($Arr) {
}
$fruits = ["Mango","Strawberry","Bananas","Pineapple"];
$result = reverseArray($fruits);
Many thanks,
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.