You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chung Leong edited this page Jan 10, 2022
·
3 revisions
array_shift - Shift an element off the beginning of array
mixed array_pop ( array &$array )
array_shift() shifts the first value of the array off and returns it, shortening the array by one element and moving everything down. array must be an expandable array. Passing an empty array to this function triggers a fatal error.