WeakMap::count
PHP Manual
PHP Manual»WeakMap»WeakMap::count

WeakMap::count

(PHP 8)

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

Опис

public function WeakMap::count(): int

Counts the number of live entries in the map.

Параметри

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

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

Returns the number of live entries in the map.

To Top