Collectable::isGarbage
(PECL pthreads >= 2.0.8)
Collectable::isGarbage — Determine whether an object has been marked as garbage
說明
public Collectable::isGarbage(): bool
Can be called in Pool::collect() to determine if this object is garbage.
參數
此函式沒有參數。
返回值
總是返回 true
。