PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

WeakMap::valid

(PECL weakref >= 0.2.0)

WeakMap::validReturns 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.

PHP Manual