WeakMap::offsetUnset

(PECL weakref >= 0.2.0) Removes an entry from the map public void WeakMap::offsetUnset ( object $object ) Removes an entry from the map. Parameters: object The key object to remove from the map. Returns: No value is returned.

WeakMap::offsetSet

(PECL weakref >= 0.2.0) Updates the map with a new key-value pair public void WeakMap::offsetSet ( object $object, mixed $value ) Updates the map with a new key-value pair. If the key already existed in the map, the old value is replaced with the new. Parameters: object The object serving as key of the key-value pair. value The arbi

WeakMap::offsetGet

(PECL weakref >= 0.2.0) Returns the value pointed to by a certain object public mixed WeakMap::offsetGet ( object $object ) Returns the value pointed to by a certain object. Parameters: object Some object contained as key in the map. Returns: Returns the value associated to the object passed as argument, NULL otherwise.

WeakMap::offsetExists

(PECL weakref >= 0.2.0) Checks whether a certain object is in the map public bool WeakMap::offsetExists ( object $object ) Checks whether the passed object is referenced in the map. Parameters: object Object to check for. Returns: Returns TRUE if the object is contained in the map, FALSE otherwise.

WeakMap::next

(PECL weakref >= 0.2.0) Advances to the next map element public void WeakMap::next ( void ) Advances to the next map element. Returns: No value is returned.

WeakMap::key

(PECL weakref >= 0.2.0) Returns the current key under iteration. public object WeakMap::key ( void ) Returns the object serving as key in the map, at the current iterating position. Returns: The object key currently being iterated.

WeakMap::current

(PECL weakref >= 0.2.0) Returns the current value under iteration public mixed WeakMap::current ( void ) Returns the current value being iterated on in the map. Returns: The value currently being iterated on.

WeakMap::count

(PECL weakref >= 0.2.0) Counts the number of live entries in the map public int WeakMap::count ( void ) Counts the number of live entries in the map. Returns: Returns the number of live entries in the map.

WeakMap::__construct

(PECL weakref >= 0.2.0) Constructs a new map public WeakMap::__construct ( void ) Constructs a new map. Returns: No value is returned.

Weakref::valid

(PECL weakref >= 0.1.0) Checks whether the object referenced still exists public bool Weakref::valid ( void ) Checks whether the object referenced still exists. Returns: Returns TRUE if the object still exists and is thus still accessible via Weakref::get(), FALSE otherwise. See also: Weakref::get() -