class RedisArray (View source)

Methods

mixed
__call(string $function_name, array $arguments)

No description

__construct(string|array $name_or_hosts, array|null $options = null)

No description

bool|array
_continuum()

No description

bool|callable
_distributor()

No description

bool|callable
_function()

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
bgrewriteaof()

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
clearLastError()

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
getLastError()

No description

int
getMode()

No description

string|null
getPersistentID()

No description

int
getPort()

No description

string|false
serverName()

No description

string|false
serverVersion()

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
getReadTimeout()

No description

RedisArray|string|false
getset(string $key, mixed $value)

No description

float|false
getTimeout()

No description

array
getTransferredBytes()

No description

void
clearTransferredBytes()

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
isConnected()

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
randomKey()

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

Details

mixed __call(string $function_name, array $arguments)

No description

Parameters

string $function_name
array $arguments

Return Value

mixed

__construct(string|array $name_or_hosts, array|null $options = null)

No description

Parameters

string|array $name_or_hosts
array|null $options

bool|array _continuum()

No description

Return Value

bool|array

bool|callable _distributor()

No description

Return Value

bool|callable

bool|callable _function()

No description

Return Value

bool|callable

bool|array _hosts()

No description

Return Value

bool|array

bool|null|Redis _instance(string $host)

No description

Parameters

string $host

Return Value

bool|null|Redis

bool|null _rehash(callable|null $fn = null)

No description

Parameters

callable|null $fn

Return Value

bool|null

bool|string|null _target(string $key)

No description

Parameters

string $key

Return Value

bool|string|null

array bgsave()

No description

Return Value

array

bool|int del(string|array $key, string ...$otherkeys)

No description

Parameters

string|array $key
string ...$otherkeys

Return Value

bool|int

bool|null discard()

No description

Return Value

bool|null

bool|null|array exec()

No description

Return Value

bool|null|array

bool|array flushall()

No description

Return Value

bool|array

bool|array flushdb()

No description

Return Value

bool|array

bool|array getOption(int $opt)

No description

Parameters

int $opt

Return Value

bool|array

bool|array hscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)

No description

Parameters

string $key
null|int|string $iterator
string|null $pattern
int $count

Return Value

bool|array

bool|array info()

No description

Return Value

bool|array

bool|array keys(string $pattern)

No description

Parameters

string $pattern

Return Value

bool|array

bool|array mget(array $keys)

No description

Parameters

array $keys

Return Value

bool|array

bool mset(array $pairs)

No description

Parameters

array $pairs

Return Value

bool

bool|RedisArray multi(string $host, int|null $mode = null)

No description

Parameters

string $host
int|null $mode

Return Value

bool|RedisArray

bool|array ping()

No description

Return Value

bool|array

bool|array save()

No description

Return Value

bool|array

bool|array scan(null|int|string $iterator, string $node, string|null $pattern = null, int $count = 0)

No description

Parameters

null|int|string $iterator
string $node
string|null $pattern
int $count

Return Value

bool|array

bool|array select(int $index)

No description

Parameters

int $index

Return Value

bool|array

bool|array setOption(int $opt, string $value)

No description

Parameters

int $opt
string $value

Return Value

bool|array

bool|array sscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)

No description

Parameters

string $key
null|int|string $iterator
string|null $pattern
int $count

Return Value

bool|array

No description

Parameters

string|array $key
string ...$otherkeys

Return Value

bool|int

bool|null unwatch()

No description

Return Value

bool|null

bool|array zscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)

No description

Parameters

string $key
null|int|string $iterator
string|null $pattern
int $count

Return Value

bool|array

mixed acl(string $subcmd, string $args)

No description

Parameters

string $subcmd
string $args

Return Value

mixed

RedisArray|int|false append(string $key, mixed $value)

No description

Parameters

string $key
mixed $value

Return Value

RedisArray|int|false

RedisArray|bool auth(SensitiveParameter] $ixed $credentials)

No description

Parameters

SensitiveParameter] $ixed $credentials

Return Value

RedisArray|bool

RedisArray|bool bgrewriteaof()

No description

Return Value

RedisArray|bool

RedisArray|array|false waitaof(int $numlocal, int $numreplicas, int $timeout)

No description

Parameters

int $numlocal
int $numreplicas
int $timeout

Return Value

RedisArray|array|false

RedisArray|int|false bitcount(string $key, int $start, int $end = -1, bool $bybit = false)

No description

Parameters

string $key
int $start
int $end
bool $bybit

Return Value

RedisArray|int|false

RedisArray|int|false bitop(string $operation, string $deskey, string $srckey, string $other_keys)

No description

Parameters

string $operation
string $deskey
string $srckey
string $other_keys

Return Value

RedisArray|int|false

RedisArray|int|false bitpos(string $key, bool $bit, int $start, int $end = -1, bool $bybit = false)

No description

Parameters

string $key
bool $bit
int $start
int $end
bool $bybit

Return Value

RedisArray|int|false

RedisArray|array|null|false blPop(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)

No description

Parameters

string|array $key_or_keys
string|float|int $timeout_or_key
mixed $extra_args

Return Value

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

Parameters

string|array $key_or_keys
string|float|int $timeout_or_key
mixed $extra_args

Return Value

RedisArray|array|null|false

RedisArray|string|false brpoplpush(string $src, string $dst, int|float $timeout)

No description

Parameters

string $src
string $dst
int|float $timeout

Return Value

RedisArray|string|false

RedisArray|array|false bzPopMax(string|array $key, string|int $timeout_or_key, mixed $extra_args)

No description

Parameters

string|array $key
string|int $timeout_or_key
mixed $extra_args

Return Value

RedisArray|array|false

RedisArray|array|false bzPopMin(string|array $key, string|int $timeout_or_key, mixed $extra_args)

No description

Parameters

string|array $key
string|int $timeout_or_key
mixed $extra_args

Return Value

RedisArray|array|false

RedisArray|array|null|false bzmpop(float $timeout, array $keys, string $from, int $count = 1)

No description

Parameters

float $timeout
array $keys
string $from
int $count

Return Value

RedisArray|array|null|false

RedisArray|array|null|false zmpop(array $keys, string $from, int $count = 1)

No description

Parameters

array $keys
string $from
int $count

Return Value

RedisArray|array|null|false

RedisArray|array|null|false blmpop(float $timeout, array $keys, string $from, int $count = 1)

No description

Parameters

float $timeout
array $keys
string $from
int $count

Return Value

RedisArray|array|null|false

RedisArray|array|null|false lmpop(array $keys, string $from, int $count = 1)

No description

Parameters

array $keys
string $from
int $count

Return Value

RedisArray|array|null|false

bool clearLastError()

No description

Return Value

bool

mixed client(string $opt, mixed $args)

No description

Parameters

string $opt
mixed $args

Return Value

mixed

bool close()

No description

Return Value

bool

mixed command(?string $opt = null, mixed $args)

No description

Parameters

?string $opt
mixed $args

Return Value

mixed

mixed config(string $operation, array|string|null $key_or_settings = null, ?string $value = null)

No description

Parameters

string $operation
array|string|null $key_or_settings
?string $value

Return Value

mixed

RedisArray|bool copy(string $src, string $dst, ?array $options = null)

No description

Parameters

string $src
string $dst
?array $options

Return Value

RedisArray|bool

RedisArray|int|false dbSize()

No description

Return Value

RedisArray|int|false

RedisArray|string debug(string $key)

No description

Parameters

string $key

Return Value

RedisArray|string

RedisArray|int|false decr(string $key, int $by = 1)

No description

Parameters

string $key
int $by

Return Value

RedisArray|int|false

RedisArray|int|false decrBy(string $key, int $value)

No description

Parameters

string $key
int $value

Return Value

RedisArray|int|false

RedisArray|int|false delifeq(string $key, mixed $value)

No description

Parameters

string $key
mixed $value

Return Value

RedisArray|int|false

RedisArray|int|false delete(array|string $key, string $other_keys)

No description

Parameters

array|string $key
string $other_keys

Return Value

RedisArray|int|false

RedisArray|string|false dump(string $key)

No description

Parameters

string $key

Return Value

RedisArray|string|false

RedisArray|string|false echo(string $str)

No description

Parameters

string $str

Return Value

RedisArray|string|false

mixed eval(string $script, array $args = [], int $num_keys)

No description

Parameters

string $script
array $args
int $num_keys

Return Value

mixed

mixed eval_ro(string $script_sha, array $args = [], int $num_keys)

No description

Parameters

string $script_sha
array $args
int $num_keys

Return Value

mixed

mixed evalsha(string $sha1, array $args = [], int $num_keys)

No description

Parameters

string $sha1
array $args
int $num_keys

Return Value

mixed

mixed evalsha_ro(string $sha1, array $args = [], int $num_keys)

No description

Parameters

string $sha1
array $args
int $num_keys

Return Value

mixed

RedisArray|int|bool exists(mixed $key, mixed $other_keys)

No description

Parameters

mixed $key
mixed $other_keys

Return Value

RedisArray|int|bool

RedisArray|bool expire(string $key, int $timeout, ?string $mode = null)

No description

Parameters

string $key
int $timeout
?string $mode

Return Value

RedisArray|bool

RedisArray|bool expireAt(string $key, int $timestamp, ?string $mode = null)

No description

Parameters

string $key
int $timestamp
?string $mode

Return Value

RedisArray|bool

RedisArray|bool failover(?array $to = null, bool $abort = false, int $timeout)

No description

Parameters

?array $to
bool $abort
int $timeout

Return Value

RedisArray|bool

RedisArray|int|false expiretime(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

RedisArray|int|false pexpiretime(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

mixed fcall(string $fn, array $keys = [], array $args = [])

No description

Parameters

string $fn
array $keys
array $args

Return Value

mixed

mixed fcall_ro(string $fn, array $keys = [], array $args = [])

No description

Parameters

string $fn
array $keys
array $args

Return Value

mixed

RedisArray|bool|string|array function(string $operation, mixed $args)

No description

Parameters

string $operation
mixed $args

Return Value

RedisArray|bool|string|array

RedisArray|int|false geoadd(string $key, float $lng, float $lat, string $member, mixed $other_triples_and_options)

No description

Parameters

string $key
float $lng
float $lat
string $member
mixed $other_triples_and_options

Return Value

RedisArray|int|false

RedisArray|float|false geodist(string $key, string $src, string $dst, ?string $unit = null)

No description

Parameters

string $key
string $src
string $dst
?string $unit

Return Value

RedisArray|float|false

RedisArray|array|false geohash(string $key, string $member, string $other_members)

No description

Parameters

string $key
string $member
string $other_members

Return Value

RedisArray|array|false

RedisArray|array|false geopos(string $key, string $member, string $other_members)

No description

Parameters

string $key
string $member
string $other_members

Return Value

RedisArray|array|false

mixed georadius(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])

No description

Parameters

string $key
float $lng
float $lat
float $radius
string $unit
array $options

Return Value

mixed

mixed georadius_ro(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])

No description

Parameters

string $key
float $lng
float $lat
float $radius
string $unit
array $options

Return Value

mixed

mixed georadiusbymember(string $key, string $member, float $radius, string $unit, array $options = [])

No description

Parameters

string $key
string $member
float $radius
string $unit
array $options

Return Value

mixed

mixed georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = [])

No description

Parameters

string $key
string $member
float $radius
string $unit
array $options

Return Value

mixed

array geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = [])

No description

Parameters

string $key
array|string $position
array|int|float $shape
string $unit
array $options

Return Value

array

RedisArray|array|int|false geosearchstore(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = [])

No description

Parameters

string $dst
string $src
array|string $position
array|int|float $shape
string $unit
array $options

Return Value

RedisArray|array|int|false

mixed get(string $key)

No description

Parameters

string $key

Return Value

mixed

RedisArray|array|false getWithMeta(string $key)

No description

Parameters

string $key

Return Value

RedisArray|array|false

mixed getAuth()

No description

Return Value

mixed

RedisArray|int|false getBit(string $key, int $idx)

No description

Parameters

string $key
int $idx

Return Value

RedisArray|int|false

RedisArray|string|bool getEx(string $key, array $options = [])

No description

Parameters

string $key
array $options

Return Value

RedisArray|string|bool

int getDBNum()

No description

Return Value

int

RedisArray|string|bool getDel(string $key)

No description

Parameters

string $key

Return Value

RedisArray|string|bool

string getHost()

No description

Return Value

string

string|null getLastError()

No description

Return Value

string|null

int getMode()

No description

Return Value

int

string|null getPersistentID()

No description

Return Value

string|null

int getPort()

No description

Return Value

int

string|false serverName()

No description

Return Value

string|false

string|false serverVersion()

No description

Return Value

string|false

RedisArray|string|false getRange(string $key, int $start, int $end)

No description

Parameters

string $key
int $start
int $end

Return Value

RedisArray|string|false

RedisArray|string|array|int|false lcs(string $key1, string $key2, ?array $options = null)

No description

Parameters

string $key1
string $key2
?array $options

Return Value

RedisArray|string|array|int|false

float getReadTimeout()

No description

Return Value

float

RedisArray|string|false getset(string $key, mixed $value)

No description

Parameters

string $key
mixed $value

Return Value

RedisArray|string|false

float|false getTimeout()

No description

Return Value

float|false

array getTransferredBytes()

No description

Return Value

array

void clearTransferredBytes()

No description

Return Value

void

RedisArray|int|false hDel(string $key, string $field, string $other_fields)

No description

Parameters

string $key
string $field
string $other_fields

Return Value

RedisArray|int|false

RedisArray|bool hExists(string $key, string $field)

No description

Parameters

string $key
string $field

Return Value

RedisArray|bool

mixed hGet(string $key, string $member)

No description

Parameters

string $key
string $member

Return Value

mixed

RedisArray|array|false hGetAll(string $key)

No description

Parameters

string $key

Return Value

RedisArray|array|false

mixed hGetWithMeta(string $key, string $member)

No description

Parameters

string $key
string $member

Return Value

mixed

RedisArray|int|false hIncrBy(string $key, string $field, int $value)

No description

Parameters

string $key
string $field
int $value

Return Value

RedisArray|int|false

RedisArray|float|false hIncrByFloat(string $key, string $field, float $value)

No description

Parameters

string $key
string $field
float $value

Return Value

RedisArray|float|false

RedisArray|array|false hKeys(string $key)

No description

Parameters

string $key

Return Value

RedisArray|array|false

RedisArray|int|false hLen(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

RedisArray|array|false hMget(string $key, array $fields)

No description

Parameters

string $key
array $fields

Return Value

RedisArray|array|false

RedisArray|array|false hgetex(string $key, array $fields, string|array|null $expiry = null)

No description

Parameters

string $key
array $fields
string|array|null $expiry

Return Value

RedisArray|array|false

RedisArray|int|false hsetex(string $key, array $fields, ?array $expiry = null)

No description

Parameters

string $key
array $fields
?array $expiry

Return Value

RedisArray|int|false

RedisArray|array|false hgetdel(string $key, array $fields)

No description

Parameters

string $key
array $fields

Return Value

RedisArray|array|false

RedisArray|bool hMset(string $key, array $fieldvals)

No description

Parameters

string $key
array $fieldvals

Return Value

RedisArray|bool

RedisArray|string|array|false hRandField(string $key, ?array $options = null)

No description

Parameters

string $key
?array $options

Return Value

RedisArray|string|array|false

RedisArray|int|false hSet(string $key, mixed $fields_and_vals)

No description

Parameters

string $key
mixed $fields_and_vals

Return Value

RedisArray|int|false

RedisArray|bool hSetNx(string $key, string $field, mixed $value)

No description

Parameters

string $key
string $field
mixed $value

Return Value

RedisArray|bool

RedisArray|int|false hStrLen(string $key, string $field)

No description

Parameters

string $key
string $field

Return Value

RedisArray|int|false

RedisArray|array|false hVals(string $key)

No description

Parameters

string $key

Return Value

RedisArray|array|false

RedisArray|array|false httl(string $key, array $fields)

No description

Parameters

string $key
array $fields

Return Value

RedisArray|array|false

RedisArray|array|false hpttl(string $key, array $fields)

No description

Parameters

string $key
array $fields

Return Value

RedisArray|array|false

RedisArray|array|false hexpiretime(string $key, array $fields)

No description

Parameters

string $key
array $fields

Return Value

RedisArray|array|false

RedisArray|array|false hpexpiretime(string $key, array $fields)

No description

Parameters

string $key
array $fields

Return Value

RedisArray|array|false

RedisArray|array|false hpersist(string $key, array $fields)

No description

Parameters

string $key
array $fields

Return Value

RedisArray|array|false

RedisArray|int|false expiremember(string $key, string $field, int $ttl, ?string $unit = null)

No description

Parameters

string $key
string $field
int $ttl
?string $unit

Return Value

RedisArray|int|false

RedisArray|int|false expirememberat(string $key, string $field, int $timestamp)

No description

Parameters

string $key
string $field
int $timestamp

Return Value

RedisArray|int|false

RedisArray|int|false incr(string $key, int $by = 1)

No description

Parameters

string $key
int $by

Return Value

RedisArray|int|false

RedisArray|int|false incrBy(string $key, int $value)

No description

Parameters

string $key
int $value

Return Value

RedisArray|int|false

RedisArray|float|false incrByFloat(string $key, float $value)

No description

Parameters

string $key
float $value

Return Value

RedisArray|float|false

bool isConnected()

No description

Return Value

bool

void lInsert(string $key, string $pos, mixed $pivot, mixed $value)

No description

Parameters

string $key
string $pos
mixed $pivot
mixed $value

Return Value

void

RedisArray|int|false lLen(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

RedisArray|string|false lMove(string $src, string $dst, string $wherefrom, string $whereto)

No description

Parameters

string $src
string $dst
string $wherefrom
string $whereto

Return Value

RedisArray|string|false

RedisArray|string|false blmove(string $src, string $dst, string $wherefrom, string $whereto, float $timeout)

No description

Parameters

string $src
string $dst
string $wherefrom
string $whereto
float $timeout

Return Value

RedisArray|string|false

RedisArray|bool|string|array lPop(string $key, int $count)

No description

Parameters

string $key
int $count

Return Value

RedisArray|bool|string|array

RedisArray|null|bool|int|array lPos(string $key, mixed $value, ?array $options = null)

No description

Parameters

string $key
mixed $value
?array $options

Return Value

RedisArray|null|bool|int|array

RedisArray|int|false lPush(string $key, mixed $elements)

No description

Parameters

string $key
mixed $elements

Return Value

RedisArray|int|false

RedisArray|int|false rPush(string $key, mixed $elements)

No description

Parameters

string $key
mixed $elements

Return Value

RedisArray|int|false

RedisArray|int|false lPushx(string $key, mixed $value)

No description

Parameters

string $key
mixed $value

Return Value

RedisArray|int|false

RedisArray|int|false rPushx(string $key, mixed $value)

No description

Parameters

string $key
mixed $value

Return Value

RedisArray|int|false

RedisArray|bool lSet(string $key, int $index, mixed $value)

No description

Parameters

string $key
int $index
mixed $value

Return Value

RedisArray|bool

int lastSave()

No description

Return Value

int

mixed lindex(string $key, int $index)

No description

Parameters

string $key
int $index

Return Value

mixed

RedisArray|array|false lrange(string $key, int $start, int $end)

No description

Parameters

string $key
int $start
int $end

Return Value

RedisArray|array|false

RedisArray|int|false lrem(string $key, mixed $value, int $count)

No description

Parameters

string $key
mixed $value
int $count

Return Value

RedisArray|int|false

RedisArray|bool ltrim(string $key, int $start, int $end)

No description

Parameters

string $key
int $start
int $end

Return Value

RedisArray|bool

RedisArray|bool move(string $key, int $index)

No description

Parameters

string $key
int $index

Return Value

RedisArray|bool

RedisArray|bool msetnx(array $key_values)

No description

Parameters

array $key_values

Return Value

RedisArray|bool

RedisArray|int|string|false object(string $subcommand, string $key)

No description

Parameters

string $subcommand
string $key

Return Value

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

Parameters

string $host
int $port
float $timeout
?string $persistent_id
int $retry_interval
float $read_timeout
?array $context

Return Value

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

Parameters

string $host
int $port
float $timeout
?string $persistent_id
int $retry_interval
float $read_timeout
?array $context

Return Value

bool

RedisArray|bool persist(string $key)

No description

Parameters

string $key

Return Value

RedisArray|bool

bool pexpire(string $key, int $timeout, ?string $mode = null)

No description

Parameters

string $key
int $timeout
?string $mode

Return Value

bool

RedisArray|bool pexpireAt(string $key, int $timestamp, ?string $mode = null)

No description

Parameters

string $key
int $timestamp
?string $mode

Return Value

RedisArray|bool

RedisArray|int pfadd(string $key, array $elements)

No description

Parameters

string $key
array $elements

Return Value

RedisArray|int

RedisArray|int|false pfcount(array|string $key_or_keys)

No description

Parameters

array|string $key_or_keys

Return Value

RedisArray|int|false

RedisArray|bool pfmerge(string $dst, array $srckeys)

No description

Parameters

string $dst
array $srckeys

Return Value

RedisArray|bool

RedisArray pipeline()

No description

Return Value

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

Parameters

string $host
int $port
float $timeout
?string $persistent_id
int $retry_interval
float $read_timeout
?array $context

Return Value

bool

RedisArray|bool psetex(string $key, int $expire, mixed $value)

No description

Parameters

string $key
int $expire
mixed $value

Return Value

RedisArray|bool

bool psubscribe(array $patterns, callable $cb)

No description

Parameters

array $patterns
callable $cb

Return Value

bool

RedisArray|int|false pttl(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

RedisArray|int|false publish(string $channel, string $message)

No description

Parameters

string $channel
string $message

Return Value

RedisArray|int|false

mixed pubsub(string $command, mixed $arg = null)

No description

Parameters

string $command
mixed $arg

Return Value

mixed

RedisArray|array|bool punsubscribe(array $patterns)

No description

Parameters

array $patterns

Return Value

RedisArray|array|bool

RedisArray|array|string|bool rPop(string $key, int $count)

No description

Parameters

string $key
int $count

Return Value

RedisArray|array|string|bool

RedisArray|string|false randomKey()

No description

Return Value

RedisArray|string|false

mixed rawcommand(string $command, mixed $args)

No description

Parameters

string $command
mixed $args

Return Value

mixed

RedisArray|bool rename(string $old_name, string $new_name)

No description

Parameters

string $old_name
string $new_name

Return Value

RedisArray|bool

RedisArray|bool renameNx(string $key_src, string $key_dst)

No description

Parameters

string $key_src
string $key_dst

Return Value

RedisArray|bool

RedisArray|bool reset()

No description

Return Value

RedisArray|bool

RedisArray|bool restore(string $key, int $ttl, string $value, ?array $options = null)

No description

Parameters

string $key
int $ttl
string $value
?array $options

Return Value

RedisArray|bool

mixed role()

No description

Return Value

mixed

RedisArray|string|false rpoplpush(string $srckey, string $dstkey)

No description

Parameters

string $srckey
string $dstkey

Return Value

RedisArray|string|false

RedisArray|int|false sAdd(string $key, mixed $value, mixed $other_values)

No description

Parameters

string $key
mixed $value
mixed $other_values

Return Value

RedisArray|int|false

int sAddArray(string $key, array $values)

No description

Parameters

string $key
array $values

Return Value

int

RedisArray|array|false sDiff(string $key, string $other_keys)

No description

Parameters

string $key
string $other_keys

Return Value

RedisArray|array|false

RedisArray|int|false sDiffStore(string $dst, string $key, string $other_keys)

No description

Parameters

string $dst
string $key
string $other_keys

Return Value

RedisArray|int|false

RedisArray|array|false sInter(array|string $key, string $other_keys)

No description

Parameters

array|string $key
string $other_keys

Return Value

RedisArray|array|false

RedisArray|int|false sintercard(array $keys, int $limit = -1)

No description

Parameters

array $keys
int $limit

Return Value

RedisArray|int|false

RedisArray|int|false sInterStore(array|string $key, string $other_keys)

No description

Parameters

array|string $key
string $other_keys

Return Value

RedisArray|int|false

RedisArray|array|false sMembers(string $key)

No description

Parameters

string $key

Return Value

RedisArray|array|false

RedisArray|array|false sMisMember(string $key, string $member, string $other_members)

No description

Parameters

string $key
string $member
string $other_members

Return Value

RedisArray|array|false

RedisArray|bool sMove(string $src, string $dst, mixed $value)

No description

Parameters

string $src
string $dst
mixed $value

Return Value

RedisArray|bool

RedisArray|string|array|false sPop(string $key, int $count)

No description

Parameters

string $key
int $count

Return Value

RedisArray|string|array|false

mixed sRandMember(string $key, int $count)

No description

Parameters

string $key
int $count

Return Value

mixed

RedisArray|array|false sUnion(string $key, string $other_keys)

No description

Parameters

string $key
string $other_keys

Return Value

RedisArray|array|false

RedisArray|int|false sUnionStore(string $dst, string $key, string $other_keys)

No description

Parameters

string $dst
string $key
string $other_keys

Return Value

RedisArray|int|false

RedisArray|int|false scard(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

mixed script(string $command, mixed $args)

No description

Parameters

string $command
mixed $args

Return Value

mixed

RedisArray|string|bool set(string $key, mixed $value, mixed $options = null)

No description

Parameters

string $key
mixed $value
mixed $options

Return Value

RedisArray|string|bool

RedisArray|int|false setBit(string $key, int $idx, bool $value)

No description

Parameters

string $key
int $idx
bool $value

Return Value

RedisArray|int|false

RedisArray|int|false setRange(string $key, int $index, string $value)

No description

Parameters

string $key
int $index
string $value

Return Value

RedisArray|int|false

void setex(string $key, int $expire, mixed $value)

No description

Parameters

string $key
int $expire
mixed $value

Return Value

void

RedisArray|bool setnx(string $key, mixed $value)

No description

Parameters

string $key
mixed $value

Return Value

RedisArray|bool

RedisArray|bool sismember(string $key, mixed $value)

No description

Parameters

string $key
mixed $value

Return Value

RedisArray|bool

RedisArray|bool slaveof(?string $host = null, int $port = 6379)

No description

Parameters

?string $host
int $port

Return Value

RedisArray|bool

RedisArray|bool replicaof(?string $host = null, int $port = 6379)

No description

Parameters

?string $host
int $port

Return Value

RedisArray|bool

RedisArray|int|false touch(array|string $key_or_array, string $more_keys)

No description

Parameters

array|string $key_or_array
string $more_keys

Return Value

RedisArray|int|false

mixed slowlog(string $operation, int $length)

No description

Parameters

string $operation
int $length

Return Value

mixed

mixed sort(string $key, ?array $options = null)

No description

Parameters

string $key
?array $options

Return Value

mixed

mixed sort_ro(string $key, ?array $options = null)

No description

Parameters

string $key
?array $options

Return Value

mixed

array sortAsc(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)

No description

Parameters

string $key
?string $pattern
mixed $get
int $offset
int $count
?string $store

Return Value

array

array sortAscAlpha(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)

No description

Parameters

string $key
?string $pattern
mixed $get
int $offset
int $count
?string $store

Return Value

array

array sortDesc(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)

No description

Parameters

string $key
?string $pattern
mixed $get
int $offset
int $count
?string $store

Return Value

array

array sortDescAlpha(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)

No description

Parameters

string $key
?string $pattern
mixed $get
int $offset
int $count
?string $store

Return Value

array

RedisArray|int|false srem(string $key, mixed $value, mixed $other_values)

No description

Parameters

string $key
mixed $value
mixed $other_values

Return Value

RedisArray|int|false

bool ssubscribe(array $channels, callable $cb)

No description

Parameters

array $channels
callable $cb

Return Value

bool

RedisArray|int|false strlen(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

bool subscribe(array $channels, callable $cb)

No description

Parameters

array $channels
callable $cb

Return Value

bool

RedisArray|array|bool sunsubscribe(array $channels)

No description

Parameters

array $channels

Return Value

RedisArray|array|bool

RedisArray|bool swapdb(int $src, int $dst)

No description

Parameters

int $src
int $dst

Return Value

RedisArray|bool

RedisArray|array time()

No description

Return Value

RedisArray|array

RedisArray|int|false ttl(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

RedisArray|int|false type(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

RedisArray|array|bool unsubscribe(array $channels)

No description

Parameters

array $channels

Return Value

RedisArray|array|bool

RedisArray|bool watch(array|string $key, string $other_keys)

No description

Parameters

array|string $key
string $other_keys

Return Value

RedisArray|bool

int|false wait(int $numreplicas, int $timeout)

No description

Parameters

int $numreplicas
int $timeout

Return Value

int|false

int|false xack(string $key, string $group, array $ids)

No description

Parameters

string $key
string $group
array $ids

Return Value

int|false

RedisArray|string|false xadd(string $key, string $id, array $values, int $maxlen, bool $approx = false, bool $nomkstream = false)

No description

Parameters

string $key
string $id
array $values
int $maxlen
bool $approx
bool $nomkstream

Return Value

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

Parameters

string $key
string $group
string $consumer
int $min_idle
string $start
int $count
bool $justid

Return Value

RedisArray|bool|array

RedisArray|array|bool xclaim(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options)

No description

Parameters

string $key
string $group
string $consumer
int $min_idle
array $ids
array $options

Return Value

RedisArray|array|bool

RedisArray|int|false xdel(string $key, array $ids)

No description

Parameters

string $key
array $ids

Return Value

RedisArray|int|false

mixed xinfo(string $operation, ?string $arg1 = null, ?string $arg2 = null, int $count = -1)

No description

Parameters

string $operation
?string $arg1
?string $arg2
int $count

Return Value

mixed

RedisArray|int|false xlen(string $key)

No description

Parameters

string $key

Return Value

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

Parameters

string $key
string $group
?string $start
?string $end
int $count
?string $consumer

Return Value

RedisArray|array|false

RedisArray|array|bool xrange(string $key, string $start, string $end, int $count = -1)

No description

Parameters

string $key
string $start
string $end
int $count

Return Value

RedisArray|array|bool

RedisArray|array|bool xread(array $streams, int $count = -1, int $block = -1)

No description

Parameters

array $streams
int $count
int $block

Return Value

RedisArray|array|bool

RedisArray|array|bool xreadgroup(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)

No description

Parameters

string $group
string $consumer
array $streams
int $count
int $block

Return Value

RedisArray|array|bool

RedisArray|array|bool xrevrange(string $key, string $end, string $start, int $count = -1)

No description

Parameters

string $key
string $end
string $start
int $count

Return Value

RedisArray|array|bool

RedisArray|int|false vadd(string $key, array $values, mixed $element, array|null $options = null)

No description

Parameters

string $key
array $values
mixed $element
array|null $options

Return Value

RedisArray|int|false

RedisArray|array|false vsim(string $key, mixed $member, array|null $options = null)

No description

Parameters

string $key
mixed $member
array|null $options

Return Value

RedisArray|array|false

RedisArray|int|false vcard(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

RedisArray|int|false vdim(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

RedisArray|array|false vinfo(string $key)

No description

Parameters

string $key

Return Value

RedisArray|array|false

RedisArray|bool vismember(string $key, mixed $member)

No description

Parameters

string $key
mixed $member

Return Value

RedisArray|bool

RedisArray|array|false vemb(string $key, mixed $member, bool $raw = false)

No description

Parameters

string $key
mixed $member
bool $raw

Return Value

RedisArray|array|false

RedisArray|array|string|false vrandmember(string $key, int $count)

No description

Parameters

string $key
int $count

Return Value

RedisArray|array|string|false

RedisArray|array|false vrange(string $key, string $min, string $max, int $count = -1)

No description

Parameters

string $key
string $min
string $max
int $count

Return Value

RedisArray|array|false

RedisArray|int|false vrem(string $key, mixed $member)

No description

Parameters

string $key
mixed $member

Return Value

RedisArray|int|false

RedisArray|int|false vsetattr(string $key, mixed $member, array|string $attributes)

No description

Parameters

string $key
mixed $member
array|string $attributes

Return Value

RedisArray|int|false

RedisArray|array|string|false vgetattr(string $key, mixed $member, bool $decode = true)

No description

Parameters

string $key
mixed $member
bool $decode

Return Value

RedisArray|array|string|false

No description

Parameters

string $key
mixed $member
bool $withscores

Return Value

RedisArray|array|false

RedisArray|int|false xtrim(string $key, string $threshold, bool $approx = false, bool $minid = false, int $limit = -1)

No description

Parameters

string $key
string $threshold
bool $approx
bool $minid
int $limit

Return Value

RedisArray|int|false

RedisArray|int|float|false zAdd(string $key, array|float $score_or_options, mixed $more_scores_and_mems)

No description

Parameters

string $key
array|float $score_or_options
mixed $more_scores_and_mems

Return Value

RedisArray|int|float|false

RedisArray|int|false zCard(string $key)

No description

Parameters

string $key

Return Value

RedisArray|int|false

RedisArray|int|false zCount(string $key, int|string $start, int|string $end)

No description

Parameters

string $key
int|string $start
int|string $end

Return Value

RedisArray|int|false

RedisArray|float|false zIncrBy(string $key, float $value, mixed $member)

No description

Parameters

string $key
float $value
mixed $member

Return Value

RedisArray|float|false

RedisArray|int|false zLexCount(string $key, string $min, string $max)

No description

Parameters

string $key
string $min
string $max

Return Value

RedisArray|int|false

RedisArray|array|false zMscore(string $key, mixed $member, mixed $other_members)

No description

Parameters

string $key
mixed $member
mixed $other_members

Return Value

RedisArray|array|false

RedisArray|array|false zPopMax(string $key, ?int $count = null)

No description

Parameters

string $key
?int $count

Return Value

RedisArray|array|false

RedisArray|array|false zPopMin(string $key, ?int $count = null)

No description

Parameters

string $key
?int $count

Return Value

RedisArray|array|false

RedisArray|array|false zRange(string $key, string|int $start, string|int $end, array|bool|null $options = null)

No description

Parameters

string $key
string|int $start
string|int $end
array|bool|null $options

Return Value

RedisArray|array|false

RedisArray|array|false zRangeByLex(string $key, string $min, string $max, int $offset = -1, int $count = -1)

No description

Parameters

string $key
string $min
string $max
int $offset
int $count

Return Value

RedisArray|array|false

RedisArray|array|false zRangeByScore(string $key, string $start, string $end, array $options = [])

No description

Parameters

string $key
string $start
string $end
array $options

Return Value

RedisArray|array|false

RedisArray|string|array zRandMember(string $key, ?array $options = null)

No description

Parameters

string $key
?array $options

Return Value

RedisArray|string|array

RedisArray|int|false zRank(string $key, mixed $member)

No description

Parameters

string $key
mixed $member

Return Value

RedisArray|int|false

RedisArray|int|false zRem(mixed $key, mixed $member, mixed $other_members)

No description

Parameters

mixed $key
mixed $member
mixed $other_members

Return Value

RedisArray|int|false

RedisArray|int|false zRemRangeByLex(string $key, string $min, string $max)

No description

Parameters

string $key
string $min
string $max

Return Value

RedisArray|int|false

RedisArray|int|false zRemRangeByRank(string $key, int $start, int $end)

No description

Parameters

string $key
int $start
int $end

Return Value

RedisArray|int|false

RedisArray|int|false zRemRangeByScore(string $key, string $start, string $end)

No description

Parameters

string $key
string $start
string $end

Return Value

RedisArray|int|false

RedisArray|array|false zRevRange(string $key, int $start, int $end, mixed $scores = null)

No description

Parameters

string $key
int $start
int $end
mixed $scores

Return Value

RedisArray|array|false

RedisArray|array|false zRevRangeByLex(string $key, string $max, string $min, int $offset = -1, int $count = -1)

No description

Parameters

string $key
string $max
string $min
int $offset
int $count

Return Value

RedisArray|array|false

RedisArray|array|false zRevRangeByScore(string $key, string $max, string $min, array|bool $options = [])

No description

Parameters

string $key
string $max
string $min
array|bool $options

Return Value

RedisArray|array|false

RedisArray|int|false zRevRank(string $key, mixed $member)

No description

Parameters

string $key
mixed $member

Return Value

RedisArray|int|false

RedisArray|float|false zScore(string $key, mixed $member)

No description

Parameters

string $key
mixed $member

Return Value

RedisArray|float|false

RedisArray|array|false zdiff(array $keys, ?array $options = null)

No description

Parameters

array $keys
?array $options

Return Value

RedisArray|array|false

RedisArray|int|false zdiffstore(string $dst, array $keys)

No description

Parameters

string $dst
array $keys

Return Value

RedisArray|int|false

RedisArray|array|false zinter(array $keys, ?array $weights = null, ?array $options = null)

No description

Parameters

array $keys
?array $weights
?array $options

Return Value

RedisArray|array|false

RedisArray|int|false zintercard(array $keys, int $limit = -1)

No description

Parameters

array $keys
int $limit

Return Value

RedisArray|int|false

RedisArray|int|false zinterstore(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)

No description

Parameters

string $dst
array $keys
?array $weights
?string $aggregate

Return Value

RedisArray|int|false

RedisArray|array|false zunion(array $keys, ?array $weights = null, ?array $options = null)

No description

Parameters

array $keys
?array $weights
?array $options

Return Value

RedisArray|array|false

RedisArray|int|false zunionstore(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)

No description

Parameters

string $dst
array $keys
?array $weights
?string $aggregate

Return Value

RedisArray|int|false