企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
## slaveof ##### *Description* Changes the slave status 选择从服务器 ##### *Parameters* Either host (string) and port (int), or no parameter to stop being a slave. ##### *Return value* *BOOL*: `<span class="calibre12">TRUE</span>` in case of success, `<span class="calibre12">FALSE</span>` in case of failure. ##### *Example* ``` <pre class="calibre16">$redis->slaveof('10.0.1.7', 6379); /* ... */ $redis->slaveof(); ``` ##