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.