PHP 8.1.0 RC 2 available for testing

The Collectable interface

(PECL pthreads >= 2.0.8)



Collectable was previously a class (in pthreads v2 and below). Now, it is an interface in pthreads v3 that is implemented by the Threaded class.

Represents a garbage-collectable object.

Arayüz Sözdizimi

class Collectable {
/* Yöntemler */
public isGarbage(): bool
public setGarbage(): void


add a note add a note

User Contributed Notes

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