+14  A: 

You are looking for array_shift().

PHP Array Shift

bojo
+4  A: 

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 ) 
dreftymac