--TEST-- swoole_server: shutdown --SKIPIF-- --INI-- assert.active=1 assert.warning=1 assert.bail=0 assert.quiet_eval=0 --FILE-- send(opcode_encode("shutdown", [2])); assert($r !== false); }, function(\swoole_client $cli, $recv) { list($op, $data) = opcode_decode($recv); assert($data === true); swoole_event_exit(); echo "SUCCESS"; }); ?> --EXPECT-- SUCCESS