Is there something like array_pop(); that removes the first variable in a array instead of the last? (and then renumbers the array of course)
Alternative to array_pop();
"array_shift() shifts the first value of the array off and returns it, shortening the array by one element and moving everything
down."
http://www.php.net/manual/en/function.array-shift.php