OpenSwoole Server getMasterPid()

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

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