http-client 多余回调打印

talk99

Request.php中多了 echo $package,"\n";

截图

360 1 0
1个回答

walkor 打赏

你的workerman/http-client 不是最新的,升级下

  • talk99 2024-07-02

    php7.4无法更新到http-client:2.2.4

    • Root composer.json requires workerman/http-client ^2.2.4, found workerman/http-client[dev-master, v0.1.0, ..., v0.1.7, v1.0.8, v1.0.9, v1.0.10, v1.0.11, v2.0.0, ..., v2.2.3] but it does not match the constraint.

    其他环境:

    • Locking psr/http-message (2.0)
    • Locking workerman/gateway-worker (v3.1.17)
    • Locking workerman/http-client (v2.2.3)
    • Locking workerman/psr7 (v2.0.1)
    • Locking workerman/workerman (v4.1.15)
  • walkor 2024-07-02

    应该是你用了composer代理导致的,删除代理就好了

×
🔝