/Workerman-master/Events/select.php中的channel

在select的构造函数中,有如下代码 <?php // Create a pipeline and put into the collection of the read to read the descriptor to avoid empty polling. $this->channel = stream_socket_pair(STREAM_PF_UNIX, STREAM_SOC...

haotian 发表与 2017-03-10 3349 浏览 2 回答
看workerman源码后自己写信号出现的疑问

源码 signal_fun.php <?php // 设置信号处理函数 function signal_handler($signo) { switch ($signo) { case SIGTERM: // 处理SIGTERM信号 tlog("Caught SIGTERM...exit...\n"); ...

haotian 发表与 2017-02-23 3529 浏览 2 回答
请问在Linux系统下有没有什么好的调试php办法

windows用phpstorm和xdebug就可以达成断点调试,如果是一般的web php程序只需要日志就可以调试,但是对于workerman这种复杂的在Linux有什么比较好的组合可以调试呢?...

haotian 发表与 2017-02-14 2569 浏览 1 回答

haotian

1955
积分
0
获赞数
0
粉丝数
2017-02-10 加入
×
🔝