CakeFest 2024: The Official CakePHP Conference

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

User Contributed Notes

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