Remove a value with the given key from the map.

@param mixed $key
960814
public function offsetUnset($key)
    {
        $keyString = self::keyString($key);
        if (($index = $this->keysIndices[$keyString] ?? null) !== null) {
            unset($this->keys[$index], $this->values[$index], $this->keysIndices[$keyString]);
        }
    }
259118
public function remove($key)
    {
        $key = strtr(strtolower($key), '_', '-');

        unset($this->headers[$key]);

        if ('cache-control' === $key) {
            $this->cacheControl = array();
        }
    }
267114
public function removeParam($key)
    {
        if (null !== $this->params) {
            unset($this->params[$key]);
            if (empty($this->params)) {
                $this->params = null;
            }
        }
    }
3899
public static function remove($key) {
        static::init();
        if (isset($_SESSION[self::$prepend . $key]))
            unset($_SESSION[self::$prepend . $key]);
    }
1205390
public function del($key)
    {
        if (isset($this->value[$key])) {
            $t = $this->value[$key];
            unset($this->value[$key]);
            return $t;
        }

        return null;
    }
672704
protected function forget($key)
    {
        $mapping = $this->getMappingForAttribute($key);

        list($target, $attribute) = $this->parseMappedColumn($mapping);

        $target = $target ? $this->getTarget($this, explode('.', $target)) : $this;

        unset($target->{$attribute});
    }
1075250
public function remove($key)
    {
        if ($key == 'message') {
            $this->message = '';
        }

        if ($key == 'exception') {
            $this->exception = null;
        }

        if (array_key_exists($key, $this->payload)) {
            unset($this->payload[$key]);
        }
    }
820925
public function remove($key)
    {
        $keyGen = $this->generateKey($key);
        $this->cache->remove($keyGen);
        @unlink($this->getFilePath($keyGen));
    }
771973
public function remove($key)
    {
        if (isset($this->_data[$key])) {
            unset($this->_data[$key]);
        }

        return $this;
    }
65434
public function removeAttribute($key)
    {
        if (isset($this[$uid = $this->maskKey($key)])) {
            unset($this[$uid]);
        }
    }
1176581
public function remove($key)
	{
		$this->validateKey($key);
		if ($this->has($key)) {
			unset($this->params[$key]);
			return true;
		} else {
			return false;
		}
	}
206271
public function remove($key) {
        if (isset($this->data->$key)) unset($this->data->$key);
        
        $this->store($this->data);
        
        return ;
    }
1162267
public function unset(string $key): void
    {
        $slug = $this->splitKey($key);

        if (is_string($slug)) {
            if (isset($this[$slug])) {
                unset($this[$slug]);
            }
        } else {
            if ($this->has($key)) {
                $this->set($key, null);
            }
        }
    }
782562
public function remove ($key) {
        if (!$this->_r) {
            if (isset($this->_d[$key])) {
                $value = $this->_d[$key];
                unset($this->_d[$key]);
                return $value;
            } else {
                // it is possible the value is null, which is not detected by isset
                unset($this->_d[$key]);
                return null;
            }
        } else
            throw new Exception(Yii::t ('yii' , 'The map is read only.'));
    }
663871
public function removeKey($key)
    {
        if ($this->hasKey($key)) {
            unset($this->container[$key]);
            return true;
        } else {
            return false;
        }
    }
402641
public function delete($key)
    {
        $keys = explode('.', $key);
        $key_string = '';
        foreach ($keys as $i => $_key) {
            $key_string = $key_string . ((is_numeric($_key) || $_key === '') ? "[{$_key}]" : "['{$_key}']");
        }
        $script = sprintf('unset($this->_params%s);', $key_string);
        eval($script);
    }
813157
public function offsetUnset($key)
    {
        //unset($this->items[$key]);

        // Recursive call
        if (is_array($key))
            foreach ($key as $k)
                $this->internalRemove($this->items, $k);

        $this->internalRemove($this->items, $key);
    }