ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## resetStat ##### *Description* Resets the statistics reported by Redis using the INFO command (`<span class="calibre12">info()</span>` function). 使用info()重置静态的日志。 These are the counters that are reset: - Keyspace hits - Keyspace misses - Number of commands processed - Number of connections received - Number of expired keys ##### *Parameters* None. ##### *Return value* *BOOL*: `<span class="calibre12">TRUE</span>` in case of success, `<span class="calibre12">FALSE</span>` in case of failure. ##### *Example* ``` <pre class="calibre9">$redis->resetStat(); ``` ##