(PECL weakref >= 0.2.0)
WeakMap::valid — Returns whether the iterator is still on a valid map element
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.