Adds the specified values to the end of the specified array.
@array - the array to push values on to.
$value - a value to add to the end of the specified array.
... - any number of $values to add to the array may be specified
The first value pushed on to the specified array.
@stack = @("bottom", "middle", "top"); $top = push(@stack, "top+1", "top+2"); println($top); println("Stack is: " . @stack);
top+2 Stack is: @('bottom', 'middle', 'top', 'top+1', 'top+2')