protected static function forkOneWorker($worker) { // Get available worker id. $id = self::getId($worker->workerId, 0); if ($id === false) { return; } ...