30
Well, that's peek, and it looks like you've already got push covered... is there a function that removes the last element, or at least gets its index so you can unset it?29 @Someone Else 37 or I do it the lazy way and just use
http://www.w3schools.com/php/func_array_end.asp