I need to move an array element from index 1 to the last.
For example:
$array[0] = "First";
$array[1] = "Last";
$array[2] = "Second";
How would I move it so that 'Last' was last and had the index of 2 nad 'Second' was second and had the index of 1? Is there a function to do this or am I going to have to use temp vars etc?