OpenSwoole Server getMasterPid()

Latest version: pecl install openswoole-26.2.0 | composer require openswoole/core:26.2.0

Declaration

<?php OpenSwoole\Server->getMasterPid(): int

Parameters

none

Return

masterPid

Return the master thread process ID.

Description

Get the master process thread ID.

Available since > v4.5.0

Last updated on September 1, 2022