PHP 8.1.28 Released!

WeakMap::count

(PHP 8)

WeakMap::count统计 map 中存活实体的数量

说明

public WeakMap::count(): int

统计 map 中存活实体的数量。

参数

此函数没有参数。

返回值

返回 map 中存活实体的数量。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top