public function offsetUnset($key) { parent::offsetUnset($key); $this->_stack = array_values($this->_stack); }