会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
龍飛鳯舞
博客园
首页
新随笔
联系
订阅
管理
2021年12月2日
非swoole的方式实现简单的异步(nginx模式下)
摘要: set_time_limit(0);echo '任务开始'.time();/*即时打印*/register_shutdown_function([$this, "test"]);/*异步执行 test 为类中方法名 */echo '任务结束'.time();/*即时打印*/fastcgi_finis
阅读全文
posted @ 2021-12-02 10:11 龍飛鳯舞
阅读(55)
评论(0)
推荐(0)
编辑
公告