Method ADT.Stack()->pop()
- Method pop
mixed pop(void|int val)
- Description
Pops and returns entry val from the stack, counting from the top. If no value is given the top element is popped and returned. All popped entries are freed from the stack.
mixed pop(void|int val)
Pops and returns entry val from the stack, counting from the top. If no value is given the top element is popped and returned. All popped entries are freed from the stack.