開(kāi)啟的web服務(wù)腳本中不能用exit嗎
奧看到了~
workerman里面不能用exit或者跌,包括web服務(wù)。web服務(wù)中可以用Http::end();替代 exit\die;
use Workerman\Protocols\Http; Http::end();