问题描述 自定义进程内获取协程状态、拉取当前协程,即调用 Coroutine::isCoroutine() 或 Coroutine::getCurrent() 的结果理论上(如有遗漏请指出)应该是取决于进程所使用的驱动。 程序代码或配置 <?php namespace app\process; use Workerman\Coroutine; class Test { public function on...
问题描述 在 PHP 8.4 上使用 workerman/http-client 时报错,来自此处的$base参数。 程序代码 use Workerman\Worker; require_once __DIR__ . '/vendor/autoload.php'; $worker = new Worker(); $worker->eventLoop = \Workerman\Events\Fiber::cl...