// 主进程等待子进程退出,必须是死循环 while (1) { foreach ($this->pids as $k => $...

2年前 评论 通过 Process 模块在 PHP 中实现多进程(一):简单的多进程 TCP 服务器实现

现在的版本不需要在 “配置文件 config/laravels.php 的 event_handlers 配置项中添加事件与事件监听器的映射关系”,而是在 TestEvent 中配置

2年前 评论 基于 Swoole 在 Laravel 中实现异步事件监听及处理

如果Cache-Control里同时出现了no-store, no-cache,以哪个为准呢? Cache-Control: no-store, no-cache, must-revalidate

2年前 评论 HTTP 缓存的工作原理和实现机制(下)

for (; $j >= 0; $j--) { 有错误

2年前 评论 插入排序