Determine whether an object has been marked as garbage

Collectable::isGarbage

(PECL pthreads >= 2.0.8)

Collectable::isGarbageDetermine 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

參見

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *