Pops out the last item in an array and returns that last item.
Pushes in an item into an array, and returns the new item count.
Similar to pop, however pops out the first element of an array and returns that first one.
Similar to push, however it pushes an item, or multiples, to the beginning of the array and returns the new item count.