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]);
        }
    }
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]);
        }
    }
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 ] ) ; } }
Remove a value with the given key from the map.

@param mixed $key
Remove a value with the given key from the map .