array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'weakmap.count.php', 1 => 'WeakMap::count', 2 => 'Counts the number of live entries in the map', ), 'up' => array ( 0 => 'class.weakmap.php', 1 => 'WeakMap', ), 'prev' => array ( 0 => 'class.weakmap.php', 1 => 'WeakMap', ), 'next' => array ( 0 => 'weakmap.getiterator.php', 1 => 'WeakMap::getIterator', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'language/predefined/weakmap/count.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

WeakMap::count

(PHP 8)

WeakMap::countCounts the number of live entries in the map

Опис

public WeakMap::count(): int

Counts the number of live entries in the map.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the number of live entries in the map.