public function pop($name)
{
if (count($this->vars) == 0) {
return null;
}
if (!is_array($this->vars[count($this->vars) - 1][$name])) {
throw new \InvalidArgumentException('argument must be an array');
}
return array_pop($this->vars[count($this->vars) - 1][$name]);
}