Swoole 1.9.22 发布,增加 Async::exec 功能

栏目: 软件资讯 · 发布时间: 8年前

内容简介:PHP的异步、并行、高性能网络通信引擎 Swoole 已发布 1.9.22 版本。此版本增加了 Async::exec 功能,可以异步执行一条 shell 命令。另外此版本还修复了多个已知问题。 Async::Exec $pid = Swoole\Async::exec(...

PHP的异步、并行、高性能网络通信引擎 Swoole 已发布 1.9.22 版本。此版本增加了 Async::exec 功能,可以异步执行一条 shell 命令。另外此版本还修复了多个已知问题。

Async::Exec

$pid = Swoole\Async::exec("ps aux", function ($result, $status) {
    var_dump(strlen($result), $status);
});

var_dump($pid);

主要更新:

  • 增加 Async::exec 功能

  • 增加 tls_host_name 选项

  • 移除 Client 复用连接时清理 Socket 缓存区的逻辑

  • 修复MacOS 下压力测试发生死循环的问题

  • 修复MacOS 10.12 以下版本编译失败的问题

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《Swoole 1.9.22 发布,增加 Async::exec 功能》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Visual Thinking

Visual Thinking

Colin Ware / Morgan Kaufmann / 2008-4-18 / USD 49.95

Increasingly, designers need to present information in ways that aid their audiences thinking process. Fortunately, results from the relatively new science of human visual perception provide valuable ......一起来看看 《Visual Thinking》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

html转js在线工具
html转js在线工具

html转js在线工具