public function removeVariableLocal($name)
    {
        if (!$this->isScope()) {
            return $this->getScope()->removeVariableLocal($name);
        }
        
        unset($this->variables[(string) $name]);
        
        $this->markModified();
    }