WeakMap::valid
WeakMap::valid
(PECL weakref >= 0.2.0)
WeakMap::valid — Returns whether the iterator is still on a valid map element
Description
public bool WeakMap::valid ( void )
Returns whether the iterator is still on a valid map element.
Parameters
This function has no parameters.
Return Values
Returns TRUE
if the iterator is on a valid element that can be accessed, FALSE
otherwise.
← WeakMap::rewind
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.