src/Execution.php
public function removeVariableLocal($name)
    {
        if (!$this->isScope()) {
            return $this->getScope()->removeVariableLocal($name);
        }
        
        unset($this->variables[(string) $name]);
        
        $this->markModified();
    }
public function removeVariableLocal($name)
    {
        if (!$this->isScope()) {
            return $this->getScope()->removeVariableLocal($name);
        }
        
        unset($this->variables[(string) $name]);
        
        $this->markModified();
    }
Remove the given variable from the current scope.

@param string $name