WC_Eval_Math_Stack::poppublicWC 1.0

Pop value from stack.

Method of the class: WC_Eval_Math_Stack{}

No Hooks.

Returns

Mixed.

Usage

$WC_Eval_Math_Stack = new WC_Eval_Math_Stack();
$WC_Eval_Math_Stack->pop();

WC_Eval_Math_Stack::pop() code WC 10.5.0

public function pop() {
	if ( $this->count > 0 ) {
		$this->count--;
		return $this->stack[ $this->count ];
	}
	return null;
}