<?php $days = array("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"); // Remove the last element "Sunday" from the array $lastDay = array_pop($days); // Append the last day at the beginning of the array $days = [$lastDay, ...$days]; print_r($days);
You have javascript disabled. You will not be able to edit any code.