array_shift « Data Structure « PHP






1.Removing the First Element of an Array with array_shift()
2.Removing the First or Last Element from an Array
3.array_shift( ) function returns the value from the front of the array while also removing it from the array.
4.array_shift() function operates much like array_pop()