WeakMap
PHP Manual

WeakMap::valid

(PECL weakref >= 0.2.0)

WeakMap::validReturns whether the iterator is still on a valid map element

Descrierea

public bool WeakMap::valid ( void )

Returns whether the iterator is still on a valid map element.

Parametri

Această funcție nu are parametri.

Valorile întoarse

Returns TRUE if the iterator is on a valid element that can be accessed, FALSE otherwise.


WeakMap
PHP Manual