phpday 2027 - Call for Papers

Swoole\Process::kill

(PECL swoole >= 1.9.0)

Swoole\Process::kill — Send signal to the child process.

Description

public static function Swoole\Process::kill(int $pid, int $signal_no = ?): bool

Send signal to the child process.

Parameters

pid

Process pid

signal_no

Signal to be sent

Return Values

Returns true on success or false on failure.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top