WorkerPool icon indicating copy to clipboard operation
WorkerPool copied to clipboard

Parallel Processing WorkerPool for PHP

Results 3 WorkerPool issues
Sort by recently updated
recently updated
newest added

I tried to use WorkerPool to parallelise some HTTP requests. It seems to work, except for one mysterious bug: when the main/parent PHP process exits, it fails to flush its...

Will be good if we can catch of the worker exceptions. For example: ``` $wp = new WorkerPool(); $wp->onWorkerException(function(\Exception $ex, Worker $worker) { // there we can handle the exception...

enhancement

``` % php -a Interactive shell php > $x = [100 => 100, 200 => 200, 300 => 300]; php > echo json_encode($x); {"100":100,"200":200,"300":300} php > array_shift($x); php > echo...