Results 83 comments of codinghuang

@juslintek In the Sdebug extension, we have changed the name of the xdebug extension to sdebug, so you should modify the phpunit source code, for example, in the file `phpunit/php-code-coverage/src/Driver/Driver.php`:...

> @twose how to fix this code, I want to start coroutine server + HTTP server at the same time > > ``` >

> huh, but new problems arose. It looks like I can't use channels within this solution. And can't do something like ch->push(command) from web and pass it to the connected...

@asavchenko You can try this example: ```php

@583128870 `channel`的`pop`操作应该是不会触发这个报错。这个报错应该是出现在给`tcp`连接发送数据的时候,你没有先检查连接是否断开,然后向一个断开的连接发送了数据。

@583128870 可以提供一个可复现的例子吗?

> 【swoft-connection-pool/AbstractPool.php at v2.0.9 · swoft-cloud/swoft-connection-pool · GitHub】https://github.com/swoft-cloud/swoft-connection-pool/blob/v2.0.9/src/AbstractPool.php > > Pool error is Swoft\Connection\Pool\AbstractPool::popByChannel(): Send of 5 bytes failed with errno=32 Broken pipe file=/var/www/swoft/vendor/swoft/connection-pool/src/AbstractPool.php line=277 能否提供一个可以复现出错误的仓库,然后我可以拿下来直接跑。

@shengbinxu 别用`debug_zval_dump`,这个函数基本不维护了,也很反人类,你可以用这个函数打印引用变量试试,理解起来更加的头疼。 安装个`xdebug`,然后调用`xdebug_debug_zval`。

@ruibin 有一个存放可能的垃圾的数组,当这个数组存放的元素个数满了,就会触发

@ksana-kami https://github.com/php-extension-research/study 这里有一个,可以先看着