WeakMap::count (PHP 8)WeakMap::count — 统计 map 中存活实体的数量 说明 public WeakMap::count(): int 统计 map 中存活实体的数量。 参数 此函数没有参数。 返回值 返回 map 中存活实体的数量。