在2.1.0或更高版本中如果开启了 swoole.use_shortname ,可以直接使用go关键词创建新的协程。 go(function () { $db = new Co\MySQL(); $server = array( 'host' ...
確定! 回上一頁