Swoole\Server::__construct — 构建一个Swoole服务器。
说明
public Swoole\Server::__construct(
string $host,
int $port = ?,
integr $mode = ?,
int $sock_type = ?
)
参数
host
port
mode
sock_type
「 构建一个Swoole服务器 」
public Swoole\Server::__construct(
string $host,
int $port = ?,
integr $mode = ?,
int $sock_type = ?
)
检索 APCu共享内存分配信息
获取异常链中的前一个异常
根据指定的 IP 地址或域名获取对应的国家名称
在图像上添加文本或图标等标识
获取Gmagick扩展的发布日期
检查一个对象是否属于指定的类或其子类
检查变量是否已设置并且非 NULL
执行指定的 shell 命令,并将命令的输出作为字符串返回
禁用事件监听器
在异步事件循环中创建子进程
检查给定类是否可迭代
向客户端发送HTTP回复的一部分数据