php8.5
Home/ Manual/ predefined / weakmap/ WeakMap::offsetUnset

WeakMap::offsetUnset

PHP function Edit on GitHub ✎

(PHP 8)

Removes an entry from the map

Description

WeakMap::offsetUnset(object $object): void

Removes an entry from the map.

Parameters

object

The key object to remove from the map.

Return Values

Void

Source: language/predefined/weakmap/offsetunset.xml · from the official PHP manual (php/doc-en)