--TEST-- swoole_server: bug_11000_01 --SKIPIF-- --INI-- assert.active=1 assert.warning=1 assert.bail=0 assert.quiet_eval=0 --FILE-- stats(); assert($s and is_array($s) and count($s) > 1); $serv->shutdown(); }); $serv->set([ "worker_num" => 1, 'log_file' => '/dev/null', ]); $serv->on("Receive", function (\swoole_server $serv, $fd, $rid, $data) use ($process) { }); $serv->addProcess($process); $serv->start(); ?> --EXPECT--