Collectable::isGarbage
(PECL pthreads >= 2.0.8)
Collectable::isGarbage — Determine whether an object has been marked as garbage
说明
Can be called in Pool::collect() to determine if this object is garbage.
参数
此函数没有参数。
返回值
总是返回 true。
参见
- Pool::collect() - 回收已完成任务的引用
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
