Swoole Server getManagerPid()

Notice: ext-swoole is supported until v4.7.1, use ext-openswoole >= v4.7.1. Latest version: pecl install openswoole-4.10.0

Declaration

<?php
Swoole\Server->getManagerPid(): int

Parameters

none

Return

managerPid

Return the manager thread process ID.

Description

Get the manager process thread ID.

Available since > v4.5.0