$worker = new Worker();
報(bào)錯(cuò):
exception 'Exception' with message 'event-loop exited' in /workerman/Worker.php:1295
應(yīng)該是用了舊版本的reatPHP,更新下最新版本的reatPHP,或者不用reactPHP
厲害厲害啊大大,就是這個(gè)原因,用了舊版本的reactPHP。另外,問一下,我用了globalData共享變量組件,cas操作一個(gè)對(duì)象替換掉原來的對(duì)象時(shí)候老是失敗,是什么原因?是cas只支持普通數(shù)組、字符串的替換嗎?