Swoole\Server
PHP Manual

Swoole\Server::stop

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Server::stopStop the Swoole server.

说明

public boolean Swoole\Server::stop ([ integer $worker_id ] )

参数

worker_id

返回值


Swoole\Server
PHP Manual