« Collectable
Pool »

Collectable::isGarbage

(PECL pthreads >= 2.0.8)

Collectable::isGarbage — Determine whether an object has been marked as garbage

説明

public function Collectable::isGarbage(): true

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

パラメータ

この関数にはパラメータはありません。

戻り値

常に true を返します。

変更履歴

バージョン 説明
8.2.0 戻り値の型が、true になりました。これより前のバージョンでは、bool でした。

参考

関連キーワード:
Collectable   whether   Pool   isGarbage   pthreads   references
関連する関数・ページ:
class.collectable   class.pool   pool.resize   pool.collect   book.pthreads   pool.construct

他のマニュアルの関連ページ