WeakMap::offsetExists
(PECL weakref >= 0.2.0)
WeakMap::offsetExists — Checks whether a certain object is in the map
Описание
public bool WeakMap::offsetExists
( object
$object
)Checks whether the passed object is referenced in the map.
Список параметров
-
object
-
Object to check for.
Возвращаемые значения
Returns TRUE
if the object is contained in the map, 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