You are here

function ctools_math_expr_stack::pop in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/math-expr.inc \ctools_math_expr_stack::pop()

File

includes/math-expr.inc, line 375

Class

ctools_math_expr_stack

Code

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