WeakMap
PHP Manual

WeakMap::valid

(PECL weakref >= 0.2.0)

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

説明

public bool WeakMap::valid ( void )

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

パラメータ

この関数にはパラメータはありません。

返り値

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


WeakMap
PHP Manual