Collectable::isGarbage

(PECL pthreads >= 2.0.8)

Collectable::isGarbageDetermine whether an object has been marked as garbage

说明

public Collectable::isGarbage(): true

Can be called in Pool::collect() to determine if this object is garbage.

参数

此函数没有参数。

返回值

总是返回 true

更新日志

版本 说明
8.2.0 现在返回类型为 true;之前是 bool

参见

add a note add a note

User Contributed Notes

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