PHP - Manual: Collectable::isGarbage
2024-11-14
(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
。
官方地址:https://www.php.net/manual/en/collectable.isgarbage.php