编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Swoole\Server::stats
  • Swoole\Server::task »
  • PHP Manual
  • Swoole\Server
  • Stop the Swoole server.

Swoole\Server::stop

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

Swoole\Server::stop — Stop the Swoole server.

说明

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

参数

worker_id

返回值

相关文章
php swoole the swoole server classphp swoole http client download a file from the remote server.php swoole http client send get http request to the remote server.php swoole process stop the child processes.php swoole redis server descriptionphp swoole redis server descriptionphp swoole server stop and destory a timer.php swoole server get all of the established connections.php swoole server construct a swoole server.php swoole server delay execution of the callback function at the end of current eventloop.php swoole server check if the connection is existed.php swoole server stop receiving data from the connection.php swoole server send file to the connection.php swoole server send message to worker processes by id.php swoole server send data to the remote udp address.php swoole server send data to the remote socket in the blocking way.php swoole server stop the swoole server.php swoole websocket server check if the the file description is existed.php swoole websocket server register event callback functionphp swoole websocket server get a pack of binary data to send in a single frame.
关注编程学问公众号
编程学问网 湘ICP备20001732号