docs/RedisArray.html
class RedisArray (View source)
mixed
__call(string $function_name, array $arguments)
No description
__construct(string|array $name_or_hosts, array|null $options = null)
No description
bool|array
No description
bool|callable
No description
bool|callable
No description
bool|array
_hosts()
No description
bool|null|Redis
_instance(string $host)
No description
bool|null
_rehash(callable|null $fn = null)
No description
bool|string|null
_target(string $key)
No description
array
bgsave()
No description
bool|int
del(string|array $key, string ...$otherkeys)
No description
bool|null
discard()
No description
bool|null|array
exec()
No description
bool|array
flushall()
No description
bool|array
flushdb()
No description
bool|array
getOption(int $opt)
No description
bool|array
hscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
No description
bool|array
info()
No description
bool|array
keys(string $pattern)
No description
bool|array
mget(array $keys)
No description
bool
mset(array $pairs)
No description
bool|RedisArray
multi(string $host, int|null $mode = null)
No description
bool|array
ping()
No description
bool|array
save()
No description
bool|array
scan(null|int|string $iterator, string $node, string|null $pattern = null, int $count = 0)
No description
bool|array
select(int $index)
No description
bool|array
setOption(int $opt, string $value)
No description
bool|array
sscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
No description
bool|int
unlink(string|array $key, string ...$otherkeys)
No description
bool|null
unwatch()
No description
bool|array
zscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
No description
mixed
acl(string $subcmd, string $args)
No description
RedisArray|int|false
append(string $key, mixed $value)
No description
RedisArray|bool
auth(SensitiveParameter] $ixed $credentials)
No description
RedisArray|bool
No description
RedisArray|array|false
waitaof(int $numlocal, int $numreplicas, int $timeout)
No description
RedisArray|int|false
bitcount(string $key, int $start, int $end = -1, bool $bybit = false)
No description
RedisArray|int|false
bitop(string $operation, string $deskey, string $srckey, string $other_keys)
No description
RedisArray|int|false
bitpos(string $key, bool $bit, int $start, int $end = -1, bool $bybit = false)
No description
RedisArray|array|null|false
blPop(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)
No description
RedisArray|array|null|false
brPop(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)
No description
RedisArray|string|false
brpoplpush(string $src, string $dst, int|float $timeout)
No description
RedisArray|array|false
bzPopMax(string|array $key, string|int $timeout_or_key, mixed $extra_args)
No description
RedisArray|array|false
bzPopMin(string|array $key, string|int $timeout_or_key, mixed $extra_args)
No description
RedisArray|array|null|false
bzmpop(float $timeout, array $keys, string $from, int $count = 1)
No description
RedisArray|array|null|false
zmpop(array $keys, string $from, int $count = 1)
No description
RedisArray|array|null|false
blmpop(float $timeout, array $keys, string $from, int $count = 1)
No description
RedisArray|array|null|false
lmpop(array $keys, string $from, int $count = 1)
No description
bool
No description
mixed
client(string $opt, mixed $args)
No description
bool
close()
No description
mixed
command(?string $opt = null, mixed $args)
No description
mixed
config(string $operation, array|string|null $key_or_settings = null, ?string $value = null)
No description
RedisArray|bool
copy(string $src, string $dst, ?array $options = null)
No description
RedisArray|int|false
dbSize()
No description
RedisArray|string
debug(string $key)
No description
RedisArray|int|false
decr(string $key, int $by = 1)
No description
RedisArray|int|false
decrBy(string $key, int $value)
No description
RedisArray|int|false
delifeq(string $key, mixed $value)
No description
RedisArray|int|false
delete(array|string $key, string $other_keys)
No description
RedisArray|string|false
dump(string $key)
No description
RedisArray|string|false
echo(string $str)
No description
mixed
eval(string $script, array $args = [], int $num_keys)
No description
mixed
eval_ro(string $script_sha, array $args = [], int $num_keys)
No description
mixed
evalsha(string $sha1, array $args = [], int $num_keys)
No description
mixed
evalsha_ro(string $sha1, array $args = [], int $num_keys)
No description
RedisArray|int|bool
exists(mixed $key, mixed $other_keys)
No description
RedisArray|bool
expire(string $key, int $timeout, ?string $mode = null)
No description
RedisArray|bool
expireAt(string $key, int $timestamp, ?string $mode = null)
No description
RedisArray|bool
failover(?array $to = null, bool $abort = false, int $timeout)
No description
RedisArray|int|false
expiretime(string $key)
No description
RedisArray|int|false
pexpiretime(string $key)
No description
mixed
fcall(string $fn, array $keys = [], array $args = [])
No description
mixed
fcall_ro(string $fn, array $keys = [], array $args = [])
No description
RedisArray|bool|string|array
function(string $operation, mixed $args)
No description
RedisArray|int|false
geoadd(string $key, float $lng, float $lat, string $member, mixed $other_triples_and_options)
No description
RedisArray|float|false
geodist(string $key, string $src, string $dst, ?string $unit = null)
No description
RedisArray|array|false
geohash(string $key, string $member, string $other_members)
No description
RedisArray|array|false
geopos(string $key, string $member, string $other_members)
No description
mixed
georadius(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
No description
mixed
georadius_ro(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
No description
mixed
georadiusbymember(string $key, string $member, float $radius, string $unit, array $options = [])
No description
mixed
georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = [])
No description
array
geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = [])
No description
RedisArray|array|int|false
geosearchstore(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = [])
No description
mixed
get(string $key)
No description
RedisArray|array|false
getWithMeta(string $key)
No description
mixed
getAuth()
No description
RedisArray|int|false
getBit(string $key, int $idx)
No description
RedisArray|string|bool
getEx(string $key, array $options = [])
No description
int
getDBNum()
No description
RedisArray|string|bool
getDel(string $key)
No description
string
getHost()
No description
string|null
No description
int
getMode()
No description
string|null
No description
int
getPort()
No description
string|false
No description
string|false
No description
RedisArray|string|false
getRange(string $key, int $start, int $end)
No description
RedisArray|string|array|int|false
lcs(string $key1, string $key2, ?array $options = null)
No description
float
No description
RedisArray|string|false
getset(string $key, mixed $value)
No description
float|false
No description
array
No description
void
No description
RedisArray|int|false
hDel(string $key, string $field, string $other_fields)
No description
RedisArray|bool
hExists(string $key, string $field)
No description
mixed
hGet(string $key, string $member)
No description
RedisArray|array|false
hGetAll(string $key)
No description
mixed
hGetWithMeta(string $key, string $member)
No description
RedisArray|int|false
hIncrBy(string $key, string $field, int $value)
No description
RedisArray|float|false
hIncrByFloat(string $key, string $field, float $value)
No description
RedisArray|array|false
hKeys(string $key)
No description
RedisArray|int|false
hLen(string $key)
No description
RedisArray|array|false
hMget(string $key, array $fields)
No description
RedisArray|array|false
hgetex(string $key, array $fields, string|array|null $expiry = null)
No description
RedisArray|int|false
hsetex(string $key, array $fields, ?array $expiry = null)
No description
RedisArray|array|false
hgetdel(string $key, array $fields)
No description
RedisArray|bool
hMset(string $key, array $fieldvals)
No description
RedisArray|string|array|false
hRandField(string $key, ?array $options = null)
No description
RedisArray|int|false
hSet(string $key, mixed $fields_and_vals)
No description
RedisArray|bool
hSetNx(string $key, string $field, mixed $value)
No description
RedisArray|int|false
hStrLen(string $key, string $field)
No description
RedisArray|array|false
hVals(string $key)
No description
RedisArray|array|false
httl(string $key, array $fields)
No description
RedisArray|array|false
hpttl(string $key, array $fields)
No description
RedisArray|array|false
hexpiretime(string $key, array $fields)
No description
RedisArray|array|false
hpexpiretime(string $key, array $fields)
No description
RedisArray|array|false
hpersist(string $key, array $fields)
No description
RedisArray|int|false
expiremember(string $key, string $field, int $ttl, ?string $unit = null)
No description
RedisArray|int|false
expirememberat(string $key, string $field, int $timestamp)
No description
RedisArray|int|false
incr(string $key, int $by = 1)
No description
RedisArray|int|false
incrBy(string $key, int $value)
No description
RedisArray|float|false
incrByFloat(string $key, float $value)
No description
bool
No description
void
lInsert(string $key, string $pos, mixed $pivot, mixed $value)
No description
RedisArray|int|false
lLen(string $key)
No description
RedisArray|string|false
lMove(string $src, string $dst, string $wherefrom, string $whereto)
No description
RedisArray|string|false
blmove(string $src, string $dst, string $wherefrom, string $whereto, float $timeout)
No description
RedisArray|bool|string|array
lPop(string $key, int $count)
No description
RedisArray|null|bool|int|array
lPos(string $key, mixed $value, ?array $options = null)
No description
RedisArray|int|false
lPush(string $key, mixed $elements)
No description
RedisArray|int|false
rPush(string $key, mixed $elements)
No description
RedisArray|int|false
lPushx(string $key, mixed $value)
No description
RedisArray|int|false
rPushx(string $key, mixed $value)
No description
RedisArray|bool
lSet(string $key, int $index, mixed $value)
No description
int
lastSave()
No description
mixed
lindex(string $key, int $index)
No description
RedisArray|array|false
lrange(string $key, int $start, int $end)
No description
RedisArray|int|false
lrem(string $key, mixed $value, int $count)
No description
RedisArray|bool
ltrim(string $key, int $start, int $end)
No description
RedisArray|bool
move(string $key, int $index)
No description
RedisArray|bool
msetnx(array $key_values)
No description
RedisArray|int|string|false
object(string $subcommand, string $key)
No description
bool
open(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
No description
bool
pconnect(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
No description
RedisArray|bool
persist(string $key)
No description
bool
pexpire(string $key, int $timeout, ?string $mode = null)
No description
RedisArray|bool
pexpireAt(string $key, int $timestamp, ?string $mode = null)
No description
RedisArray|int
pfadd(string $key, array $elements)
No description
RedisArray|int|false
pfcount(array|string $key_or_keys)
No description
RedisArray|bool
pfmerge(string $dst, array $srckeys)
No description
RedisArray
pipeline()
No description
bool
popen(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
No description
RedisArray|bool
psetex(string $key, int $expire, mixed $value)
No description
bool
psubscribe(array $patterns, callable $cb)
No description
RedisArray|int|false
pttl(string $key)
No description
RedisArray|int|false
publish(string $channel, string $message)
No description
mixed
pubsub(string $command, mixed $arg = null)
No description
RedisArray|array|bool
punsubscribe(array $patterns)
No description
RedisArray|array|string|bool
rPop(string $key, int $count)
No description
RedisArray|string|false
No description
mixed
rawcommand(string $command, mixed $args)
No description
RedisArray|bool
rename(string $old_name, string $new_name)
No description
RedisArray|bool
renameNx(string $key_src, string $key_dst)
No description
RedisArray|bool
reset()
No description
RedisArray|bool
restore(string $key, int $ttl, string $value, ?array $options = null)
No description
mixed
role()
No description
RedisArray|string|false
rpoplpush(string $srckey, string $dstkey)
No description
RedisArray|int|false
sAdd(string $key, mixed $value, mixed $other_values)
No description
int
sAddArray(string $key, array $values)
No description
RedisArray|array|false
sDiff(string $key, string $other_keys)
No description
RedisArray|int|false
sDiffStore(string $dst, string $key, string $other_keys)
No description
RedisArray|array|false
sInter(array|string $key, string $other_keys)
No description
RedisArray|int|false
sintercard(array $keys, int $limit = -1)
No description
RedisArray|int|false
sInterStore(array|string $key, string $other_keys)
No description
RedisArray|array|false
sMembers(string $key)
No description
RedisArray|array|false
sMisMember(string $key, string $member, string $other_members)
No description
RedisArray|bool
sMove(string $src, string $dst, mixed $value)
No description
RedisArray|string|array|false
sPop(string $key, int $count)
No description
mixed
sRandMember(string $key, int $count)
No description
RedisArray|array|false
sUnion(string $key, string $other_keys)
No description
RedisArray|int|false
sUnionStore(string $dst, string $key, string $other_keys)
No description
RedisArray|int|false
scard(string $key)
No description
mixed
script(string $command, mixed $args)
No description
RedisArray|string|bool
set(string $key, mixed $value, mixed $options = null)
No description
RedisArray|int|false
setBit(string $key, int $idx, bool $value)
No description
RedisArray|int|false
setRange(string $key, int $index, string $value)
No description
void
setex(string $key, int $expire, mixed $value)
No description
RedisArray|bool
setnx(string $key, mixed $value)
No description
RedisArray|bool
sismember(string $key, mixed $value)
No description
RedisArray|bool
slaveof(?string $host = null, int $port = 6379)
No description
RedisArray|bool
replicaof(?string $host = null, int $port = 6379)
No description
RedisArray|int|false
touch(array|string $key_or_array, string $more_keys)
No description
mixed
slowlog(string $operation, int $length)
No description
mixed
sort(string $key, ?array $options = null)
No description
mixed
sort_ro(string $key, ?array $options = null)
No description
array
sortAsc(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
No description
array
sortAscAlpha(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
No description
array
sortDesc(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
No description
array
sortDescAlpha(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
No description
RedisArray|int|false
srem(string $key, mixed $value, mixed $other_values)
No description
bool
ssubscribe(array $channels, callable $cb)
No description
RedisArray|int|false
strlen(string $key)
No description
bool
subscribe(array $channels, callable $cb)
No description
RedisArray|array|bool
sunsubscribe(array $channels)
No description
RedisArray|bool
swapdb(int $src, int $dst)
No description
RedisArray|array
time()
No description
RedisArray|int|false
ttl(string $key)
No description
RedisArray|int|false
type(string $key)
No description
RedisArray|array|bool
unsubscribe(array $channels)
No description
RedisArray|bool
watch(array|string $key, string $other_keys)
No description
int|false
wait(int $numreplicas, int $timeout)
No description
int|false
xack(string $key, string $group, array $ids)
No description
RedisArray|string|false
xadd(string $key, string $id, array $values, int $maxlen, bool $approx = false, bool $nomkstream = false)
No description
RedisArray|bool|array
xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)
No description
RedisArray|array|bool
xclaim(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options)
No description
RedisArray|int|false
xdel(string $key, array $ids)
No description
mixed
xinfo(string $operation, ?string $arg1 = null, ?string $arg2 = null, int $count = -1)
No description
RedisArray|int|false
xlen(string $key)
No description
RedisArray|array|false
xpending(string $key, string $group, ?string $start = null, ?string $end = null, int $count = -1, ?string $consumer = null)
No description
RedisArray|array|bool
xrange(string $key, string $start, string $end, int $count = -1)
No description
RedisArray|array|bool
xread(array $streams, int $count = -1, int $block = -1)
No description
RedisArray|array|bool
xreadgroup(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)
No description
RedisArray|array|bool
xrevrange(string $key, string $end, string $start, int $count = -1)
No description
RedisArray|int|false
vadd(string $key, array $values, mixed $element, array|null $options = null)
No description
RedisArray|array|false
vsim(string $key, mixed $member, array|null $options = null)
No description
RedisArray|int|false
vcard(string $key)
No description
RedisArray|int|false
vdim(string $key)
No description
RedisArray|array|false
vinfo(string $key)
No description
RedisArray|bool
vismember(string $key, mixed $member)
No description
RedisArray|array|false
vemb(string $key, mixed $member, bool $raw = false)
No description
RedisArray|array|string|false
vrandmember(string $key, int $count)
No description
RedisArray|array|false
vrange(string $key, string $min, string $max, int $count = -1)
No description
RedisArray|int|false
vrem(string $key, mixed $member)
No description
RedisArray|int|false
vsetattr(string $key, mixed $member, array|string $attributes)
No description
RedisArray|array|string|false
vgetattr(string $key, mixed $member, bool $decode = true)
No description
RedisArray|array|false
vlinks(string $key, mixed $member, bool $withscores = false)
No description
RedisArray|int|false
xtrim(string $key, string $threshold, bool $approx = false, bool $minid = false, int $limit = -1)
No description
RedisArray|int|float|false
zAdd(string $key, array|float $score_or_options, mixed $more_scores_and_mems)
No description
RedisArray|int|false
zCard(string $key)
No description
RedisArray|int|false
zCount(string $key, int|string $start, int|string $end)
No description
RedisArray|float|false
zIncrBy(string $key, float $value, mixed $member)
No description
RedisArray|int|false
zLexCount(string $key, string $min, string $max)
No description
RedisArray|array|false
zMscore(string $key, mixed $member, mixed $other_members)
No description
RedisArray|array|false
zPopMax(string $key, ?int $count = null)
No description
RedisArray|array|false
zPopMin(string $key, ?int $count = null)
No description
RedisArray|array|false
zRange(string $key, string|int $start, string|int $end, array|bool|null $options = null)
No description
RedisArray|array|false
zRangeByLex(string $key, string $min, string $max, int $offset = -1, int $count = -1)
No description
RedisArray|array|false
zRangeByScore(string $key, string $start, string $end, array $options = [])
No description
RedisArray|string|array
zRandMember(string $key, ?array $options = null)
No description
RedisArray|int|false
zRank(string $key, mixed $member)
No description
RedisArray|int|false
zRem(mixed $key, mixed $member, mixed $other_members)
No description
RedisArray|int|false
zRemRangeByLex(string $key, string $min, string $max)
No description
RedisArray|int|false
zRemRangeByRank(string $key, int $start, int $end)
No description
RedisArray|int|false
zRemRangeByScore(string $key, string $start, string $end)
No description
RedisArray|array|false
zRevRange(string $key, int $start, int $end, mixed $scores = null)
No description
RedisArray|array|false
zRevRangeByLex(string $key, string $max, string $min, int $offset = -1, int $count = -1)
No description
RedisArray|array|false
zRevRangeByScore(string $key, string $max, string $min, array|bool $options = [])
No description
RedisArray|int|false
zRevRank(string $key, mixed $member)
No description
RedisArray|float|false
zScore(string $key, mixed $member)
No description
RedisArray|array|false
zdiff(array $keys, ?array $options = null)
No description
RedisArray|int|false
zdiffstore(string $dst, array $keys)
No description
RedisArray|array|false
zinter(array $keys, ?array $weights = null, ?array $options = null)
No description
RedisArray|int|false
zintercard(array $keys, int $limit = -1)
No description
RedisArray|int|false
zinterstore(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)
No description
RedisArray|array|false
zunion(array $keys, ?array $weights = null, ?array $options = null)
No description
RedisArray|int|false
zunionstore(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)
No description
mixed __call(string $function_name, array $arguments)No description
| string | $function_name | | | array | $arguments | |
| mixed | |
__construct(string|array $name_or_hosts, array|null $options = null)No description
| string|array | $name_or_hosts | | | array|null | $options | |
bool|array _continuum()No description
| bool|array | |
bool|callable _distributor()No description
| bool|callable | |
bool|callable _function()No description
| bool|callable | |
bool|array _hosts()No description
| bool|array | |
bool|null|Redis _instance(string $host)No description
| string | $host | |
| bool|null|Redis | |
bool|null _rehash(callable|null $fn = null)No description
| callable|null | $fn | |
| bool|null | |
bool|string|null _target(string $key)No description
| string | $key | |
| bool|string|null | |
array bgsave()No description
| array | |
bool|int del(string|array $key, string ...$otherkeys)No description
| string|array | $key | | | string | ...$otherkeys | |
| bool|int | |
bool|null discard()No description
| bool|null | |
bool|null|array exec()No description
| bool|null|array | |
bool|array flushall()No description
| bool|array | |
bool|array flushdb()No description
| bool|array | |
bool|array getOption(int $opt)No description
| int | $opt | |
| bool|array | |
bool|array hscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)No description
| string | $key | | | null|int|string | $iterator | | | string|null | $pattern | | | int | $count | |
| bool|array | |
bool|array info()No description
| bool|array | |
bool|array keys(string $pattern)No description
| string | $pattern | |
| bool|array | |
bool|array mget(array $keys)No description
| array | $keys | |
| bool|array | |
bool mset(array $pairs)No description
| array | $pairs | |
| bool | |
bool|RedisArray multi(string $host, int|null $mode = null)No description
| string | $host | | | int|null | $mode | |
| bool|RedisArray | |
bool|array ping()No description
| bool|array | |
bool|array save()No description
| bool|array | |
bool|array scan(null|int|string $iterator, string $node, string|null $pattern = null, int $count = 0)No description
| null|int|string | $iterator | | | string | $node | | | string|null | $pattern | | | int | $count | |
| bool|array | |
bool|array select(int $index)No description
| int | $index | |
| bool|array | |
bool|array setOption(int $opt, string $value)No description
| int | $opt | | | string | $value | |
| bool|array | |
bool|array sscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)No description
| string | $key | | | null|int|string | $iterator | | | string|null | $pattern | | | int | $count | |
| bool|array | |
bool|int unlink(string|array $key, string ...$otherkeys)No description
| string|array | $key | | | string | ...$otherkeys | |
| bool|int | |
bool|null unwatch()No description
| bool|null | |
bool|array zscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)No description
| string | $key | | | null|int|string | $iterator | | | string|null | $pattern | | | int | $count | |
| bool|array | |
mixed acl(string $subcmd, string $args)No description
| string | $subcmd | | | string | $args | |
| mixed | |
RedisArray|int|false append(string $key, mixed $value)No description
| string | $key | | | mixed | $value | |
| RedisArray|int|false | |
RedisArray|bool auth(SensitiveParameter] $ixed $credentials)No description
| SensitiveParameter] | $ixed $credentials | |
| RedisArray|bool | |
RedisArray|bool bgrewriteaof()No description
| RedisArray|bool | |
RedisArray|array|false waitaof(int $numlocal, int $numreplicas, int $timeout)No description
| int | $numlocal | | | int | $numreplicas | | | int | $timeout | |
| RedisArray|array|false | |
RedisArray|int|false bitcount(string $key, int $start, int $end = -1, bool $bybit = false)No description
| string | $key | | | int | $start | | | int | $end | | | bool | $bybit | |
| RedisArray|int|false | |
RedisArray|int|false bitop(string $operation, string $deskey, string $srckey, string $other_keys)No description
| string | $operation | | | string | $deskey | | | string | $srckey | | | string | $other_keys | |
| RedisArray|int|false | |
RedisArray|int|false bitpos(string $key, bool $bit, int $start, int $end = -1, bool $bybit = false)No description
| string | $key | | | bool | $bit | | | int | $start | | | int | $end | | | bool | $bybit | |
| RedisArray|int|false | |
RedisArray|array|null|false blPop(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)No description
| string|array | $key_or_keys | | | string|float|int | $timeout_or_key | | | mixed | $extra_args | |
| RedisArray|array|null|false | |
RedisArray|array|null|false brPop(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)No description
| string|array | $key_or_keys | | | string|float|int | $timeout_or_key | | | mixed | $extra_args | |
| RedisArray|array|null|false | |
RedisArray|string|false brpoplpush(string $src, string $dst, int|float $timeout)No description
| string | $src | | | string | $dst | | | int|float | $timeout | |
| RedisArray|string|false | |
RedisArray|array|false bzPopMax(string|array $key, string|int $timeout_or_key, mixed $extra_args)No description
| string|array | $key | | | string|int | $timeout_or_key | | | mixed | $extra_args | |
| RedisArray|array|false | |
RedisArray|array|false bzPopMin(string|array $key, string|int $timeout_or_key, mixed $extra_args)No description
| string|array | $key | | | string|int | $timeout_or_key | | | mixed | $extra_args | |
| RedisArray|array|false | |
RedisArray|array|null|false bzmpop(float $timeout, array $keys, string $from, int $count = 1)No description
| float | $timeout | | | array | $keys | | | string | $from | | | int | $count | |
| RedisArray|array|null|false | |
RedisArray|array|null|false zmpop(array $keys, string $from, int $count = 1)No description
| array | $keys | | | string | $from | | | int | $count | |
| RedisArray|array|null|false | |
RedisArray|array|null|false blmpop(float $timeout, array $keys, string $from, int $count = 1)No description
| float | $timeout | | | array | $keys | | | string | $from | | | int | $count | |
| RedisArray|array|null|false | |
RedisArray|array|null|false lmpop(array $keys, string $from, int $count = 1)No description
| array | $keys | | | string | $from | | | int | $count | |
| RedisArray|array|null|false | |
bool clearLastError()No description
| bool | |
mixed client(string $opt, mixed $args)No description
| string | $opt | | | mixed | $args | |
| mixed | |
bool close()No description
| bool | |
mixed command(?string $opt = null, mixed $args)No description
| ?string | $opt | | | mixed | $args | |
| mixed | |
mixed config(string $operation, array|string|null $key_or_settings = null, ?string $value = null)No description
| string | $operation | | | array|string|null | $key_or_settings | | | ?string | $value | |
| mixed | |
RedisArray|bool copy(string $src, string $dst, ?array $options = null)No description
| string | $src | | | string | $dst | | | ?array | $options | |
| RedisArray|bool | |
RedisArray|int|false dbSize()No description
| RedisArray|int|false | |
RedisArray|string debug(string $key)No description
| string | $key | |
| RedisArray|string | |
RedisArray|int|false decr(string $key, int $by = 1)No description
| string | $key | | | int | $by | |
| RedisArray|int|false | |
RedisArray|int|false decrBy(string $key, int $value)No description
| string | $key | | | int | $value | |
| RedisArray|int|false | |
RedisArray|int|false delifeq(string $key, mixed $value)No description
| string | $key | | | mixed | $value | |
| RedisArray|int|false | |
RedisArray|int|false delete(array|string $key, string $other_keys)No description
| array|string | $key | | | string | $other_keys | |
| RedisArray|int|false | |
RedisArray|string|false dump(string $key)No description
| string | $key | |
| RedisArray|string|false | |
RedisArray|string|false echo(string $str)No description
| string | $str | |
| RedisArray|string|false | |
mixed eval(string $script, array $args = [], int $num_keys)No description
| string | $script | | | array | $args | | | int | $num_keys | |
| mixed | |
mixed eval_ro(string $script_sha, array $args = [], int $num_keys)No description
| string | $script_sha | | | array | $args | | | int | $num_keys | |
| mixed | |
mixed evalsha(string $sha1, array $args = [], int $num_keys)No description
| string | $sha1 | | | array | $args | | | int | $num_keys | |
| mixed | |
mixed evalsha_ro(string $sha1, array $args = [], int $num_keys)No description
| string | $sha1 | | | array | $args | | | int | $num_keys | |
| mixed | |
RedisArray|int|bool exists(mixed $key, mixed $other_keys)No description
| mixed | $key | | | mixed | $other_keys | |
| RedisArray|int|bool | |
RedisArray|bool expire(string $key, int $timeout, ?string $mode = null)No description
| string | $key | | | int | $timeout | | | ?string | $mode | |
| RedisArray|bool | |
RedisArray|bool expireAt(string $key, int $timestamp, ?string $mode = null)No description
| string | $key | | | int | $timestamp | | | ?string | $mode | |
| RedisArray|bool | |
RedisArray|bool failover(?array $to = null, bool $abort = false, int $timeout)No description
| ?array | $to | | | bool | $abort | | | int | $timeout | |
| RedisArray|bool | |
RedisArray|int|false expiretime(string $key)No description
| string | $key | |
| RedisArray|int|false | |
RedisArray|int|false pexpiretime(string $key)No description
| string | $key | |
| RedisArray|int|false | |
mixed fcall(string $fn, array $keys = [], array $args = [])No description
| string | $fn | | | array | $keys | | | array | $args | |
| mixed | |
mixed fcall_ro(string $fn, array $keys = [], array $args = [])No description
| string | $fn | | | array | $keys | | | array | $args | |
| mixed | |
RedisArray|bool|string|array function(string $operation, mixed $args)No description
| string | $operation | | | mixed | $args | |
| RedisArray|bool|string|array | |
RedisArray|int|false geoadd(string $key, float $lng, float $lat, string $member, mixed $other_triples_and_options)No description
| string | $key | | | float | $lng | | | float | $lat | | | string | $member | | | mixed | $other_triples_and_options | |
| RedisArray|int|false | |
RedisArray|float|false geodist(string $key, string $src, string $dst, ?string $unit = null)No description
| string | $key | | | string | $src | | | string | $dst | | | ?string | $unit | |
| RedisArray|float|false | |
RedisArray|array|false geohash(string $key, string $member, string $other_members)No description
| string | $key | | | string | $member | | | string | $other_members | |
| RedisArray|array|false | |
RedisArray|array|false geopos(string $key, string $member, string $other_members)No description
| string | $key | | | string | $member | | | string | $other_members | |
| RedisArray|array|false | |
mixed georadius(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])No description
| string | $key | | | float | $lng | | | float | $lat | | | float | $radius | | | string | $unit | | | array | $options | |
| mixed | |
mixed georadius_ro(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])No description
| string | $key | | | float | $lng | | | float | $lat | | | float | $radius | | | string | $unit | | | array | $options | |
| mixed | |
mixed georadiusbymember(string $key, string $member, float $radius, string $unit, array $options = [])No description
| string | $key | | | string | $member | | | float | $radius | | | string | $unit | | | array | $options | |
| mixed | |
mixed georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = [])No description
| string | $key | | | string | $member | | | float | $radius | | | string | $unit | | | array | $options | |
| mixed | |
array geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = [])No description
| string | $key | | | array|string | $position | | | array|int|float | $shape | | | string | $unit | | | array | $options | |
| array | |
RedisArray|array|int|false geosearchstore(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = [])No description
| string | $dst | | | string | $src | | | array|string | $position | | | array|int|float | $shape | | | string | $unit | | | array | $options | |
| RedisArray|array|int|false | |
mixed get(string $key)No description
| string | $key | |
| mixed | |
RedisArray|array|false getWithMeta(string $key)No description
| string | $key | |
| RedisArray|array|false | |
mixed getAuth()No description
| mixed | |
RedisArray|int|false getBit(string $key, int $idx)No description
| string | $key | | | int | $idx | |
| RedisArray|int|false | |
RedisArray|string|bool getEx(string $key, array $options = [])No description
| string | $key | | | array | $options | |
| RedisArray|string|bool | |
int getDBNum()No description
| int | |
RedisArray|string|bool getDel(string $key)No description
| string | $key | |
| RedisArray|string|bool | |
string getHost()No description
| string | |
string|null getLastError()No description
| string|null | |
int getMode()No description
| int | |
string|null getPersistentID()No description
| string|null | |
int getPort()No description
| int | |
string|false serverName()No description
| string|false | |
string|false serverVersion()No description
| string|false | |
RedisArray|string|false getRange(string $key, int $start, int $end)No description
| string | $key | | | int | $start | | | int | $end | |
| RedisArray|string|false | |
RedisArray|string|array|int|false lcs(string $key1, string $key2, ?array $options = null)No description
| string | $key1 | | | string | $key2 | | | ?array | $options | |
| RedisArray|string|array|int|false | |
float getReadTimeout()No description
| float | |
RedisArray|string|false getset(string $key, mixed $value)No description
| string | $key | | | mixed | $value | |
| RedisArray|string|false | |
float|false getTimeout()No description
| float|false | |
array getTransferredBytes()No description
| array | |
void clearTransferredBytes()No description
| void | |
RedisArray|int|false hDel(string $key, string $field, string $other_fields)No description
| string | $key | | | string | $field | | | string | $other_fields | |
| RedisArray|int|false | |
RedisArray|bool hExists(string $key, string $field)No description
| string | $key | | | string | $field | |
| RedisArray|bool | |
mixed hGet(string $key, string $member)No description
| string | $key | | | string | $member | |
| mixed | |
RedisArray|array|false hGetAll(string $key)No description
| string | $key | |
| RedisArray|array|false | |
mixed hGetWithMeta(string $key, string $member)No description
| string | $key | | | string | $member | |
| mixed | |
RedisArray|int|false hIncrBy(string $key, string $field, int $value)No description
| string | $key | | | string | $field | | | int | $value | |
| RedisArray|int|false | |
RedisArray|float|false hIncrByFloat(string $key, string $field, float $value)No description
| string | $key | | | string | $field | | | float | $value | |
| RedisArray|float|false | |
RedisArray|array|false hKeys(string $key)No description
| string | $key | |
| RedisArray|array|false | |
RedisArray|int|false hLen(string $key)No description
| string | $key | |
| RedisArray|int|false | |
RedisArray|array|false hMget(string $key, array $fields)No description
| string | $key | | | array | $fields | |
| RedisArray|array|false | |
RedisArray|array|false hgetex(string $key, array $fields, string|array|null $expiry = null)No description
| string | $key | | | array | $fields | | | string|array|null | $expiry | |
| RedisArray|array|false | |
RedisArray|int|false hsetex(string $key, array $fields, ?array $expiry = null)No description
| string | $key | | | array | $fields | | | ?array | $expiry | |
| RedisArray|int|false | |
RedisArray|array|false hgetdel(string $key, array $fields)No description
| string | $key | | | array | $fields | |
| RedisArray|array|false | |
RedisArray|bool hMset(string $key, array $fieldvals)No description
| string | $key | | | array | $fieldvals | |
| RedisArray|bool | |
RedisArray|string|array|false hRandField(string $key, ?array $options = null)No description
| string | $key | | | ?array | $options | |
| RedisArray|string|array|false | |
RedisArray|int|false hSet(string $key, mixed $fields_and_vals)No description
| string | $key | | | mixed | $fields_and_vals | |
| RedisArray|int|false | |
RedisArray|bool hSetNx(string $key, string $field, mixed $value)No description
| string | $key | | | string | $field | | | mixed | $value | |
| RedisArray|bool | |
RedisArray|int|false hStrLen(string $key, string $field)No description
| string | $key | | | string | $field | |
| RedisArray|int|false | |
RedisArray|array|false hVals(string $key)No description
| string | $key | |
| RedisArray|array|false | |
RedisArray|array|false httl(string $key, array $fields)No description
| string | $key | | | array | $fields | |
| RedisArray|array|false | |
RedisArray|array|false hpttl(string $key, array $fields)No description
| string | $key | | | array | $fields | |
| RedisArray|array|false | |
RedisArray|array|false hexpiretime(string $key, array $fields)No description
| string | $key | | | array | $fields | |
| RedisArray|array|false | |
RedisArray|array|false hpexpiretime(string $key, array $fields)No description
| string | $key | | | array | $fields | |
| RedisArray|array|false | |
RedisArray|array|false hpersist(string $key, array $fields)No description
| string | $key | | | array | $fields | |
| RedisArray|array|false | |
RedisArray|int|false expiremember(string $key, string $field, int $ttl, ?string $unit = null)No description
| string | $key | | | string | $field | | | int | $ttl | | | ?string | $unit | |
| RedisArray|int|false | |
RedisArray|int|false expirememberat(string $key, string $field, int $timestamp)No description
| string | $key | | | string | $field | | | int | $timestamp | |
| RedisArray|int|false | |
RedisArray|int|false incr(string $key, int $by = 1)No description
| string | $key | | | int | $by | |
| RedisArray|int|false | |
RedisArray|int|false incrBy(string $key, int $value)No description
| string | $key | | | int | $value | |
| RedisArray|int|false | |
RedisArray|float|false incrByFloat(string $key, float $value)No description
| string | $key | | | float | $value | |
| RedisArray|float|false | |
bool isConnected()No description
| bool | |
void lInsert(string $key, string $pos, mixed $pivot, mixed $value)No description
| string | $key | | | string | $pos | | | mixed | $pivot | | | mixed | $value | |
| void | |
RedisArray|int|false lLen(string $key)No description
| string | $key | |
| RedisArray|int|false | |
RedisArray|string|false lMove(string $src, string $dst, string $wherefrom, string $whereto)No description
| string | $src | | | string | $dst | | | string | $wherefrom | | | string | $whereto | |
| RedisArray|string|false | |
RedisArray|string|false blmove(string $src, string $dst, string $wherefrom, string $whereto, float $timeout)No description
| string | $src | | | string | $dst | | | string | $wherefrom | | | string | $whereto | | | float | $timeout | |
| RedisArray|string|false | |
RedisArray|bool|string|array lPop(string $key, int $count)No description
| string | $key | | | int | $count | |
| RedisArray|bool|string|array | |
RedisArray|null|bool|int|array lPos(string $key, mixed $value, ?array $options = null)No description
| string | $key | | | mixed | $value | | | ?array | $options | |
| RedisArray|null|bool|int|array | |
RedisArray|int|false lPush(string $key, mixed $elements)No description
| string | $key | | | mixed | $elements | |
| RedisArray|int|false | |
RedisArray|int|false rPush(string $key, mixed $elements)No description
| string | $key | | | mixed | $elements | |
| RedisArray|int|false | |
RedisArray|int|false lPushx(string $key, mixed $value)No description
| string | $key | | | mixed | $value | |
| RedisArray|int|false | |
RedisArray|int|false rPushx(string $key, mixed $value)No description
| string | $key | | | mixed | $value | |
| RedisArray|int|false | |
RedisArray|bool lSet(string $key, int $index, mixed $value)No description
| string | $key | | | int | $index | | | mixed | $value | |
| RedisArray|bool | |
int lastSave()No description
| int | |
mixed lindex(string $key, int $index)No description
| string | $key | | | int | $index | |
| mixed | |
RedisArray|array|false lrange(string $key, int $start, int $end)No description
| string | $key | | | int | $start | | | int | $end | |
| RedisArray|array|false | |
RedisArray|int|false lrem(string $key, mixed $value, int $count)No description
| string | $key | | | mixed | $value | | | int | $count | |
| RedisArray|int|false | |
RedisArray|bool ltrim(string $key, int $start, int $end)No description
| string | $key | | | int | $start | | | int | $end | |
| RedisArray|bool | |
RedisArray|bool move(string $key, int $index)No description
| string | $key | | | int | $index | |
| RedisArray|bool | |
RedisArray|bool msetnx(array $key_values)No description
| array | $key_values | |
| RedisArray|bool | |
RedisArray|int|string|false object(string $subcommand, string $key)No description
| string | $subcommand | | | string | $key | |
| RedisArray|int|string|false | |
bool open(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)No description
| string | $host | | | int | $port | | | float | $timeout | | | ?string | $persistent_id | | | int | $retry_interval | | | float | $read_timeout | | | ?array | $context | |
| bool | |
bool pconnect(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)No description
| string | $host | | | int | $port | | | float | $timeout | | | ?string | $persistent_id | | | int | $retry_interval | | | float | $read_timeout | | | ?array | $context | |
| bool | |
RedisArray|bool persist(string $key)No description
| string | $key | |
| RedisArray|bool | |
bool pexpire(string $key, int $timeout, ?string $mode = null)No description
| string | $key | | | int | $timeout | | | ?string | $mode | |
| bool | |
RedisArray|bool pexpireAt(string $key, int $timestamp, ?string $mode = null)No description
| string | $key | | | int | $timestamp | | | ?string | $mode | |
| RedisArray|bool | |
RedisArray|int pfadd(string $key, array $elements)No description
| string | $key | | | array | $elements | |
| RedisArray|int | |
RedisArray|int|false pfcount(array|string $key_or_keys)No description
| array|string | $key_or_keys | |
| RedisArray|int|false | |
RedisArray|bool pfmerge(string $dst, array $srckeys)No description
| string | $dst | | | array | $srckeys | |
| RedisArray|bool | |
RedisArray pipeline()No description
| RedisArray | |
bool popen(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)No description
| string | $host | | | int | $port | | | float | $timeout | | | ?string | $persistent_id | | | int | $retry_interval | | | float | $read_timeout | | | ?array | $context | |
| bool | |
RedisArray|bool psetex(string $key, int $expire, mixed $value)No description
| string | $key | | | int | $expire | | | mixed | $value | |
| RedisArray|bool | |
bool psubscribe(array $patterns, callable $cb)No description
| array | $patterns | | | callable | $cb | |
| bool | |
RedisArray|int|false pttl(string $key)No description
| string | $key | |
| RedisArray|int|false | |
RedisArray|int|false publish(string $channel, string $message)No description
| string | $channel | | | string | $message | |
| RedisArray|int|false | |
mixed pubsub(string $command, mixed $arg = null)No description
| string | $command | | | mixed | $arg | |
| mixed | |
RedisArray|array|bool punsubscribe(array $patterns)No description
| array | $patterns | |
| RedisArray|array|bool | |
RedisArray|array|string|bool rPop(string $key, int $count)No description
| string | $key | | | int | $count | |
| RedisArray|array|string|bool | |
RedisArray|string|false randomKey()No description
| RedisArray|string|false | |
mixed rawcommand(string $command, mixed $args)No description
| string | $command | | | mixed | $args | |
| mixed | |
RedisArray|bool rename(string $old_name, string $new_name)No description
| string | $old_name | | | string | $new_name | |
| RedisArray|bool | |
RedisArray|bool renameNx(string $key_src, string $key_dst)No description
| string | $key_src | | | string | $key_dst | |
| RedisArray|bool | |
RedisArray|bool reset()No description
| RedisArray|bool | |
RedisArray|bool restore(string $key, int $ttl, string $value, ?array $options = null)No description
| string | $key | | | int | $ttl | | | string | $value | | | ?array | $options | |
| RedisArray|bool | |
mixed role()No description
| mixed | |
RedisArray|string|false rpoplpush(string $srckey, string $dstkey)No description
| string | $srckey | | | string | $dstkey | |
| RedisArray|string|false | |
RedisArray|int|false sAdd(string $key, mixed $value, mixed $other_values)No description
| string | $key | | | mixed | $value | | | mixed | $other_values | |
| RedisArray|int|false | |
int sAddArray(string $key, array $values)No description
| string | $key | | | array | $values | |
| int | |
RedisArray|array|false sDiff(string $key, string $other_keys)No description
| string | $key | | | string | $other_keys | |
| RedisArray|array|false | |
RedisArray|int|false sDiffStore(string $dst, string $key, string $other_keys)No description
| string | $dst | | | string | $key | | | string | $other_keys | |
| RedisArray|int|false | |
RedisArray|array|false sInter(array|string $key, string $other_keys)No description
| array|string | $key | | | string | $other_keys | |
| RedisArray|array|false | |
RedisArray|int|false sintercard(array $keys, int $limit = -1)No description
| array | $keys | | | int | $limit | |
| RedisArray|int|false | |
RedisArray|int|false sInterStore(array|string $key, string $other_keys)No description
| array|string | $key | | | string | $other_keys | |
| RedisArray|int|false | |
RedisArray|array|false sMembers(string $key)No description
| string | $key | |
| RedisArray|array|false | |
RedisArray|array|false sMisMember(string $key, string $member, string $other_members)No description
| string | $key | | | string | $member | | | string | $other_members | |
| RedisArray|array|false | |
RedisArray|bool sMove(string $src, string $dst, mixed $value)No description
| string | $src | | | string | $dst | | | mixed | $value | |
| RedisArray|bool | |
RedisArray|string|array|false sPop(string $key, int $count)No description
| string | $key | | | int | $count | |
| RedisArray|string|array|false | |
mixed sRandMember(string $key, int $count)No description
| string | $key | | | int | $count | |
| mixed | |
RedisArray|array|false sUnion(string $key, string $other_keys)No description
| string | $key | | | string | $other_keys | |
| RedisArray|array|false | |
RedisArray|int|false sUnionStore(string $dst, string $key, string $other_keys)No description
| string | $dst | | | string | $key | | | string | $other_keys | |
| RedisArray|int|false | |
RedisArray|int|false scard(string $key)No description
| string | $key | |
| RedisArray|int|false | |
mixed script(string $command, mixed $args)No description
| string | $command | | | mixed | $args | |
| mixed | |
RedisArray|string|bool set(string $key, mixed $value, mixed $options = null)No description
| string | $key | | | mixed | $value | | | mixed | $options | |
| RedisArray|string|bool | |
RedisArray|int|false setBit(string $key, int $idx, bool $value)No description
| string | $key | | | int | $idx | | | bool | $value | |
| RedisArray|int|false | |
RedisArray|int|false setRange(string $key, int $index, string $value)No description
| string | $key | | | int | $index | | | string | $value | |
| RedisArray|int|false | |
void setex(string $key, int $expire, mixed $value)No description
| string | $key | | | int | $expire | | | mixed | $value | |
| void | |
RedisArray|bool setnx(string $key, mixed $value)No description
| string | $key | | | mixed | $value | |
| RedisArray|bool | |
RedisArray|bool sismember(string $key, mixed $value)No description
| string | $key | | | mixed | $value | |
| RedisArray|bool | |
RedisArray|bool slaveof(?string $host = null, int $port = 6379)No description
| ?string | $host | | | int | $port | |
| RedisArray|bool | |
RedisArray|bool replicaof(?string $host = null, int $port = 6379)No description
| ?string | $host | | | int | $port | |
| RedisArray|bool | |
RedisArray|int|false touch(array|string $key_or_array, string $more_keys)No description
| array|string | $key_or_array | | | string | $more_keys | |
| RedisArray|int|false | |
mixed slowlog(string $operation, int $length)No description
| string | $operation | | | int | $length | |
| mixed | |
mixed sort(string $key, ?array $options = null)No description
| string | $key | | | ?array | $options | |
| mixed | |
mixed sort_ro(string $key, ?array $options = null)No description
| string | $key | | | ?array | $options | |
| mixed | |
array sortAsc(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)No description
| string | $key | | | ?string | $pattern | | | mixed | $get | | | int | $offset | | | int | $count | | | ?string | $store | |
| array | |
array sortAscAlpha(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)No description
| string | $key | | | ?string | $pattern | | | mixed | $get | | | int | $offset | | | int | $count | | | ?string | $store | |
| array | |
array sortDesc(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)No description
| string | $key | | | ?string | $pattern | | | mixed | $get | | | int | $offset | | | int | $count | | | ?string | $store | |
| array | |
array sortDescAlpha(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)No description
| string | $key | | | ?string | $pattern | | | mixed | $get | | | int | $offset | | | int | $count | | | ?string | $store | |
| array | |
RedisArray|int|false srem(string $key, mixed $value, mixed $other_values)No description
| string | $key | | | mixed | $value | | | mixed | $other_values | |
| RedisArray|int|false | |
bool ssubscribe(array $channels, callable $cb)No description
| array | $channels | | | callable | $cb | |
| bool | |
RedisArray|int|false strlen(string $key)No description
| string | $key | |
| RedisArray|int|false | |
bool subscribe(array $channels, callable $cb)No description
| array | $channels | | | callable | $cb | |
| bool | |
RedisArray|array|bool sunsubscribe(array $channels)No description
| array | $channels | |
| RedisArray|array|bool | |
RedisArray|bool swapdb(int $src, int $dst)No description
| int | $src | | | int | $dst | |
| RedisArray|bool | |
RedisArray|array time()No description
| RedisArray|array | |
RedisArray|int|false ttl(string $key)No description
| string | $key | |
| RedisArray|int|false | |
RedisArray|int|false type(string $key)No description
| string | $key | |
| RedisArray|int|false | |
RedisArray|array|bool unsubscribe(array $channels)No description
| array | $channels | |
| RedisArray|array|bool | |
RedisArray|bool watch(array|string $key, string $other_keys)No description
| array|string | $key | | | string | $other_keys | |
| RedisArray|bool | |
int|false wait(int $numreplicas, int $timeout)No description
| int | $numreplicas | | | int | $timeout | |
| int|false | |
int|false xack(string $key, string $group, array $ids)No description
| string | $key | | | string | $group | | | array | $ids | |
| int|false | |
RedisArray|string|false xadd(string $key, string $id, array $values, int $maxlen, bool $approx = false, bool $nomkstream = false)No description
| string | $key | | | string | $id | | | array | $values | | | int | $maxlen | | | bool | $approx | | | bool | $nomkstream | |
| RedisArray|string|false | |
RedisArray|bool|array xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)No description
| string | $key | | | string | $group | | | string | $consumer | | | int | $min_idle | | | string | $start | | | int | $count | | | bool | $justid | |
| RedisArray|bool|array | |
RedisArray|array|bool xclaim(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options)No description
| string | $key | | | string | $group | | | string | $consumer | | | int | $min_idle | | | array | $ids | | | array | $options | |
| RedisArray|array|bool | |
RedisArray|int|false xdel(string $key, array $ids)No description
| string | $key | | | array | $ids | |
| RedisArray|int|false | |
mixed xinfo(string $operation, ?string $arg1 = null, ?string $arg2 = null, int $count = -1)No description
| string | $operation | | | ?string | $arg1 | | | ?string | $arg2 | | | int | $count | |
| mixed | |
RedisArray|int|false xlen(string $key)No description
| string | $key | |
| RedisArray|int|false | |
RedisArray|array|false xpending(string $key, string $group, ?string $start = null, ?string $end = null, int $count = -1, ?string $consumer = null)No description
| string | $key | | | string | $group | | | ?string | $start | | | ?string | $end | | | int | $count | | | ?string | $consumer | |
| RedisArray|array|false | |
RedisArray|array|bool xrange(string $key, string $start, string $end, int $count = -1)No description
| string | $key | | | string | $start | | | string | $end | | | int | $count | |
| RedisArray|array|bool | |
RedisArray|array|bool xread(array $streams, int $count = -1, int $block = -1)No description
| array | $streams | | | int | $count | | | int | $block | |
| RedisArray|array|bool | |
RedisArray|array|bool xreadgroup(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)No description
| string | $group | | | string | $consumer | | | array | $streams | | | int | $count | | | int | $block | |
| RedisArray|array|bool | |
RedisArray|array|bool xrevrange(string $key, string $end, string $start, int $count = -1)No description
| string | $key | | | string | $end | | | string | $start | | | int | $count | |
| RedisArray|array|bool | |
RedisArray|int|false vadd(string $key, array $values, mixed $element, array|null $options = null)No description
| string | $key | | | array | $values | | | mixed | $element | | | array|null | $options | |
| RedisArray|int|false | |
RedisArray|array|false vsim(string $key, mixed $member, array|null $options = null)No description
| string | $key | | | mixed | $member | | | array|null | $options | |
| RedisArray|array|false | |
RedisArray|int|false vcard(string $key)No description
| string | $key | |
| RedisArray|int|false | |
RedisArray|int|false vdim(string $key)No description
| string | $key | |
| RedisArray|int|false | |
RedisArray|array|false vinfo(string $key)No description
| string | $key | |
| RedisArray|array|false | |
RedisArray|bool vismember(string $key, mixed $member)No description
| string | $key | | | mixed | $member | |
| RedisArray|bool | |
RedisArray|array|false vemb(string $key, mixed $member, bool $raw = false)No description
| string | $key | | | mixed | $member | | | bool | $raw | |
| RedisArray|array|false | |
RedisArray|array|string|false vrandmember(string $key, int $count)No description
| string | $key | | | int | $count | |
| RedisArray|array|string|false | |
RedisArray|array|false vrange(string $key, string $min, string $max, int $count = -1)No description
| string | $key | | | string | $min | | | string | $max | | | int | $count | |
| RedisArray|array|false | |
RedisArray|int|false vrem(string $key, mixed $member)No description
| string | $key | | | mixed | $member | |
| RedisArray|int|false | |
RedisArray|int|false vsetattr(string $key, mixed $member, array|string $attributes)No description
| string | $key | | | mixed | $member | | | array|string | $attributes | |
| RedisArray|int|false | |
RedisArray|array|string|false vgetattr(string $key, mixed $member, bool $decode = true)No description
| string | $key | | | mixed | $member | | | bool | $decode | |
| RedisArray|array|string|false | |
RedisArray|array|false vlinks(string $key, mixed $member, bool $withscores = false)No description
| string | $key | | | mixed | $member | | | bool | $withscores | |
| RedisArray|array|false | |
RedisArray|int|false xtrim(string $key, string $threshold, bool $approx = false, bool $minid = false, int $limit = -1)No description
| string | $key | | | string | $threshold | | | bool | $approx | | | bool | $minid | | | int | $limit | |
| RedisArray|int|false | |
RedisArray|int|float|false zAdd(string $key, array|float $score_or_options, mixed $more_scores_and_mems)No description
| string | $key | | | array|float | $score_or_options | | | mixed | $more_scores_and_mems | |
| RedisArray|int|float|false | |
RedisArray|int|false zCard(string $key)No description
| string | $key | |
| RedisArray|int|false | |
RedisArray|int|false zCount(string $key, int|string $start, int|string $end)No description
| string | $key | | | int|string | $start | | | int|string | $end | |
| RedisArray|int|false | |
RedisArray|float|false zIncrBy(string $key, float $value, mixed $member)No description
| string | $key | | | float | $value | | | mixed | $member | |
| RedisArray|float|false | |
RedisArray|int|false zLexCount(string $key, string $min, string $max)No description
| string | $key | | | string | $min | | | string | $max | |
| RedisArray|int|false | |
RedisArray|array|false zMscore(string $key, mixed $member, mixed $other_members)No description
| string | $key | | | mixed | $member | | | mixed | $other_members | |
| RedisArray|array|false | |
RedisArray|array|false zPopMax(string $key, ?int $count = null)No description
| string | $key | | | ?int | $count | |
| RedisArray|array|false | |
RedisArray|array|false zPopMin(string $key, ?int $count = null)No description
| string | $key | | | ?int | $count | |
| RedisArray|array|false | |
RedisArray|array|false zRange(string $key, string|int $start, string|int $end, array|bool|null $options = null)No description
| string | $key | | | string|int | $start | | | string|int | $end | | | array|bool|null | $options | |
| RedisArray|array|false | |
RedisArray|array|false zRangeByLex(string $key, string $min, string $max, int $offset = -1, int $count = -1)No description
| string | $key | | | string | $min | | | string | $max | | | int | $offset | | | int | $count | |
| RedisArray|array|false | |
RedisArray|array|false zRangeByScore(string $key, string $start, string $end, array $options = [])No description
| string | $key | | | string | $start | | | string | $end | | | array | $options | |
| RedisArray|array|false | |
RedisArray|string|array zRandMember(string $key, ?array $options = null)No description
| string | $key | | | ?array | $options | |
| RedisArray|string|array | |
RedisArray|int|false zRank(string $key, mixed $member)No description
| string | $key | | | mixed | $member | |
| RedisArray|int|false | |
RedisArray|int|false zRem(mixed $key, mixed $member, mixed $other_members)No description
| mixed | $key | | | mixed | $member | | | mixed | $other_members | |
| RedisArray|int|false | |
RedisArray|int|false zRemRangeByLex(string $key, string $min, string $max)No description
| string | $key | | | string | $min | | | string | $max | |
| RedisArray|int|false | |
RedisArray|int|false zRemRangeByRank(string $key, int $start, int $end)No description
| string | $key | | | int | $start | | | int | $end | |
| RedisArray|int|false | |
RedisArray|int|false zRemRangeByScore(string $key, string $start, string $end)No description
| string | $key | | | string | $start | | | string | $end | |
| RedisArray|int|false | |
RedisArray|array|false zRevRange(string $key, int $start, int $end, mixed $scores = null)No description
| string | $key | | | int | $start | | | int | $end | | | mixed | $scores | |
| RedisArray|array|false | |
RedisArray|array|false zRevRangeByLex(string $key, string $max, string $min, int $offset = -1, int $count = -1)No description
| string | $key | | | string | $max | | | string | $min | | | int | $offset | | | int | $count | |
| RedisArray|array|false | |
RedisArray|array|false zRevRangeByScore(string $key, string $max, string $min, array|bool $options = [])No description
| string | $key | | | string | $max | | | string | $min | | | array|bool | $options | |
| RedisArray|array|false | |
RedisArray|int|false zRevRank(string $key, mixed $member)No description
| string | $key | | | mixed | $member | |
| RedisArray|int|false | |
RedisArray|float|false zScore(string $key, mixed $member)No description
| string | $key | | | mixed | $member | |
| RedisArray|float|false | |
RedisArray|array|false zdiff(array $keys, ?array $options = null)No description
| array | $keys | | | ?array | $options | |
| RedisArray|array|false | |
RedisArray|int|false zdiffstore(string $dst, array $keys)No description
| string | $dst | | | array | $keys | |
| RedisArray|int|false | |
RedisArray|array|false zinter(array $keys, ?array $weights = null, ?array $options = null)No description
| array | $keys | | | ?array | $weights | | | ?array | $options | |
| RedisArray|array|false | |
RedisArray|int|false zintercard(array $keys, int $limit = -1)No description
| array | $keys | | | int | $limit | |
| RedisArray|int|false | |
RedisArray|int|false zinterstore(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)No description
| string | $dst | | | array | $keys | | | ?array | $weights | | | ?string | $aggregate | |
| RedisArray|int|false | |
RedisArray|array|false zunion(array $keys, ?array $weights = null, ?array $options = null)No description
| array | $keys | | | ?array | $weights | | | ?array | $options | |
| RedisArray|array|false | |
RedisArray|int|false zunionstore(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)No description
| string | $dst | | | array | $keys | | | ?array | $weights | | | ?string | $aggregate | |
| RedisArray|int|false | |
Generated by Doctum, a API Documentation generator and fork of Sami.