You are looking for array_shift().
bojo
2009-02-26 08:10:13
Quick Cheatsheet If you are not familiar with the lingo, here is a quick translation of alternate terms, which may be easier to remember:
* array_unshift() - (aka Prepend ;; InsertBefore ;; InsertAtBegin )
* array_shift() - (aka UnPrepend ;; RemoveBefore ;; RemoveFromBegin )
* array_push() - (aka Append ;; InsertAfter ;; ;; InsertAtEnd )
* array_pop() - (aka UnAppend ;; RemoveAfter ;; ;; RemoveFromEnd )