zDelete, zRem
Description
Deletes a specified member from the ordered set.
从有序集合中删除指定的成员。
Parameters
key
member
Return value
LONG 1 on success, 0 on failure.
Example
$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') */