Pool::collectCollect references to completed tasks Beschreibung
public int Pool::collect
([ Callable
$collector
] )Allows the pool to collect references determined to be garbage by the optionally given collector. Parameter-Liste
RückgabewerteThe number of remaining tasks in the pool to be collected. Changelog
Beispiele
Beispiel #1 A basic example of Pool::collect
<?php |