array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'weakmap.offsetexists.php', 1 => 'WeakMap::offsetExists', 2 => 'Checks whether a certain object is in the map', ), 'up' => array ( 0 => 'class.weakmap.php', 1 => 'WeakMap', ), 'prev' => array ( 0 => 'weakmap.getiterator.php', 1 => 'WeakMap::getIterator', ), 'next' => array ( 0 => 'weakmap.offsetget.php', 1 => 'WeakMap::offsetGet', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'language/predefined/weakmap/offsetexists.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

WeakMap::offsetExists

(PHP 8)

WeakMap::offsetExistsChecks whether a certain object is in the map

Опис

public WeakMap::offsetExists(object $object): bool

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.