ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## zDelete, zRem ##### *Description* Deletes a specified member from the ordered set. 从有序集合中删除指定的成员。 ##### *Parameters* *key* *member* ##### *Return value* *LONG* 1 on success, 0 on failure. ##### *Example* ``` <pre class="calibre16">$redis->zAdd('key', 0, 'val0'); $redis->zAdd('key', 2, 'val2'); $redis->zAdd('key', 10, 'val10'); $redis->zDelete('key', 'val2'); $redis->zRange('key', 0, -1); /* array('val0', 'val10') */ ``` ##