©
本文檔使用 php中文網手册 發布
(PECL pthreads >= 2.0.8)
Represents a garbage-collectable object.
Collectable objects are intended to be used by the Pool class, replacing Threaded objects as the unit of work. They provide methods to set and detect the collectability of an object.
$size
, boolean $preserve
)$class
)$run
[, Closure $construct
[, array $args
]] )$from
[, mixed $overwrite
] )$block
[, mixed $...
] )$timeout
] )