WeakMap::current
(PECL weakref >= 0.2.0)
WeakMap::current — Returns the current value under iteration
Description
Returns the current value being iterated on in the map.
Parameters
This function has no parameters.
Return Values
The value currently being iterated on.
- 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