The Collectable interface

- « Worker::unstack

- Collectable::isGarbage »

- PHP Manual
- pthreads
- The Collectable interface

# The Collectable interface

(PECL pthreads >= 2.0.8)

## Introduction

Represents a garbage-collectable object.

## Interface synopsis

interface Collectable {
/* Methods */
public isGarbage(): true
}

## Table of Contents

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