Removes the mapping for a key from this map if it is present.
K $key The key to remove from the map.:
T | null the previous value associated with key, or `null` if there was no mapping for `$key`.
public function remove(int|string $key) : mixed;