OpenSwoole Server getManagerPid()

25.x is outdated, please check the latest version 26.x


Latest version: pecl install openswoole-26.2.0

Declaration

<?php OpenSwoole\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

Last updated on February 28, 2026