function &getLast() { $f = array(); if (count($this->stack) == 0) { return $f; } return $this->stack[count($this->stack) - 1]; }