WeakMap::valid
(PECL weakref >= 0.2.0)
WeakMap::valid — Returns 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.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Изменение поведения PHP
- Weak References
- Функция WeakMap::__construct() - Constructs a new map
- Функция WeakMap::count() - Counts the number of live entries in the map
- Функция WeakMap::current() - Returns the current value under iteration
- Функция WeakMap::key() - Returns the current key under iteration.
- Функция WeakMap::next() - Advances to the next map element
- Функция WeakMap::offsetExists() - Checks whether a certain object is in the map
- Функция WeakMap::offsetGet() - Returns the value pointed to by a certain object
- Функция WeakMap::offsetSet() - Updates the map with a new key-value pair
- Функция WeakMap::offsetUnset() - Removes an entry from the map
- Функция WeakMap::rewind() - Rewinds the iterator to the beginning of the map
- Функция WeakMap::valid() - Returns whether the iterator is still on a valid map element
Коментарии
404 Not Found