php / 8.1.5 / weakmap.offsetunset.html /

WeakMap::offsetUnset

(PHP 8)

WeakMap::offsetUnsetRemoves an entry from the map

Description

public WeakMap::offsetUnset(object $object): void

Removes an entry from the map.

Parameters

object

The key object to remove from the map.

Return Values

No value is returned.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/weakmap.offsetunset.php