From ecdc290bba19c48d27fc14f1fa74d2187c791a7b Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Fri, 7 Nov 2025 10:50:15 -0800 Subject: [PATCH] Update doctum docs --- docs/DOCTUM_VERSION | 2 +- docs/PROJECT_VERSION | 2 +- docs/Redis.html | 5120 ++++++++++--- docs/RedisArray.html | 15207 +++++++++++++++++++++++++++++++++++++- docs/RedisCluster.html | 4358 ++++++++++- docs/RedisSentinel.html | 49 +- docs/doc-index.html | 772 +- docs/doctum-search.json | 2 +- docs/doctum.js | 9 +- docs/renderer.index | 2 +- 10 files changed, 24198 insertions(+), 1325 deletions(-) diff --git a/docs/DOCTUM_VERSION b/docs/DOCTUM_VERSION index d41f08f1..0413736d 100644 --- a/docs/DOCTUM_VERSION +++ b/docs/DOCTUM_VERSION @@ -1 +1 @@ -5.5.1 \ No newline at end of file +5.5.4 \ No newline at end of file diff --git a/docs/PROJECT_VERSION b/docs/PROJECT_VERSION index 6563189c..88d050b1 100644 --- a/docs/PROJECT_VERSION +++ b/docs/PROJECT_VERSION @@ -1 +1 @@ -develop +main \ No newline at end of file diff --git a/docs/Redis.html b/docs/Redis.html index dd7ee25f..f5cb9160 100644 --- a/docs/Redis.html +++ b/docs/Redis.html @@ -92,6 +92,477 @@ +

Constants

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ REDIS_NOT_FOUND + +

+

+
+ REDIS_STRING + +

+

+
+ REDIS_SET + +

+

+
+ REDIS_LIST + +

+

+
+ REDIS_ZSET + +

+

+
+ REDIS_HASH + +

+

+
+ REDIS_STREAM + +

+

+
+ REDIS_VECTORSET + +

+

+
+ ATOMIC + +

+

+
+ MULTI + +

+

+
+ PIPELINE + +

+

+
+ OPT_SERIALIZER + +

+

+
+ OPT_PREFIX + +

+

+
+ OPT_READ_TIMEOUT + +

+

+
+ OPT_TCP_KEEPALIVE + +

+

+
+ OPT_COMPRESSION + +

+

+
+ OPT_REPLY_LITERAL + +

+

+
+ OPT_COMPRESSION_LEVEL + +

+

+
+ OPT_NULL_MULTIBULK_AS_NULL + +

+

+
+ OPT_PACK_IGNORE_NUMBERS + +

+

+
+ SERIALIZER_NONE + +

+

+
+ SERIALIZER_PHP + +

+

+
+ SERIALIZER_IGBINARY + +

+

+
+ SERIALIZER_MSGPACK + +

+

+
+ SERIALIZER_JSON + +

+

+
+ COMPRESSION_NONE + +

+

+
+ COMPRESSION_LZF + +

+

+
+ COMPRESSION_ZSTD + +

+

+
+ COMPRESSION_ZSTD_DEFAULT + +

+

+
+ COMPRESSION_ZSTD_MIN + +

+

+
+ COMPRESSION_ZSTD_MAX + +

+

+
+ COMPRESSION_LZ4 + +

+

+
+ OPT_SCAN + +

+

+
+ SCAN_RETRY + +

+

+
+ SCAN_NORETRY + +

+

+
+ SCAN_PREFIX + +

+

+
+ SCAN_NOPREFIX + +

+

+
+ BEFORE + +

+

+
+ AFTER + +

+

+
+ LEFT + +

+

+
+ RIGHT + +

+

+
+ OPT_MAX_RETRIES + +

+

+
+ OPT_BACKOFF_ALGORITHM + +

+

+
+ BACKOFF_ALGORITHM_DEFAULT + +

+

+
+ BACKOFF_ALGORITHM_CONSTANT + +

+

+
+ BACKOFF_ALGORITHM_UNIFORM + +

+

+
+ BACKOFF_ALGORITHM_EXPONENTIAL + +

+

+
+ BACKOFF_ALGORITHM_FULL_JITTER + +

+

+
+ BACKOFF_ALGORITHM_EQUAL_JITTER + +

+

+
+ BACKOFF_ALGORITHM_DECORRELATED_JITTER + +

+

+
+ OPT_BACKOFF_BASE + +

+

+
+ OPT_BACKOFF_CAP + +

+

+
+

Methods

@@ -102,7 +573,7 @@ Redis
- __construct(array $options = null) + __construct(array|null $options = null)

Create a new Redis instance. If passed sufficient information in the options array it is also possible to connect to an instance at the same @@ -127,8 +598,8 @@ time.

_compress(string $value) -

Compress a value with the currently configured compressor as set with -Redis::setOption().

+

Compress a value with the currently configured compressor (Redis::OPT_COMPRESSION) +exactly the same way PhpRedis does before sending data to Redis.

@@ -138,8 +609,8 @@ Redis::setOption().

_uncompress(string $value) -

Uncompress the provided argument that has been compressed with the -currently configured compressor as set with Redis::setOption().

+

Uncompress the provided argument using the compressor configured via +Redis::setOption() (Redis::OPT_COMPRESSION).

@@ -182,8 +653,20 @@ with Redis::setOption().

_pack(mixed $value) -

Pack the provided value with the configured serializer and compressor -as set with Redis::setOption().

+

Pack the provided value by first serializing it (if Redis::OPT_SERIALIZER is set) +and then compressing the serialized payload (if Redis::OPT_COMPRESSION is set), +mirroring exactly what PhpRedis transmits to Redis.

+
+ +
+
+ string +
+
+ _digest(mixed $value) + +

Compute the XXH3 digest of a PHP value after it has been _packed, producing +the same digest Redis' DIGEST command would return for the stored value.

@@ -193,8 +676,9 @@ as set with Redis::setOption().

_unpack(string $value) -

Unpack the provided value with the configured compressor and serializer -as set with Redis::setOption().

+

Unpack the provided value by first uncompressing it (if Redis::OPT_COMPRESSION +is set) and then unserializing it (if Redis::OPT_SERIALIZER is set) to recover +the original PHP value.

@@ -247,6 +731,17 @@ as set with Redis::setOption().

Asynchronously rewrite Redis' append-only file

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

No description

+
+
@@ -412,7 +907,7 @@ no elements are available.

mixed
- command(string $opt = null, string|array $arg) + command(string|null $opt = null, mixed ...$args)

No description

@@ -423,7 +918,7 @@ no elements are available.

mixed
- config(string $operation, array|string|null $key_or_settings = NULL, string|null $value = NULL) + config(string $operation, array|string|null $key_or_settings = null, string|null $value = null)

Execute the Redis CONFIG command in a variety of ways.

@@ -433,7 +928,7 @@ no elements are available.

bool
- connect(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array $context = null) + connect(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null)

No description

@@ -444,7 +939,7 @@ no elements are available.

Redis|bool
- copy(string $src, string $dst, array $options = null) + copy(string $src, string $dst, array|null $options = null)

Make a copy of a key.

@@ -499,6 +994,27 @@ no elements are available.

Delete one or more keys from Redis.

+ +
+
+ Redis|int|false +
+
+ delex(string $key, array|null $options = null) + +

Delete a key conditionally based on its value or hash digest

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

Delete a key if it's equal to the specified value. This command is +specific to Valkey >= 9.0

+
@@ -523,7 +1039,7 @@ no elements are available.

- Redis|string + Redis|string|false
dump(string $key) @@ -609,7 +1125,7 @@ may not modify data in redis.

Redis|bool
- expire(string $key, int $timeout, string|null $mode = NULL) + expire(string $key, int $timeout, string|null $mode = null)

Sets an expiration in seconds on the key in question. If connected to redis-server >= 7.0.0 you may send an additional "mode" argument which @@ -621,7 +1137,7 @@ modifies how the command will execute.

Redis|bool
- expireAt(string $key, int $timestamp, string|null $mode = NULL) + expireAt(string $key, int $timestamp, string|null $mode = null)

Set a key to expire at an exact unix timestamp.

@@ -656,6 +1172,26 @@ modifies how the command will execute.

Get the expiration timestamp of a given Redis key but in milliseconds.

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

Invoke a function.

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

This is a read-only variant of the FCALL command that cannot execute commands that modify data.

+
@@ -676,6 +1212,16 @@ modifies how the command will execute.

Deletes all the keys of the currently selected database.

+ +
+
+ Redis|bool|string|array +
+
+ function(string $operation, mixed ...$args) + +

Functions is an API for managing code to be executed on the server.

+
@@ -787,6 +1333,16 @@ a new set.

Retrieve a string keys value.

+ +
+
+ Redis|array|false +
+
+ getWithMeta(string $key) + +

Retrieve a value and metadata of key.

+
@@ -897,6 +1453,26 @@ a new set.

Get the port we are connected to. This number will be zero if we are connected to a unix socket.

+ +
+
+ string|false +
+
+ serverName() + +

Get the server name as reported by the HELLO response.

+
+
+
+
+ string|false +
+
+ serverVersion() + +

Get the server version as reported by the HELLO response.

+
@@ -913,7 +1489,7 @@ a new set.

Redis|string|array|int|false
- lcs(string $key1, string $key2, array|null $options = NULL) + lcs(string $key1, string $key2, array|null $options = null)

Get the longest common subsequence between two string keys.

@@ -950,13 +1526,22 @@ a new set.

- int|false + array
getTransferredBytes() -

No description

-
+

Get the number of bytes sent and received on the socket.

+
+ +
+
+ void +
+
+ clearTransferredBytes() + +

Reset the number of bytes sent and received on the socket.

@@ -999,6 +1584,16 @@ a new set.

Read every field and value from a hash.

+ +
+
+ mixed +
+
+ hGetWithMeta(string $key, string $member) + +

Retrieve a value and metadata of hash field.

+
@@ -1049,6 +1644,37 @@ a new set.

Get one or more fields from a hash.

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

Get one or more fields of a hash while optionally setting expiration +information

+
+
+
+
+ Redis|int|false +
+
+ hsetex(string $key, array $fields, array|null $expiry = null) + +

Set one or more fields in a hash with optional expiration information.

+
+
+
+
+ Redis|array|false +
+
+ hgetdel(string $key, array $fields) + +

Get one or more fields and delete them

+
@@ -1062,10 +1688,10 @@ a new set.

- Redis|string|array + Redis|string|array|false
- hRandField(string $key, array $options = null) + hRandField(string $key, array|null $options = null)

Get one or more random field from a hash.

@@ -1075,10 +1701,9 @@ a new set.

Redis|int|false
- hSet(string $key, string $member, mixed $value) + hSet(string $key, mixed ...$fields_and_vals) -

No description

-
+

Add or update one or more hash fields and values.

@@ -1086,7 +1711,7 @@ a new set.

Redis|bool
- hSetNx(string $key, string $field, string $value) + hSetNx(string $key, string $field, mixed $value)

Set a hash field and value, but only if that field does not exist

@@ -1110,16 +1735,126 @@ a new set.

Get all of the values from a hash.

+ +
+
+ Redis|array|false +
+
+ hexpire(string $key, int $ttl, array $fields, string|null $mode = NULL) + +

Set the expiration on one or more fields in a hash.

+
+
+
+
+ Redis|array|false +
+
+ hpexpire(string $key, int $ttl, array $fields, string|null $mode = NULL) + +

Set the expiration on one or more fields in a hash in milliseconds.

+
+
+
+
+ Redis|array|false +
+
+ hexpireat(string $key, int $time, array $fields, string|null $mode = NULL) + +

Set the expiration time on one or more fields of a hash.

+
+
+
+
+ Redis|array|false +
+
+ hpexpireat(string $key, int $mstime, array $fields, string|null $mode = NULL) + +

Set the expiration time on one or more fields of a hash in milliseconds.

+
+
+
+
+ Redis|array|false +
+
+ httl(string $key, array $fields) + +

Get the TTL of one or more fields in a hash

+
+
+
+
+ Redis|array|false +
+
+ hpttl(string $key, array $fields) + +

Get the millisecond TTL of one or more fields in a hash

+
+
+
+
+ Redis|array|false +
+
+ hexpiretime(string $key, array $fields) + +

Get the expiration time of one or more fields in a hash

+
+
+
+
+ Redis|array|false +
+
+ hpexpiretime(string $key, array $fields) + +

Get the expiration time in milliseconds of one or more fields in a hash

+
+
+
+
+ Redis|array|false +
+
+ hpersist(string $key, array $fields) + +

Persist one or more hash fields

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

Iterate over the fields and values of a hash in an incremental fashion.

+
+
+
+ Redis|int|false +
+
+ expiremember(string $key, string $field, int $ttl, string|null $unit = null) + +

Set an expiration on a key member (KeyDB only).

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

Set an expiration on a key membert to a specific unix timestamp (KeyDB only).

+
@@ -1176,7 +1911,7 @@ to that section.

- Redis|array|false + Redis|list<string>|false
keys(string $pattern) @@ -1215,6 +1950,17 @@ to that section.

Move an element from one list into another.

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

No description

+
+
@@ -1231,7 +1977,7 @@ to that section.

Redis|null|bool|int|array
- lPos(string $key, mixed $value, array $options = null) + lPos(string $key, mixed $value, array|null $options = null)

Retrieve the index of an element in a list.

@@ -1338,12 +2084,12 @@ to that section.

- Redis|array + Redis|array|false
mget(array $keys) -

Get one ore more string keys.

+

Get one or more string keys.

@@ -1351,7 +2097,7 @@ to that section.

Redis|bool
- migrate(string $host, int $port, string|array $key, int $dstdb, int $timeout, bool $copy = false, bool $replace = false, mixed $credentials = NULL) + migrate(string $host, int $port, string|array $key, int $dstdb, int $timeout, bool $copy = false, bool $replace = false, mixed $credentials = null)

No description

@@ -1374,7 +2120,7 @@ to that section.

mset(array $key_values) -

Set one ore more string keys.

+

Set one or more string keys.

@@ -1384,7 +2130,7 @@ to that section.

msetnx(array $key_values) -

Set one ore more string keys but only if none of the key exist.

+

Set one or more string keys but only if none of the key exist.

@@ -1413,7 +2159,7 @@ to that section.

bool
- open(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = NULL, int $retry_interval = 0, float $read_timeout = 0, array $context = NULL) + open(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null) deprecated

No description

@@ -1424,7 +2170,7 @@ to that section.

bool
- pconnect(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = NULL, int $retry_interval = 0, float $read_timeout = 0, array $context = NULL) + pconnect(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null)

No description

@@ -1445,7 +2191,7 @@ to that section.

bool
- pexpire(string $key, int $timeout, string|null $mode = NULL) + pexpire(string $key, int $timeout, string|null $mode = null)

Sets an expiration in milliseconds on a given key. If connected to Redis >= 7.0.0 you can pass an optional mode argument that modifies how the command will execute.

@@ -1456,7 +2202,7 @@ you can pass an optional mode argument that modifies how the command will execut Redis|bool
- pexpireAt(string $key, int $timestamp, string|null $mode = NULL) + pexpireAt(string $key, int $timestamp, string|null $mode = null)

Set a key's expiration to a specific Unix Timestamp in milliseconds. If connected to Redis >= 7.0.0 you can pass an optional 'mode' argument.

@@ -1474,10 +2220,10 @@ Redis >= 7.0.0 you can pass an optional 'mode' argument.

- Redis|int + Redis|int|false
- pfcount(string $key) + pfcount(array|string $key_or_keys)

Retrieve the cardinality of a Redis HyperLogLog key.

@@ -1497,7 +2243,7 @@ Redis >= 7.0.0 you can pass an optional 'mode' argument.

Redis|string|bool
- ping(string $message = NULL) + ping(string|null $message = null)

PING the redis server with an optional string argument.

@@ -1517,7 +2263,7 @@ Redis >= 7.0.0 you can pass an optional 'mode' argument.

bool
- popen(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = NULL, int $retry_interval = 0, float $read_timeout = 0, array $context = NULL) + popen(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null) deprecated

No description

@@ -1649,7 +2395,7 @@ Redis >= 7.0.0 you can pass an optional 'mode' argument.

Redis|bool
- restore(string $key, int $ttl, string $value, array|null $options = NULL) + restore(string $key, int $ttl, string $value, array|null $options = null)

Restore a key by the binary payload generated by the DUMP command.

@@ -1692,7 +2438,7 @@ another.

sAddArray(string $key, array $values) -

Add one ore more values to a Redis SET key. This is an alternative to Redis::sadd() but +

Add one or more values to a Redis SET key. This is an alternative to Redis::sadd() but instead of being variadic, takes a single array of values.

@@ -1793,7 +2539,7 @@ destination set if it does not currently exist.

- Redis|string|array|false + mixed
sRandMember(string $key, int $count = 0) @@ -1837,7 +2583,7 @@ completed. For a nonblocking alternative, see Redis::bgsave().

array|false
- scan(int|null $iterator, string|null $pattern = null, int $count = 0, string $type = NULL) + scan(null|int|string $iterator, string|null $pattern = null, int $count = 0, string|null $type = null)

Incrementally scan the Redis keyspace, with optional pattern and type matching.

@@ -1877,7 +2623,7 @@ completed. For a nonblocking alternative, see Redis::bgsave().

Redis|string|bool
- set(string $key, mixed $value, mixed $options = NULL) + set(string $key, mixed $value, mixed $options = null)

Create or set a Redis STRING key to a value.

@@ -1947,7 +2693,7 @@ completed. For a nonblocking alternative, see Redis::bgsave().

Redis|bool
- slaveof(string $host = NULL, int $port = 6379) + slaveof(string|null $host = null, int $port = 6379) deprecated

Turn a redis instance into a replica of another or promote a replica to a primary.

@@ -1958,7 +2704,7 @@ to a primary.

Redis|bool
- replicaof(string $host = NULL, int $port = 6379) + replicaof(string|null $host = null, int $port = 6379)

Used to turn a Redis instance into a replica of another, or to remove replica status promoting the instance to a primary.

@@ -2064,10 +2810,20 @@ on the value of 'operation'.

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

Scan the members of a redis SET key.

+ +
+
+ bool +
+
+ ssubscribe(array $channels, callable $cb) + +

Subscribes the client to the specified shard channels.

+
@@ -2088,6 +2844,17 @@ on the value of 'operation'.

Subscribe to one or more Redis pubsub channels.

+ +
+
+ Redis|array|bool +
+
+ sunsubscribe(array $channels) + +

Unsubscribes the client from the given shard channels, +or from all of them if none is given.

+
@@ -2190,7 +2957,7 @@ receiving them.

xack(string $key, string $group, array $ids) -

Acknowledge one ore more messages that are pending (have been consumed using XREADGROUP but +

Acknowledge one or more messages that are pending (have been consumed using XREADGROUP but not yet acknowledged by XACK.)

@@ -2240,7 +3007,7 @@ command that does much the same thing but does not require passing specific IDs mixed
- xgroup(string $operation, string $key = null, string $group = null, string $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2) + xgroup(string $operation, string|null $key = null, string|null $group = null, string|null $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2)

XGROUP

@@ -2315,6 +3082,136 @@ acknowledged with XACK.

Get a range of entries from a STREAM key in reverse chronological order.

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

Add to a vector set

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

Query similarity of a vector by element or scores

+
+
+
+
+ Redis|int|false +
+
+ vcard(string $key) + +

Get the length of a vector set

+
+
+
+
+ Redis|int|false +
+
+ vdim(string $key) + +

Get the dimensions of a vector set

+
+
+
+
+ Redis|array|false +
+
+ vinfo(string $key) + +

Get various bits of information about a vector set

+
+
+
+
+ Redis|bool +
+
+ vismember(string $key, mixed $member) + +

Check if an element is a member of a vectorset

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

Get the embeddings for a specific member

+
+
+
+
+ Redis|array|string|false +
+
+ vrandmember(string $key, int $count = 0) + +

Get one or more random members from a vector set

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

Retreive a lexographical range of elements from a vector set

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

Remove an element from a vector set

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

Set the attributes of a vector set element

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

Get the attributes of a vector set element

+
+
+
+
+ Redis|array|false +
+
+ vlinks(string $key, mixed $member, bool $withscores = false) + +

Get any adajcent values for a member of a vector set.

+
@@ -2328,7 +3225,7 @@ acknowledged with XACK.

- Redis|int|false + Redis|int|float|false
zAdd(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems) @@ -2351,7 +3248,7 @@ acknowledged with XACK.

Redis|int|false
- zCount(string $key, string $start, string $end) + zCount(string $key, int|string $start, int|string $end)

Count the number of members in a sorted set with scores inside a provided range.

@@ -2392,7 +3289,7 @@ lexographical range.

Redis|array|false
- zPopMax(string $key, int $count = null) + zPopMax(string $key, int|null $count = null)

Pop one or more of the highest scoring elements from a sorted set.

@@ -2402,7 +3299,7 @@ lexographical range.

Redis|array|false
- zPopMin(string $key, int $count = null) + zPopMin(string $key, int|null $count = null)

Pop one or more of the lowest scoring elements from a sorted set.

@@ -2412,7 +3309,7 @@ lexographical range.

Redis|array|false
- zRange(string $key, mixed $start, mixed $end, array|bool|null $options = null) + zRange(string $key, string|int $start, string|int $end, array|bool|null $options = null)

Retrieve a range of elements of a sorted set between a start and end point.

@@ -2442,7 +3339,7 @@ lexographical range.

Redis|int|false
- zrangestore(string $dstkey, string $srckey, string $start, string $end, array|bool|null $options = NULL) + zrangestore(string $dstkey, string $srckey, string $start, string $end, array|bool|null $options = null)

This command is similar to ZRANGE except that instead of returning the values directly it will store them in a destination key provided by the user

@@ -2453,7 +3350,7 @@ it will store them in a destination key provided by the user

Redis|string|array
- zRandMember(string $key, array $options = null) + zRandMember(string $key, array|null $options = null)

Retrieve one or more random members from a Redis sorted set.

@@ -2563,7 +3460,7 @@ it will store them in a destination key provided by the user

Redis|array|false
- zdiff(array $keys, array $options = null) + zdiff(array $keys, array|null $options = null)

Given one or more sorted set key names, return every element that is in the first set but not any of the others.

@@ -2607,7 +3504,7 @@ cardinality of the intersected set.

zinterstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null) -

Compute the intersection of one ore more sorted sets storing the result in a new sorted set.

+

Compute the intersection of one or more sorted sets storing the result in a new sorted set.

@@ -2615,7 +3512,7 @@ cardinality of the intersected set.

Redis|array|false
- zscan(string $key, int|null $iterator, string|null $pattern = null, int $count = 0) + zscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)

Scan the members of a sorted set incrementally, using a cursor

@@ -2635,10 +3532,20 @@ cardinality of the intersected set.

Redis|int|false
- zunionstore(string $dst, array $keys, array|null $weights = NULL, string|null $aggregate = NULL) + zunionstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)

Perform a union on one or more Redis sets and store the result in a destination sorted set.

+ +
+
+ Redis|string|false +
+
+ digest(string $key) + +

Ask the server for the XXH3 digest of a given key's value

+
@@ -2648,9 +3555,9 @@ cardinality of the intersected set.

- + Redis - __construct(array $options = null) + __construct(array|null $options = null)

@@ -2706,7 +3613,7 @@ host on Redis' default port (6379).

- + @@ -2749,7 +3656,7 @@ Redis::connect

- + __destruct() @@ -2773,7 +3680,7 @@ Redis::connect

- + string _compress(string $value) @@ -2783,8 +3690,8 @@ Redis::connect
-

Compress a value with the currently configured compressor as set with -Redis::setOption().

+

Compress a value with the currently configured compressor (Redis::OPT_COMPRESSION) +exactly the same way PhpRedis does before sending data to Redis.

Parameters

@@ -2803,7 +3710,7 @@ Redis::setOption().

arrayarray|null $options
- +
string

The compressed result

The compressed result (or the original value if compression is disabled)

@@ -2828,7 +3735,7 @@ Redis::setOption

- + string _uncompress(string $value) @@ -2838,8 +3745,8 @@ Redis::setOption
-

Uncompress the provided argument that has been compressed with the -currently configured compressor as set with Redis::setOption().

+

Uncompress the provided argument using the compressor configured via +Redis::setOption() (Redis::OPT_COMPRESSION).

Parameters

@@ -2883,7 +3790,7 @@ Redis::setOption

- + string _prefix(string $key) @@ -2926,7 +3833,7 @@ with Redis::setOption().

- + string _serialize(mixed $value) @@ -2981,7 +3888,7 @@ Redis::setOption

- + mixed _unserialize(string $value) @@ -3036,7 +3943,7 @@ Redis::setOption

- + string _pack(mixed $value) @@ -3046,8 +3953,9 @@ Redis::setOption
-

Pack the provided value with the configured serializer and compressor -as set with Redis::setOption().

+

Pack the provided value by first serializing it (if Redis::OPT_SERIALIZER is set) +and then compressing the serialized payload (if Redis::OPT_COMPRESSION is set), +mirroring exactly what PhpRedis transmits to Redis.

Parameters

@@ -3074,13 +3982,65 @@ compressed.

+
+

+ +

+
+

+ + string + _digest(mixed $value) + +

+
+ + + +
+

Compute the XXH3 digest of a PHP value after it has been _packed, producing +the same digest Redis' DIGEST command would return for the stored value.

+
+
+

Parameters

+ + + + + + + +
mixed$value

The value to compute the digest for.

+ + +

Return Value

+ + + + + + +
string

The computed digest.

+ + +

Exceptions

+ + + + + + +
RedisException
+ + +

- + mixed _unpack(string $value) @@ -3090,8 +4050,9 @@ compressed.

-

Unpack the provided value with the configured compressor and serializer -as set with Redis::setOption().

+

Unpack the provided value by first uncompressing it (if Redis::OPT_COMPRESSION +is set) and then unserializing it (if Redis::OPT_SERIALIZER is set) to recover +the original PHP value.

Parameters

@@ -3110,7 +4071,7 @@ as set with Redis::setOption().

- +
mixed

The uncompressed and eserialized value.

The uncompressed and deserialized value.

@@ -3123,7 +4084,7 @@ as set with Redis::setOption().

- + mixed acl(string $subcmd, string ...$args) @@ -3171,7 +4132,7 @@ as set with Redis::setOption().

- + Redis|int|false append(string $key, mixed $value) @@ -3227,7 +4188,7 @@ as set with Redis::setOption().

-
$redis->set('foo', 'hello);
+
$redis->set('foo', 'hello);
 $redis->append('foo', 'world');
@@ -3238,7 +4199,7 @@ $redis->append('foo', 'world');

- + Redis|bool auth(mixed $credentials) @@ -3293,7 +4254,7 @@ $redis->auth(['username', 'password']);

- + Redis|bool bgSave() @@ -3336,7 +4297,7 @@ $redis->auth(['username', 'password']);

- + Redis|bool bgrewriteaof() @@ -3376,10 +4337,74 @@ $redis->auth(['username', 'password']);

+
+
+

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

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
int$numlocal
int$numreplicas
int$timeout
+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/waitaof +
+ + +
+
+

- + Redis|int|false bitcount(string $key, int $start = 0, int $end = -1, bool $bybit = false) @@ -3450,7 +4475,7 @@ positions, rather than bytes.

- + Redis|int|false bitop(string $operation, string $deskey, string $srckey, string ...$other_keys) @@ -3508,7 +4533,7 @@ positions, rather than bytes.

- + Redis|int|false bitpos(string $key, bool $bit, int $start = 0, int $end = -1, bool $bybit = false) @@ -3582,7 +4607,7 @@ was 0 and end was 2, Redis would only search the first two bits.

- + Redis|array|null|false blPop(string|array $key_or_keys, string|float|int $timeout_or_key, mixed ...$extra_args) @@ -3647,7 +4672,7 @@ the command.

-
$redis->blPop('list1', 'list2', 'list3', 1.5);
+
$redis->blPop('list1', 'list2', 'list3', 1.5);
 $relay->blPop(['list1', 'list2', 'list3'], 1.5);
@@ -3658,7 +4683,7 @@ $relay->blPop(['list1', 'list2', 'list3'], 1.5)

- + Redis|array|null|false brPop(string|array $key_or_keys, string|float|int $timeout_or_key, mixed ...$extra_args) @@ -3728,7 +4753,7 @@ Redis::blPop

- + Redis|string|false brpoplpush(string $src, string $dst, int|float $timeout) @@ -3793,7 +4818,7 @@ to Redis >= 6.0.0 to send a floating point timeout.

- + Redis|array|false bzPopMax(string|array $key, string|int $timeout_or_key, mixed ...$extra_args) @@ -3815,7 +4840,7 @@ may be deprecated in future versions of PhpRedis

string|array $key - +

Either a string key or an array of one or more keys.

string|int @@ -3860,7 +4885,7 @@ which needs to be a timeout.

-
$redis->bzPopMax('key1', 'key2', 'key3', 1.5);
+
$redis->bzPopMax('key1', 'key2', 'key3', 1.5);
 $redis->bzPopMax(['key1', 'key2', 'key3'], 1.5);
@@ -3871,7 +4896,7 @@ $redis->bzPopMax(['key1', 'key2', 'key3'], 1.5)

- + Redis|array|false bzPopMin(string|array $key, string|int $timeout_or_key, mixed ...$extra_args) @@ -3942,7 +4967,7 @@ Redis::bzPopMax

- + Redis|array|null|false bzmpop(float $timeout, array $keys, string $from, int $count = 1) @@ -4005,7 +5030,7 @@ instead return NULL when Redis doesn't pop any elements.

- + Redis|array|null|false zmpop(array $keys, string $from, int $count = 1) @@ -4069,7 +5094,7 @@ pop the lowest or highest scoring elements.

- + Redis|array|null|false blmpop(float $timeout, array $keys, string $from, int $count = 1) @@ -4140,7 +5165,7 @@ were empty.

- + Redis|array|null|false lmpop(array $keys, string $from, int $count = 1) @@ -4205,7 +5230,7 @@ were empty.

- + bool clearLastError() @@ -4247,11 +5272,11 @@ Redis::getLastError -
$redis = new Redis(['host' => 'localhost']);
-$redis->set('string', 'this_is_a_string');
-$redis->smembers('string');
-var_dump($redis->getLastError());
-$redis->clearLastError();
+
$redis = new Redis(['host' => 'localhost']);
+$redis->set('string', 'this_is_a_string');
+$redis->smembers('string');
+var_dump($redis->getLastError());
+$redis->clearLastError();
 var_dump($redis->getLastError());
@@ -4262,7 +5287,7 @@ var_dump($redis->getLastError());

- + mixed client(string $opt, mixed ...$args) @@ -4310,7 +5335,7 @@ var_dump($redis->getLastError());

- + bool close() @@ -4343,9 +5368,9 @@ var_dump($redis->getLastError());

- + mixed - command(string $opt = null, string|array $arg) + command(string|null $opt = null, mixed ...$args)

@@ -4361,13 +5386,13 @@ var_dump($redis->getLastError()); - + - - + +
stringstring|null $opt
string|array$argmixed...$args
@@ -4391,9 +5416,9 @@ var_dump($redis->getLastError());

- + mixed - config(string $operation, array|string|null $key_or_settings = NULL, string|null $value = NULL) + config(string $operation, array|string|null $key_or_settings = null, string|null $value = null)

@@ -4453,9 +5478,9 @@ Operations that PhpRedis supports are: RESETSTAT, REWRITE, GET, and SET.

-
$redis->config('GET', 'timeout');
-$redis->config('GET', ['timeout', 'databases']);
-$redis->config('SET', 'timeout', 30);
+
$redis->config('GET', 'timeout');
+$redis->config('GET', ['timeout', 'databases']);
+$redis->config('SET', 'timeout', 30);
 $redis->config('SET', ['timeout' => 30, 'loglevel' => 'warning']);
@@ -4466,9 +5491,9 @@ $redis->config('SET', ['timeout' => 30, 'loglevel

- + bool - connect(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array $context = null) + connect(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null)

@@ -4499,7 +5524,7 @@ $redis->config('SET', ['timeout' => 30, 'loglevel - string + string|null $persistent_id @@ -4514,7 +5539,7 @@ $redis->config('SET', ['timeout' => 30, 'loglevel - array + array|null $context @@ -4539,9 +5564,9 @@ $redis->config('SET', ['timeout' => 30, 'loglevel

- + Redis|bool - copy(string $src, string $dst, array $options = null) + copy(string $src, string $dst, array|null $options = null)

@@ -4566,7 +5591,7 @@ $redis->config('SET', ['timeout' => 30, 'loglevel

The name of the new key created from the source key.

- array + array|null $options

An array with modifiers on how COPY should operate.

$options = [
@@ -4604,17 +5629,17 @@ $redis->config('SET', ['timeout' => 30, 'loglevel
 
                     
-                
$redis->pipeline()
- ->select(1)
- ->del('newkey')
- ->select(0)
- ->del('newkey')
- ->mset(['source1' => 'value1', 'exists' => 'old_value'])
- ->exec();
-
-var_dump($redis->copy('source1', 'newkey'));
-var_dump($redis->copy('source1', 'newkey', ['db' => 1]));
-var_dump($redis->copy('source1', 'exists'));
+
$redis->pipeline()
+      ->select(1)
+      ->del('newkey')
+      ->select(0)
+      ->del('newkey')
+      ->mset(['source1' => 'value1', 'exists' => 'old_value'])
+      ->exec();
+
+var_dump($redis->copy('source1', 'newkey'));
+var_dump($redis->copy('source1', 'newkey', ['db' => 1]));
+var_dump($redis->copy('source1', 'exists'));
 var_dump($redis->copy('source1', 'exists', ['REPLACE' => true]));
@@ -4625,7 +5650,7 @@ var_dump($redis->copy('source1', 'exists', ['REPLACE

- + Redis|int|false dbSize() @@ -4666,11 +5691,11 @@ var_dump($redis->copy('source1', 'exists', ['REPLACE -
$redis = new Redis(['host' => 'localhost']);
-$redis->flushdb();
-$redis->set('foo', 'bar');
-var_dump($redis->dbsize());
-$redis->mset(['a' => 'a', 'b' => 'b', 'c' => 'c', 'd' => 'd']);
+
$redis = new Redis(['host' => 'localhost']);
+$redis->flushdb();
+$redis->set('foo', 'bar');
+var_dump($redis->dbsize());
+$redis->mset(['a' => 'a', 'b' => 'b', 'c' => 'c', 'd' => 'd']);
 var_dump($redis->dbsize());
@@ -4681,7 +5706,7 @@ var_dump($redis->dbsize());

- + Redis|string debug(string $key) @@ -4724,7 +5749,7 @@ var_dump($redis->dbsize());

- + Redis|int|false decr(string $key, int $by = 1) @@ -4802,7 +5827,7 @@ PhpRedis will actually send the DECRBY command.

- + Redis|int|false decrBy(string $key, int $value) @@ -4871,7 +5896,7 @@ PhpRedis will actually send the DECRBY command.

- + Redis|int|false del(array|string $key, string ...$other_keys) @@ -4892,7 +5917,8 @@ below for an example of both strategies.

array|string $key - +

Either an array with one or more key names or a string with +the name of a key.

string @@ -4936,13 +5962,108 @@ below for an example of both strategies.

+

+
+ +
+
+

+ + Redis|int|false + delex(string $key, array|null $options = null) + +

+
+ + + +
+

Delete a key conditionally based on its value or hash digest

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The key to delete

array|null$options

An array with options to modify how DELX works.

+ + +

Return Value

+ + + + + + +
Redis|int|false

Returns 1 if the key was deleted, 0 if it was not.

+ + + + +
+
+ +
+
+

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

+
+ + + +
+

Delete a key if it's equal to the specified value. This command is +specific to Valkey >= 9.0

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The key to delete

mixed$value

The value to compare against the key's value.

+ + +

Return Value

+ + + + + + +
Redis|int|false

Returns 1 if the key was deleted, 0 if it was not.

+ + + +

- + Redis|int|false delete(array|string $key, string ...$other_keys) deprecated @@ -4997,7 +6118,7 @@ below for an example of both strategies.

- + Redis|bool discard() @@ -5027,9 +6148,9 @@ below for an example of both strategies.

-
$redis->getMode();
-$redis->set('foo', 'bar');
-$redis->discard();
+
$redis->getMode();
+$redis->set('foo', 'bar');
+$redis->discard();
 $redis->getMode();
@@ -5040,8 +6161,8 @@ $redis->getMode();

- - Redis|string + + Redis|string|false dump(string $key)

@@ -5050,8 +6171,7 @@ $redis->getMode();
-

Dump Redis' internal binary representation of a key.

$redis->zRange('new-zset', 0, -1, true);

-

+

Dump Redis' internal binary representation of a key.

$redis->zRange('new-zset', 0, -1, true);

Parameters

@@ -5069,7 +6189,7 @@ $redis->getMode(); - +
Redis|stringRedis|string|false

A binary string representing the key's value.

@@ -5092,8 +6212,8 @@ $redis->getMode(); -
$redis->zadd('zset', 0, 'zero', 1, 'one', 2, 'two');
-$binary = $redis->dump('zset');
+
$redis->zadd('zset', 0, 'zero', 1, 'one', 2, 'two');
+$binary = $redis->dump('zset');
 $redis->restore('new-zset', 0, $binary);
@@ -5104,7 +6224,7 @@ $redis->restore('new-zset', 0, $binary);

- + Redis|string|false echo(string $str) @@ -5165,7 +6285,7 @@ $redis->restore('new-zset', 0, $binary);

- + mixed eval(string $script, array $args = [], int $num_keys = 0) @@ -5231,7 +6351,7 @@ strings, arrays, nested arrays, etc.

- + mixed eval_ro(string $script_sha, array $args = [], int $num_keys = 0) @@ -5296,7 +6416,7 @@ Redis::eval_ro

- + mixed evalsha(string $sha1, array $args = [], int $num_keys = 0) @@ -5316,7 +6436,10 @@ the SHA1 hash of the script.

string $sha1 - +

The SHA1 hash of the lua code. Note that the script +must already exist on the server, either having been +loaded with SCRIPT LOAD or having been executed directly +with EVAL first.

array @@ -5367,7 +6490,7 @@ Redis::eval

- + mixed evalsha_ro(string $sha1, array $args = [], int $num_keys = 0) @@ -5432,7 +6555,7 @@ Redis::evalsha

- + Redis|array|false exec() @@ -5493,11 +6616,11 @@ Redis::multi -
$res = $redis->multi()
-->set('foo', 'bar')
-->get('foo')
-->del('list')
-->rpush('list', 'one', 'two', 'three')
+
$res = $redis->multi()
+->set('foo', 'bar')
+->get('foo')
+->del('list')
+->rpush('list', 'one', 'two', 'three')
 ->exec();
@@ -5508,7 +6631,7 @@ Redis::multi

- + Redis|int|bool exists(mixed $key, mixed ...$other_keys) @@ -5578,9 +6701,9 @@ additional keys to test.

- + Redis|bool - expire(string $key, int $timeout, string|null $mode = NULL) + expire(string $key, int $timeout, string|null $mode = null)

@@ -5604,7 +6727,7 @@ modifies how the command will execute.

int $timeout - +

The number of seconds after which key will be automatically deleted.

string|null @@ -5648,9 +6771,9 @@ GT - Set expiry only when new expiry is > current expiry

- + Redis|bool - expireAt(string $key, int $timestamp, string|null $mode = NULL) + expireAt(string $key, int $timestamp, string|null $mode = null)

@@ -5724,7 +6847,7 @@ Redis::expire

- + Redis|bool failover(array|null $to = null, bool $abort = false, int $timeout = 0) @@ -5777,7 +6900,7 @@ Redis::expire

- + Redis|int|false expiretime(string $key) @@ -5829,7 +6952,7 @@ and -2 if the key doesn't exist.

-
$redis->setEx('mykey', 60, 'myval');
+
$redis->setEx('mykey', 60, 'myval');
 $redis->expiretime('mykey');
@@ -5840,7 +6963,7 @@ $redis->expiretime('mykey');

- + Redis|int|false pexpiretime(string $key) @@ -5898,10 +7021,138 @@ Redis::expiretime

+
+
+

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

+
+ + + +
+

Invoke a function.

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$fn

The name of the function

array$keys

Optional list of keys

array$args

Optional list of args

+ + +

Return Value

+ + + + + + +
mixed

Function may return arbitrary data so this method can return +strings, arrays, nested arrays, etc.

+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/fcall +
+ + +
+
+ +
+
+

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

+
+ + + +
+

This is a read-only variant of the FCALL command that cannot execute commands that modify data.

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$fn

The name of the function

array$keys

Optional list of keys

array$args

Optional list of args

+ + +

Return Value

+ + + + + + +
mixed

Function may return arbitrary data so this method can return +strings, arrays, nested arrays, etc.

+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/fcall_ro +
+ + +
+
+

- + Redis|bool flushAll(bool|null $sync = null) @@ -5954,7 +7205,7 @@ Redis::expiretime

- + Redis|bool flushDB(bool|null $sync = null) @@ -6004,10 +7255,76 @@ Redis::expiretime

+
+
+

+ + Redis|bool|string|array + function(string $operation, mixed ...$args) + +

+
+ + + +
+

Functions is an API for managing code to be executed on the server.

+
+
+

Parameters

+ + + + + + + + + + + + +
string$operation

The subcommand you intend to execute. Valid options are as follows +'LOAD' - Create a new library with the given library name and code. +'DELETE' - Delete the given library. +'LIST' - Return general information on all the libraries +'STATS' - Return information about the current function running +'KILL' - Kill the current running function +'FLUSH' - Delete all the libraries +'DUMP' - Return a serialized payload representing the current libraries +'RESTORE' - Restore the libraries represented by the given payload

mixed...$args

Additional arguments

+ + +

Return Value

+ + + + + + +
Redis|bool|string|array

Depends on subcommand.

+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/function +
+ + +
+
+

- + Redis|int|false geoadd(string $key, float $lng, float $lat, string $member, mixed ...$other_triples_and_options) @@ -6094,7 +7411,7 @@ the return value is the number of members changed.

- + Redis|float|false geodist(string $key, string $src, string $dst, string|null $unit = null) @@ -6175,7 +7492,7 @@ if one or both members did not exist.

- + Redis|array|false geohash(string $key, string $member, string ...$other_members) @@ -6252,7 +7569,7 @@ if one or both members did not exist.

- + Redis|array|false geopos(string $key, string $member, string ...$other_members) @@ -6291,7 +7608,7 @@ if one or both members did not exist.

- +
Redis|array|false

array of longitude and latitude pairs.

An array of longitude and latitude pairs.

@@ -6323,7 +7640,7 @@ if one or both members did not exist.

- + mixed georadius(string $key, float $lng, float $lat, float $radius, string $unit, array $options = []) @@ -6426,7 +7743,7 @@ See Redis::geodist for possible units.

- + mixed georadius_ro(string $key, float $lng, float $lat, float $radius, string $unit, array $options = []) @@ -6504,7 +7821,7 @@ See Redis::geodist for possible units.

- + mixed georadiusbymember(string $key, string $member, float $radius, string $unit, array $options = []) @@ -6576,7 +7893,7 @@ See Redis::georadius for options.

<

- + mixed georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = []) @@ -6638,7 +7955,7 @@ See Redis::georadius for options.

<

- + array geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = []) @@ -6704,7 +8021,7 @@ options are not allowed for this command.

- + Redis|array|int|false geosearchstore(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = []) @@ -6782,7 +8099,7 @@ to search.

- + mixed get(string $key) @@ -6840,10 +8157,60 @@ to search.

+

+
+

+ + Redis|array|false + getWithMeta(string $key) + +

+
+ + + +
+

Retrieve a value and metadata of key.

+
+
+

Parameters

+ + + + + + + +
string$key

The key to query

+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + + +

Examples

+ + + + + +
$redis->getWithMeta('foo');
+ +
+
+

- + mixed getAuth() @@ -6887,7 +8254,7 @@ Redis::auth

- + Redis|int|false getBit(string $key, int $idx) @@ -6953,7 +8320,7 @@ Redis::auth

- + Redis|string|bool getEx(string $key, array $options = []) @@ -7005,7 +8372,7 @@ Redis::auth @@ -7026,7 +8393,7 @@ Redis::auth

- + int getDBNum() @@ -7045,7 +8412,7 @@ Redis::auth

- https://redis.io/comands/getex + https://redis.io/commands/getex
- +
int

database we're connected to.

The database we're connected to.

@@ -7076,7 +8443,7 @@ Redis::select

- + Redis|string|bool getDel(string $key) @@ -7137,7 +8504,7 @@ Redis::select

- + string getHost() @@ -7169,7 +8536,7 @@ Redis::select

- + string|null getLastError() @@ -7201,7 +8568,7 @@ Redis::select

- + int getMode() @@ -7233,7 +8600,7 @@ Redis::select

- + mixed getOption(int $option) @@ -7287,7 +8654,7 @@ Redis::setOption

- + string|null getPersistentID() @@ -7319,7 +8686,7 @@ Redis::setOption

- + int getPort() @@ -7345,13 +8712,77 @@ Redis::setOption +

+
+ +
+
+

+ + string|false + serverName() + +

+
+ + + +
+

Get the server name as reported by the HELLO response.

+
+
+ +

Return Value

+ + + + + + +
string|false
+ + + + +
+
+ +
+
+

+ + string|false + serverVersion() + +

+
+ + + +
+

Get the server version as reported by the HELLO response.

+
+
+ +

Return Value

+ + + + + + +
string|false
+ + + +

- + Redis|string|false getRange(string $key, int $start, int $end) @@ -7412,7 +8843,7 @@ Redis::setOption -
$redis->set('silly-word', 'Supercalifragilisticexpialidocious');
+
$redis->set('silly-word', 'Supercalifragilisticexpialidocious');
 echo $redis->getRange('silly-word', 0, 4) . "\n";
@@ -7423,9 +8854,9 @@ echo $redis->getRange('silly-word', 0, 4) . "\n";

- + Redis|string|array|int|false - lcs(string $key1, string $key2, array|null $options = NULL) + lcs(string $key1, string $key2, array|null $options = null)

@@ -7495,8 +8926,8 @@ echo $redis->getRange('silly-word', 0, 4) . "\n"; -
$redis->set('seq1', 'gtaggcccgcacggtctttaatgtatccctgtttaccatgccatacctgagcgcatacgc');
-$redis->set('seq2', 'aactcggcgcgagtaccaggccaaggtcgttccagagcaaagactcgtgccccgctgagc');
+
$redis->set('seq1', 'gtaggcccgcacggtctttaatgtatccctgtttaccatgccatacctgagcgcatacgc');
+$redis->set('seq2', 'aactcggcgcgagtaccaggccaaggtcgttccagagcaaagactcgtgccccgctgagc');
 echo $redis->lcs('seq1', 'seq2') . "\n";
@@ -7507,7 +8938,7 @@ echo $redis->lcs('seq1', 'seq2') . "\n";
<

- + float getReadTimeout() @@ -7539,7 +8970,7 @@ echo $redis->lcs('seq1', 'seq2') . "\n";<

- + Redis|string|false getset(string $key, mixed $value) @@ -7595,7 +9026,7 @@ echo $redis->lcs('seq1', 'seq2') . "\n";< -
$redis->getset('captain', 'Pike');
+
$redis->getset('captain', 'Pike');
 $redis->getset('captain', 'Kirk');
@@ -7606,7 +9037,7 @@ $redis->getset('captain', 'Kirk');

- + float|false getTimeout() @@ -7638,8 +9069,8 @@ $redis->getset('captain', 'Kirk');

- - int|false + + array getTransferredBytes()

@@ -7648,8 +9079,7 @@ $redis->getset('captain', 'Kirk');
-

No description

- +

Get the number of bytes sent and received on the socket.

@@ -7657,7 +9087,39 @@ $redis->getset('captain', 'Kirk'); - + + + +
int|falsearray

An array in the form [$sent_bytes, $received_bytes]

+ + + + +
+
+ +
+
+

+ + void + clearTransferredBytes() + +

+
+ + + +
+

Reset the number of bytes sent and received on the socket.

+
+
+ +

Return Value

+ + + +
void
@@ -7671,7 +9133,7 @@ $redis->getset('captain', 'Kirk');

- + Redis|int|false hDel(string $key, string $field, string ...$other_fields) @@ -7742,7 +9204,7 @@ $redis->getset('captain', 'Kirk');

- + Redis|bool hExists(string $key, string $field) @@ -7808,7 +9270,7 @@ $redis->getset('captain', 'Kirk');

- + mixed hGet(string $key, string $member) @@ -7856,7 +9318,7 @@ $redis->getset('captain', 'Kirk');

- + Redis|array|false hGetAll(string $key) @@ -7914,10 +9376,65 @@ $redis->getset('captain', 'Kirk');

+
+
+

+ + mixed + hGetWithMeta(string $key, string $member) + +

+
+ + + +
+

Retrieve a value and metadata of hash field.

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The key to query

string$member

The key to query

+ + +

Return Value

+ + + + + + +
mixed
+ + + + +

Examples

+ + + + + +
$redis->hgetWithMeta('foo', 'field');
+ +
+
+

- + Redis|int|false hIncrBy(string $key, string $field, int $value) @@ -7978,7 +9495,7 @@ $redis->getset('captain', 'Kirk'); -
$redis->hMSet('player:1', ['name' => 'Alice', 'score' => 0]);
+
$redis->hMSet('player:1', ['name' => 'Alice', 'score' => 0]);
 $redis->hincrby('player:1', 'score', 10);
@@ -7989,7 +9506,7 @@ $redis->hincrby('player:1', 'score', 10);

- + Redis|float|false hIncrByFloat(string $key, string $field, float $value) @@ -8060,7 +9577,7 @@ $redis->hincrby('player:1', 'score', 10);

- + Redis|array|false hKeys(string $key) @@ -8121,7 +9638,7 @@ $redis->hincrby('player:1', 'score', 10);

- + Redis|int|false hLen(string $key) @@ -8182,7 +9699,7 @@ $redis->hincrby('player:1', 'score', 10);

- + Redis|array|false hMget(string $key, array $fields) @@ -8242,13 +9759,165 @@ $redis->hincrby('player:1', 'score', 10); +

+

+ + +
+

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

+
+ + + +
+

Get one or more fields of a hash while optionally setting expiration +information

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key

The hash to query.

array$fields

One or more fields to query in the hash.

string|array|null$expiry

Info about the expiration

+ + +

Return Value

+ + + + + + +
Redis|array|false

The fields and values or false if the key didn't exist.

+ + + + +
+
+ +
+
+

+ + Redis|int|false + hsetex(string $key, array $fields, array|null $expiry = null) + +

+
+ + + +
+

Set one or more fields in a hash with optional expiration information.

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key

The hash to create/update.

array$fields

An array with fields values.

array|null$expiry

Info about the expiration

+ + +

Return Value

+ + + + + + +
Redis|int|false

One if fields were set zero if not.

+ + + + +
+
+ +
+
+

+ + Redis|array|false + hgetdel(string $key, array $fields) + +

+
+ + + +
+

Get one or more fields and delete them

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The hash in question

array$fields

One or more fields

+ + +

Return Value

+ + + + + + +
Redis|array|false

The field and values or false on failure

+ + + +

- + Redis|bool hMset(string $key, array $fieldvals) @@ -8314,9 +9983,9 @@ $redis->hincrby('player:1', 'score', 10);

- - Redis|string|array - hRandField(string $key, array $options = null) + + Redis|string|array|false + hRandField(string $key, array|null $options = null)

@@ -8336,7 +10005,7 @@ $redis->hincrby('player:1', 'score', 10);

The hash to query.

- array + array|null $options

An array of options to modify how the command behaves.

$options = [
@@ -8351,7 +10020,7 @@ $redis->hincrby('player:1', 'score', 10);
- +
Redis|string|arrayRedis|string|array|false

One or more random fields (and possibly values).

@@ -8387,9 +10056,9 @@ $redis->hincrby('player:1', 'score', 10);

- + Redis|int|false - hSet(string $key, string $member, mixed $value) + hSet(string $key, mixed ...$fields_and_vals)

@@ -8397,8 +10066,7 @@ $redis->hincrby('player:1', 'score', 10);
-

No description

- +

Add or update one or more hash fields and values.

Parameters

@@ -8407,17 +10075,13 @@ $redis->hincrby('player:1', 'score', 10); string $key - - - - string - $member - +

The hash to create/update.

mixed - $value - + ...$fields_and_vals +

Argument pairs of fields and values. Alternatively, an associative array with the +fields and their values.

@@ -8427,22 +10091,44 @@ $redis->hincrby('player:1', 'score', 10); - +
Redis|int|false

The number of fields that were added, or false on failure.

+

See also

+ + + + + + +
+ https://redis.io/commands/hset/ +
+ +

Examples

+ + + + + + + + +
$redis->hSet('player:1', 'name', 'Kim', 'score', 78);
$redis->hSet('player:1', ['name' => 'Kim', 'score' => 78]);
+

- + Redis|bool - hSetNx(string $key, string $field, string $value) + hSetNx(string $key, string $field, mixed $value)

@@ -8467,7 +10153,7 @@ $redis->hincrby('player:1', 'score', 10);

The value to set.

- string + mixed $value @@ -8501,7 +10187,7 @@ $redis->hincrby('player:1', 'score', 10); -
$redis->hsetnx('player:1', 'lock', 'enabled');
+
$redis->hsetnx('player:1', 'lock', 'enabled');
 $redis->hsetnx('player:1', 'lock', 'enabled');
@@ -8512,7 +10198,7 @@ $redis->hsetnx('player:1', 'lock', 'enabled');<

- + Redis|int|false hStrLen(string $key, string $field) @@ -8568,9 +10254,9 @@ $redis->hsetnx('player:1', 'lock', 'enabled');< -
$redis = new Redis(['host' => 'localhost']);
-$redis->del('hash');
-$redis->hmset('hash', ['50bytes' => str_repeat('a', 50)]);
+
$redis = new Redis(['host' => 'localhost']);
+$redis->del('hash');
+$redis->hmset('hash', ['50bytes' => str_repeat('a', 50)]);
 $redis->hstrlen('hash', '50bytes');
@@ -8581,7 +10267,7 @@ $redis->hstrlen('hash', '50bytes');

- + Redis|array|false hVals(string $key) @@ -8639,12 +10325,574 @@ $redis->hstrlen('hash', '50bytes');

+
+
+

+ + Redis|array|false + hexpire(string $key, int $ttl, array $fields, string|null $mode = NULL) + +

+
+ + + +
+

Set the expiration on one or more fields in a hash.

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key

The hash to update.

int$ttl

The time to live in seconds.

array$fields

The fields to set the expiration on.

string|null$mode

An optional mode (NX, XX, ETC)

+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/hexpire +
+ + +
+
+ +
+
+

+ + Redis|array|false + hpexpire(string $key, int $ttl, array $fields, string|null $mode = NULL) + +

+
+ + + +
+

Set the expiration on one or more fields in a hash in milliseconds.

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key

The hash to update.

int$ttl

The time to live in milliseconds.

array$fields

The fields to set the expiration on.

string|null$mode

An optional mode (NX, XX, ETC)

+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/hexpire +
+ + +
+
+ +
+
+

+ + Redis|array|false + hexpireat(string $key, int $time, array $fields, string|null $mode = NULL) + +

+
+ + + +
+

Set the expiration time on one or more fields of a hash.

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key

The hash to update.

int$time

The time to live in seconds.

array$fields

The fields to set the expiration on.

string|null$mode

An optional mode (NX, XX, ETC)

+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/hexpire +
+ + +
+
+ +
+
+

+ + Redis|array|false + hpexpireat(string $key, int $mstime, array $fields, string|null $mode = NULL) + +

+
+ + + +
+

Set the expiration time on one or more fields of a hash in milliseconds.

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key

The hash to update.

int$mstime

The time to live in milliseconds.

array$fields

The fields to set the expiration on.

string|null$mode

An optional mode (NX, XX, ETC)

+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/hexpire +
+ + +
+
+ +
+
+

+ + Redis|array|false + httl(string $key, array $fields) + +

+
+ + + +
+

Get the TTL of one or more fields in a hash

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The hash to query.

array$fields

The fields to query.

+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/httl +
+ + +
+
+ +
+
+

+ + Redis|array|false + hpttl(string $key, array $fields) + +

+
+ + + +
+

Get the millisecond TTL of one or more fields in a hash

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The hash to query.

array$fields

The fields to query.

+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/hpttl +
+ + +
+
+ +
+
+

+ + Redis|array|false + hexpiretime(string $key, array $fields) + +

+
+ + + +
+

Get the expiration time of one or more fields in a hash

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The hash to query.

array$fields

The fields to query.

+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/hexpiretime +
+ + +
+
+ +
+
+

+ + Redis|array|false + hpexpiretime(string $key, array $fields) + +

+
+ + + +
+

Get the expiration time in milliseconds of one or more fields in a hash

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The hash to query.

array$fields

The fields to query.

+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/hpexpiretime +
+ + +
+
+ +
+
+

+ + Redis|array|false + hpersist(string $key, array $fields) + +

+
+ + + +
+

Persist one or more hash fields

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The hash to query.

array$fields

The fields to query.

+ + +

Return Value

+ + + + + + +
Redis|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/hpersist +
+ + +
+
+

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

@@ -8664,7 +10912,7 @@ $redis->hstrlen('hash', '50bytes');

The hash to query.

- int|null + null|int|string $iterator

The scan iterator, which should be initialized to NULL before the first call. This value will be updated after every call to hscan, until it reaches zero @@ -8716,25 +10964,25 @@ meaning the scan is complete.

-
$redis = new Redis(['host' => 'localhost']);
-
-$redis->del('big-hash');
-
-for ($i = 0; $i < 1000; $i++) {
- $fields["field:$i"] = "value:$i";
-}
-
-$redis->hmset('big-hash', $fields);
-
-$it = NULL;
-
-do {
- // Scan the hash but limit it to fields that match '*:1?3'
- $fields = $redis->hscan('big-hash', $it, '*:1?3');
-
- foreach ($fields as $field => $value) {
- echo "[$field] => $value\n";
- }
+
$redis = new Redis(['host' => 'localhost']);
+
+$redis->del('big-hash');
+
+for ($i = 0; $i < 1000; $i++) {
+    $fields["field:$i"] = "value:$i";
+}
+
+$redis->hmset('big-hash', $fields);
+
+$it = null;
+
+do {
+    // Scan the hash but limit it to fields that match '*:1?3'
+    $fields = $redis->hscan('big-hash', $it, '*:1?3');
+
+    foreach ($fields as $field => $value) {
+        echo "[$field] => $value\n";
+    }
 } while ($it != 0);
@@ -8742,10 +10990,141 @@ do {
+ +
+

+ + Redis|int|false + expiremember(string $key, string $field, int $ttl, string|null $unit = null) + +

+
+ + + +
+

Set an expiration on a key member (KeyDB only).

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key

The key to expire

string$field

The field to expire

int$ttl
string|null$unit

The unit of the ttl (s, or ms).

+ + +

Return Value

+ + + + + + +
Redis|int|false
+ + + +

See also

+ + + + + + +
+ https://docs.keydb.dev/docs/commands/#expiremember +
+ + +
+
+ +
+
+

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

+
+ + + +
+

Set an expiration on a key membert to a specific unix timestamp (KeyDB only).

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key

The key to expire

string$field

The field to expire

int$timestamp

The unix timestamp to expire at.

+ + +

Return Value

+ + + + + + +
Redis|int|false
+ + + +

See also

+ + + + + + +
+ https://docs.keydb.dev/docs/commands/#expirememberat +
+ + +
+
+

- + Redis|int|false incr(string $key, int $by = 1) @@ -8820,7 +11199,7 @@ do {

- + Redis|int|false incrBy(string $key, int $value) @@ -8876,10 +11255,10 @@ do {
-
$redis->set('primes', 2);
-$redis->incrby('primes', 1);
-$redis->incrby('primes', 2);
-$redis->incrby('primes', 2);
+
$redis->set('primes', 2);
+$redis->incrby('primes', 1);
+$redis->incrby('primes', 2);
+$redis->incrby('primes', 2);
 $redis->incrby('primes', 4);
@@ -8890,7 +11269,7 @@ $redis->incrby('primes', 4);

- + Redis|float|false incrByFloat(string $key, float $value) @@ -8935,7 +11314,7 @@ $redis->incrby('primes', 4); -
$redis->incrbyfloat('tau', 3.1415926);
+
$redis->incrbyfloat('tau', 3.1415926);
 $redis->incrbyfloat('tau', 3.1415926);
@@ -8946,7 +11325,7 @@ $redis->incrbyfloat('tau', 3.1415926);

- + Redis|array|false info(string ...$sections) @@ -9002,7 +11381,7 @@ to that section.

If connected to Redis server >=

- + bool isConnected() @@ -9034,8 +11413,8 @@ to that section.

If connected to Redis server >=

- - Redis|array|false + + Redis|list<string>|false keys(string $pattern)

@@ -9063,7 +11442,7 @@ to that section.

If connected to Redis server >= - +
Redis|array|falseRedis|list<string>|false
@@ -9077,7 +11456,7 @@ to that section.

If connected to Redis server >=

- + Redis|int|false lInsert(string $key, string $pos, mixed $pivot, mixed $value) @@ -9135,7 +11514,7 @@ to that section.

If connected to Redis server >=

- + Redis|int|false lLen(string $key) @@ -9177,7 +11556,7 @@ to that section.

If connected to Redis server >=

- + Redis|string|false lMove(string $src, string $dst, string $wherefrom, string $whereto) @@ -9206,14 +11585,18 @@ to that section.

If connected to Redis server >= string $wherefrom -

Where in the source list to retrieve the element. This can be either -Redis::LEFT, or Redis::RIGHT.

+

Where in the source list to retrieve the element. This can be either

+
    +
  • Redis::LEFT, or Redis::RIGHT.
  • +
string $whereto -

Where in the destination list to put the element. This can be either -Redis::LEFT, or Redis::RIGHT.

+

Where in the destination list to put the element. This can be either

+
    +
  • Redis::LEFT, or Redis::RIGHT.
  • +
@@ -9234,18 +11617,81 @@ to that section.

If connected to Redis server >= -
$redis->rPush('numbers', 'one', 'two', 'three');
+
$redis->rPush('numbers', 'one', 'two', 'three');
 $redis->lMove('numbers', 'odds', Redis::LEFT, Redis::LEFT);
+

+ + + +
+

+ + Redis|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

+ + + + + + +
Redis|string|false
+ + + +

- + Redis|bool|string|array lPop(string $key, int $count = 0) @@ -9315,9 +11761,9 @@ if none was removed.

- + Redis|null|bool|int|array - lPos(string $key, mixed $value, array $options = null) + lPos(string $key, mixed $value, array|null $options = null)

@@ -9342,7 +11788,7 @@ if none was removed.

The value to search for.

- array + array|null $options

Options to configure how the command operates

$options = [
@@ -9382,7 +11828,7 @@ if none was removed.

- + Redis|int|false lPush(string $key, mixed ...$elements) @@ -9448,7 +11894,7 @@ if none was removed.

- + Redis|int|false rPush(string $key, mixed ...$elements) @@ -9514,7 +11960,7 @@ if none was removed.

- + Redis|int|false lPushx(string $key, mixed $value) @@ -9561,7 +12007,7 @@ if none was removed.

- + Redis|int|false rPushx(string $key, mixed $value) @@ -9608,7 +12054,7 @@ if none was removed.

- + Redis|bool lSet(string $key, int $index, mixed $value) @@ -9671,7 +12117,7 @@ if none was removed.

- + int lastSave() @@ -9714,7 +12160,7 @@ if none was removed.

- + mixed lindex(string $key, int $index) @@ -9761,7 +12207,7 @@ if none was removed.

- + Redis|array|false lrange(string $key, int $start, int $end) @@ -9826,7 +12272,7 @@ from the end of the list.

- + Redis|int|false lrem(string $key, mixed $value, int $count = 0) @@ -9889,7 +12335,7 @@ from the end of the list.

- + Redis|bool ltrim(string $key, int $start, int $end) @@ -9949,8 +12395,8 @@ from the end of the list.

- - Redis|array + + Redis|array|false mget(array $keys)

@@ -9959,7 +12405,7 @@ from the end of the list.

-

Get one ore more string keys.

+

Get one or more string keys.

Parameters

@@ -9977,7 +12423,7 @@ from the end of the list.

- +
Redis|arrayRedis|array|false

an array of keys with their values.

@@ -9999,9 +12445,9 @@ from the end of the list.

- + Redis|bool - migrate(string $host, int $port, string|array $key, int $dstdb, int $timeout, bool $copy = false, bool $replace = false, mixed $credentials = NULL) + migrate(string $host, int $port, string|array $key, int $dstdb, int $timeout, bool $copy = false, bool $replace = false, mixed $credentials = null)

@@ -10077,7 +12523,7 @@ from the end of the list.

- + Redis|bool move(string $key, int $index) @@ -10124,7 +12570,7 @@ from the end of the list.

- + Redis|bool mset(array $key_values) @@ -10134,7 +12580,7 @@ from the end of the list.

-

Set one ore more string keys.

+

Set one or more string keys.

Parameters

@@ -10185,7 +12631,7 @@ from the end of the list.

- + Redis|bool msetnx(array $key_values) @@ -10195,7 +12641,7 @@ from the end of the list.

-

Set one ore more string keys but only if none of the key exist.

+

Set one or more string keys but only if none of the key exist.

Parameters

@@ -10246,7 +12692,7 @@ from the end of the list.

- + bool|Redis multi(int $value = Redis::MULTI) @@ -10298,9 +12744,9 @@ from the end of the list.

-
$redis->multi();
-$redis->set('foo', 'bar');
-$redis->get('foo');
+
$redis->multi();
+$redis->set('foo', 'bar');
+$redis->get('foo');
 $redis->exec();
@@ -10311,7 +12757,7 @@ $redis->exec();

- + Redis|int|string|false object(string $subcommand, string $key) @@ -10359,9 +12805,9 @@ $redis->exec();

- + bool - open(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = NULL, int $retry_interval = 0, float $read_timeout = 0, array $context = NULL) + open(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null) deprecated

@@ -10399,7 +12845,7 @@ $redis->exec(); - string + string|null $persistent_id @@ -10414,7 +12860,7 @@ $redis->exec(); - array + array|null $context @@ -10439,9 +12885,9 @@ $redis->exec();

- + bool - pconnect(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = NULL, int $retry_interval = 0, float $read_timeout = 0, array $context = NULL) + pconnect(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null)

@@ -10472,7 +12918,7 @@ $redis->exec(); - string + string|null $persistent_id @@ -10487,7 +12933,7 @@ $redis->exec(); - array + array|null $context @@ -10512,7 +12958,7 @@ $redis->exec();

- + Redis|bool persist(string $key) @@ -10554,9 +13000,9 @@ $redis->exec();

- + bool - pexpire(string $key, int $timeout, string|null $mode = NULL) + pexpire(string $key, int $timeout, string|null $mode = null)

@@ -10565,7 +13011,7 @@ $redis->exec();

Sets an expiration in milliseconds on a given key. If connected to Redis >= 7.0.0 -you can pass an optional mode argument that modifies how the command will execute.

Redis::expire() for a description of the mode argument.

+you can pass an optional mode argument that modifies how the command will execute.

Parameters

@@ -10574,20 +13020,18 @@ you can pass an optional mode argument that modifies how the command will execut string $key -

The key to set an expiration on. -@param string $mode A two character modifier that changes how the -command works.

-

@return Redis|bool True if an expiry was set on the key, and false otherwise.

+

The key to set an expiration on.

int $timeout - +

The number of milliseconds after which key will be automatically deleted.

string|null $mode - +

A two character modifier that changes how the +command works.

@@ -10597,12 +13041,24 @@ command works.

- +
bool

True if an expiry was set on the key, and false otherwise.

+

See also

+ + + + + + +
+ +Redis::expire + for a description of the mode argument.
+
@@ -10610,9 +13066,9 @@ command works.

- + Redis|bool - pexpireAt(string $key, int $timestamp, string|null $mode = NULL) + pexpireAt(string $key, int $timestamp, string|null $mode = null)

@@ -10666,8 +13122,9 @@ Redis::expire For a description of the mode argument. -@param string $key The key to set an expiration on. -@param string $mode A two character modifier that changes how the +@param string $key The key to set an expiration on. +@param int $timestamp The unix timestamp to expire at. +@param string|null $mode A two character modifier that changes how the command works. @return Redis|bool True if an expiration was set on the key, false otherwise. @@ -10681,7 +13138,7 @@ Redis::expire

- + Redis|int pfadd(string $key, array $elements) @@ -10739,9 +13196,9 @@ Redis::expire

- - Redis|int - pfcount(string $key) + + Redis|int|false + pfcount(array|string $key_or_keys)

@@ -10756,9 +13213,9 @@ Redis::expire - - - + + +
string$key

The key name we wish to query.

array|string$key_or_keys

Either one key or an array of keys

@@ -10767,7 +13224,7 @@ Redis::expire - +
Redis|intRedis|int|false

The estimated cardinality of the set.

@@ -10792,7 +13249,7 @@ Redis::expire

- + Redis|bool pfmerge(string $dst, array $srckeys) @@ -10850,9 +13307,9 @@ Redis::expire

- + Redis|string|bool - ping(string $message = NULL) + ping(string|null $message = null)

@@ -10867,7 +13324,7 @@ Redis::expire - + @@ -10915,7 +13372,7 @@ If a message is passed, it will return the message.

- + bool|Redis pipeline() @@ -10948,10 +13405,10 @@ when the user calls Redis::exec().

stringstring|null $message

An optional string message that Redis will reply with, if passed.

-
$redis->pipeline()
-->set('foo', 'bar')
-->del('mylist')
-->rpush('mylist', 'a', 'b', 'c')
+
$redis->pipeline()
+->set('foo', 'bar')
+->del('mylist')
+->rpush('mylist', 'a', 'b', 'c')
 ->exec();
@@ -10962,9 +13419,9 @@ when the user calls Redis::exec().

- + bool - popen(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = NULL, int $retry_interval = 0, float $read_timeout = 0, array $context = NULL) + popen(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null) deprecated

@@ -11002,7 +13459,7 @@ when the user calls Redis::exec().

- string + string|null $persistent_id @@ -11017,7 +13474,7 @@ when the user calls Redis::exec().

- array + array|null $context @@ -11042,7 +13499,7 @@ when the user calls Redis::exec().

- + Redis|bool psetex(string $key, int $expire, mixed $value) @@ -11102,7 +13559,7 @@ when the user calls Redis::exec().

- + bool psubscribe(array $patterns, callable $cb) @@ -11161,7 +13618,7 @@ when the user calls Redis::exec().

- + Redis|int|false pttl(string $key) @@ -11224,7 +13681,7 @@ when the user calls Redis::exec().

- + Redis|int|false publish(string $channel, string $message) @@ -11282,7 +13739,7 @@ when the user calls Redis::exec().

- + mixed pubsub(string $command, mixed $arg = null) @@ -11330,7 +13787,7 @@ when the user calls Redis::exec().

- + Redis|array|bool punsubscribe(array $patterns) @@ -11396,7 +13853,7 @@ Redis::subscribe

- + Redis|array|string|bool rPop(string $key, int $count = 0) @@ -11431,7 +13888,7 @@ NOTE: The count argument requires Redis >= 6.2.0

- +
Redis|array|string|bool

One ore more popped elements or false if all were empty.

One or more popped elements or false if all were empty.

@@ -11466,7 +13923,7 @@ NOTE: The count argument requires Redis >= 6.2.0

- + Redis|string|false randomKey() @@ -11509,7 +13966,7 @@ NOTE: The count argument requires Redis >= 6.2.0

- + mixed rawcommand(string $command, mixed ...$args) @@ -11570,7 +14027,7 @@ NOTE: The count argument requires Redis >= 6.2.0

- + Redis|bool rename(string $old_name, string $new_name) @@ -11628,7 +14085,7 @@ NOTE: The count argument requires Redis >= 6.2.0

- + Redis|bool renameNx(string $key_src, string $key_dst) @@ -11684,10 +14141,10 @@ NOTE: The count argument requires Redis >= 6.2.0

-
$redis->set('src', 'src_key');
-$redis->set('existing-dst', 'i_exist');
-
-$redis->renamenx('src', 'dst');
+
$redis->set('src', 'src_key');
+$redis->set('existing-dst', 'i_exist');
+
+$redis->renamenx('src', 'dst');
 $redis->renamenx('dst', 'existing-dst');
@@ -11698,7 +14155,7 @@ $redis->renamenx('dst', 'existing-dst');

- + Redis|bool reset() @@ -11730,9 +14187,9 @@ $redis->renamenx('dst', 'existing-dst');

- + Redis|bool - restore(string $key, int $ttl, string $value, array|null $options = NULL) + restore(string $key, int $ttl, string $value, array|null $options = null)

@@ -11822,9 +14279,9 @@ Redis::dump -
$redis->sAdd('captains', 'Janeway', 'Picard', 'Sisko', 'Kirk', 'Archer');
-$serialized = $redis->dump('captains');
-
+
$redis->sAdd('captains', 'Janeway', 'Picard', 'Sisko', 'Kirk', 'Archer');
+$serialized = $redis->dump('captains');
+
 $redis->restore('captains-backup', 0, $serialized);
@@ -11835,7 +14292,7 @@ $redis->restore('captains-backup', 0, $serialized);

- + mixed role() @@ -11868,7 +14325,7 @@ an error.

- + Redis|string|false rpoplpush(string $srckey, string $dstkey) @@ -11925,12 +14382,12 @@ another.

-
$redis->pipeline()
- ->del('list1', 'list2')
- ->rpush('list1', 'list1-1', 'list1-2')
- ->rpush('list2', 'list2-1', 'list2-2')
- ->exec();
-
+
$redis->pipeline()
+      ->del('list1', 'list2')
+      ->rpush('list1', 'list1-1', 'list1-2')
+      ->rpush('list2', 'list2-1', 'list2-2')
+      ->exec();
+
 $redis->rpoplpush('list2', 'list1');
@@ -11941,7 +14398,7 @@ $redis->rpoplpush('list2', 'list1');

- + Redis|int|false sAdd(string $key, mixed $value, mixed ...$other_values) @@ -11965,12 +14422,12 @@ $redis->rpoplpush('list2', 'list1'); mixed $value - +

A value to add to the set.

mixed ...$other_values - +

One or more additional values to add

@@ -12002,9 +14459,9 @@ $redis->rpoplpush('list2', 'list1'); -
$redis->del('myset');
-
-$redis->sadd('myset', 'foo', 'bar', 'baz');
+
$redis->del('myset');
+
+$redis->sadd('myset', 'foo', 'bar', 'baz');
 $redis->sadd('myset', 'foo', 'new');
@@ -12015,7 +14472,7 @@ $redis->sadd('myset', 'foo', 'new');

- + int sAddArray(string $key, array $values) @@ -12025,7 +14482,7 @@ $redis->sadd('myset', 'foo', 'new');
-

Add one ore more values to a Redis SET key. This is an alternative to Redis::sadd() but +

Add one or more values to a Redis SET key. This is an alternative to Redis::sadd() but instead of being variadic, takes a single array of values.

@@ -12078,9 +14535,9 @@ instead of being variadic, takes a single array of values.

-
$redis->del('myset');
-
-$redis->sAddArray('myset', ['foo', 'bar', 'baz']);
+
$redis->del('myset');
+
+$redis->sAddArray('myset', ['foo', 'bar', 'baz']);
 $redis->sAddArray('myset', ['foo', 'new']);
@@ -12091,7 +14548,7 @@ $redis->sAddArray('myset', ['foo', 'new']);

- + Redis|array|false sDiff(string $key, string ...$other_keys) @@ -12149,13 +14606,13 @@ first sorted set, or false on failure.

-
$redis->pipeline()
- ->del('set1', 'set2', 'set3')
- ->sadd('set1', 'apple', 'banana', 'carrot', 'date')
- ->sadd('set2', 'carrot')
- ->sadd('set3', 'apple', 'carrot', 'eggplant')
- ->exec();
-
+
$redis->pipeline()
+      ->del('set1', 'set2', 'set3')
+      ->sadd('set1', 'apple', 'banana', 'carrot', 'date')
+      ->sadd('set2', 'carrot')
+      ->sadd('set3', 'apple', 'carrot', 'eggplant')
+      ->exec();
+
 $redis->sdiff('set1', 'set2', 'set3');
@@ -12166,7 +14623,7 @@ $redis->sdiff('set1', 'set2', 'set3');

- + Redis|int|false sDiffStore(string $dst, string $key, string ...$other_keys) @@ -12236,7 +14693,7 @@ values in a specified destination key.

- + Redis|array|false sInter(array|string $key, string ...$other_keys) @@ -12293,14 +14750,15 @@ in every one.

-
$redis->pipeline()
- ->del('alice_likes', 'bob_likes', 'bill_likes')
- ->sadd('alice_likes', 'asparagus', 'broccoli', 'carrot', 'potato')
- ->sadd('bob_likes', 'asparagus', 'carrot', 'potato')
- ->sadd('bill_likes', 'broccoli', 'potato')
- ->exec();
-
-var_dump($redis->sinter('alice_likes', 'bob_likes', 'bill_likes'));
+
<code>
+$redis->pipeline()
+      ->del('alice_likes', 'bob_likes', 'bill_likes')
+      ->sadd('alice_likes', 'asparagus', 'broccoli', 'carrot', 'potato')
+      ->sadd('bob_likes', 'asparagus', 'carrot', 'potato')
+      ->sadd('bill_likes', 'broccoli', 'potato')
+      ->exec();
+
+var_dump($redis->sinter('alice_likes', 'bob_likes', 'bill_likes'));
 </code>
@@ -12311,7 +14769,7 @@ var_dump($redis->sinter('alice_likes', 'bob_likes', '

- + Redis|int|false sintercard(array $keys, int $limit = -1) @@ -12368,12 +14826,12 @@ on the amount of work Redis will do.

-
$redis->sAdd('set1', 'apple', 'pear', 'banana', 'carrot');
-$redis->sAdd('set2', 'apple', 'banana');
-$redis->sAdd('set3', 'pear', 'banana');
-
-$redis->sInterCard(['set1', 'set2', 'set3']);
-?>
+
<code>
+$redis->sAdd('set1', 'apple', 'pear', 'banana', 'carrot');
+$redis->sAdd('set2', 'apple',         'banana');
+$redis->sAdd('set3',          'pear', 'banana');
+
+$redis->sInterCard(['set1', 'set2', 'set3']);
 </code>
@@ -12384,7 +14842,7 @@ $redis->sInterCard(['set1', 'set2', 'set3']);

- + Redis|int|false sInterStore(array|string $key, string ...$other_keys) @@ -12404,7 +14862,9 @@ key, rather than returning them.

array|string $key - +

Either a string key, or an array of keys (with at least two +elements, consisting of the destination key name and one +or more source keys names.

string @@ -12439,7 +14899,7 @@ be source key names.

\Redis::sinter() - + @@ -12451,8 +14911,7 @@ be source key names.

$redis->sInterStore(['dst', 'src1', 'src2', 'src3']);
-
$redis->sInterStore('dst', 'src1', 'src'2', 'src3');
-?>
+
$redis->sInterStore('dst', 'src1', 'src'2', 'src3');
 </code>
@@ -12463,7 +14922,7 @@ be source key names.

- + Redis|array|false sMembers(string $key) @@ -12514,7 +14973,7 @@ be source key names.

-
$redis->sAdd('tng-crew', ...['Picard', 'Riker', 'Data', 'Worf', 'La Forge', 'Troi', 'Crusher', 'Broccoli']);
+
$redis->sAdd('tng-crew', ...['Picard', 'Riker', 'Data', 'Worf', 'La Forge', 'Troi', 'Crusher', 'Broccoli']);
 $redis->sMembers('tng-crew');
@@ -12525,7 +14984,7 @@ $redis->sMembers('tng-crew');

- + Redis|array|false sMisMember(string $key, string $member, string ...$other_members) @@ -12599,7 +15058,7 @@ was a member of the set.

-
$redis->sAdd('ds9-crew', ...["Sisko", "Kira", "Dax", "Worf", "Bashir", "O'Brien"]);
+
$redis->sAdd('ds9-crew', ...["Sisko", "Kira", "Dax", "Worf", "Bashir", "O'Brien"]);
 $members = $redis->sMIsMember('ds9-crew', ...['Sisko', 'Picard', 'Data', 'Worf']);
@@ -12610,7 +15069,7 @@ $members = $redis->sMIsMember('ds9-crew', ...['Sisko', &#

- + Redis|bool sMove(string $src, string $dst, mixed $value) @@ -12672,9 +15131,9 @@ destination set if it does not currently exist.

-
$redis->sAdd('numbers', 'zero', 'one', 'two', 'three', 'four');
-$redis->sMove('numbers', 'evens', 'zero');
-$redis->sMove('numbers', 'evens', 'two');
+
$redis->sAdd('numbers', 'zero', 'one', 'two', 'three', 'four');
+$redis->sMove('numbers', 'evens', 'zero');
+$redis->sMove('numbers', 'evens', 'two');
 $redis->sMove('numbers', 'evens', 'four');
@@ -12685,7 +15144,7 @@ $redis->sMove('numbers', 'evens', 'four');

- + Redis|string|array|false sPop(string $key, int $count = 0) @@ -12742,8 +15201,8 @@ removing one element.

-
$redis->del('numbers', 'evens');
-$redis->sAdd('numbers', 'zero', 'one', 'two', 'three', 'four');
+
$redis->del('numbers', 'evens');
+$redis->sAdd('numbers', 'zero', 'one', 'two', 'three', 'four');
 $redis->sPop('numbers');
@@ -12754,8 +15213,8 @@ $redis->sPop('numbers');

- - Redis|string|array|false + + mixed sRandMember(string $key, int $count = 0)

@@ -12792,7 +15251,7 @@ but the result may contain duplicate elements.

- +
Redis|string|array|falsemixed

One or more random members or false on failure.

@@ -12831,7 +15290,7 @@ but the result may contain duplicate elements.

- + Redis|array|false sUnion(string $key, string ...$other_keys) @@ -12897,7 +15356,7 @@ but the result may contain duplicate elements.

- + Redis|int|false sUnionStore(string $dst, string $key, string ...$other_keys) @@ -12967,7 +15426,7 @@ false on failure.

- + Redis|bool save() @@ -13017,9 +15476,9 @@ completed. For a nonblocking alternative, see Redis::bgsave().

- + array|false - scan(int|null $iterator, string|null $pattern = null, int $count = 0, string $type = NULL) + scan(null|int|string $iterator, string|null $pattern = null, int $count = 0, string|null $type = null)

@@ -13038,7 +15497,7 @@ to use Redis::scan() with the option disabled and enabled.

- + - + @@ -13106,29 +15565,29 @@ Redis::setOption
int|nullnull|int|string $iterator

The cursor returned by Redis for every subsequent call to SCAN. On the initial invocation of the call, it should be initialized by the @@ -13060,7 +15519,7 @@ call to SCAN. The larger the number, the longer Redis may block clients while iterating the key space.

stringstring|null $type

An optional argument to specify which key types to scan (e.g. 'STRING', 'LIST', 'SET')

-
$redis = new Redis(['host' => 'localhost']);
-
-$redis->setOption(Redis::OPT_SCAN, Redis::SCAN_NORETRY);
-
-$it = NULL;
-
-do {
- $keys = $redis->scan($it, '*zorg*');
- foreach ($keys as $key) {
- echo "KEY: $key\n";
- }
-} while ($it != 0);
-
-$redis->setOption(Redis::OPT_SCAN, Redis::SCAN_RETRY);
-
-$it = NULL;
-
-// When Redis::SCAN_RETRY is enabled, we can use simpler logic, as we will never receive an
-// empty array of keys when the iterator is nonzero.
-while ($keys = $redis->scan($it, '*zorg*')) {
- foreach ($keys as $key) {
- echo "KEY: $key\n";
- }
+
$redis = new Redis(['host' => 'localhost']);
+
+$redis->setOption(Redis::OPT_SCAN, Redis::SCAN_NORETRY);
+
+$it = null;
+
+do {
+    $keys = $redis->scan($it, '*zorg*');
+    foreach ($keys as $key) {
+        echo "KEY: $key\n";
+    }
+} while ($it != 0);
+
+$redis->setOption(Redis::OPT_SCAN, Redis::SCAN_RETRY);
+
+$it = null;
+
+// When Redis::SCAN_RETRY is enabled, we can use simpler logic, as we will never receive an
+// empty array of keys when the iterator is nonzero.
+while ($keys = $redis->scan($it, '*zorg*')) {
+    foreach ($keys as $key) {
+        echo "KEY: $key\n";
+    }
 }
@@ -13139,7 +15598,7 @@ while ($keys = $redis->scan($it, '*zorg*')) {

- + Redis|int|false scard(string $key) @@ -13190,8 +15649,7 @@ while ($keys = $redis->scan($it, '*zorg*')) {
- +
$redis->scard('set');
-</code>
$redis->scard('set');
@@ -13201,7 +15659,7 @@ while ($keys = $redis->scan($it, '*zorg*')) {

- + mixed script(string $command, mixed ...$args) @@ -13225,7 +15683,7 @@ while ($keys = $redis->scan($it, '*zorg*')) {
mixed ...$args -

One ore more additional argument

+

One or more additional argument

@@ -13270,7 +15728,7 @@ while ($keys = $redis->scan($it, '*zorg*')) {

- + Redis|bool select(int $db) @@ -13331,9 +15789,9 @@ while ($keys = $redis->scan($it, '*zorg*')) {

- + Redis|string|bool - set(string $key, mixed $value, mixed $options = NULL) + set(string $key, mixed $value, mixed $options = null)

@@ -13424,7 +15882,7 @@ key or NULL if the key didn't exist.

- + Redis|int|false setBit(string $key, int $idx, bool $value) @@ -13485,7 +15943,7 @@ key or NULL if the key didn't exist.

-
$redis->set('foo', 'bar');
+
$redis->set('foo', 'bar');
 $redis->setbit('foo', 7, 1);
@@ -13496,7 +15954,7 @@ $redis->setbit('foo', 7, 1);

- + Redis|int|false setRange(string $key, int $index, string $value) @@ -13557,7 +16015,7 @@ $redis->setbit('foo', 7, 1); -
$redis->set('message', 'Hello World');
+
$redis->set('message', 'Hello World');
 $redis->setRange('message', 6, 'Redis');
@@ -13568,7 +16026,7 @@ $redis->setRange('message', 6, 'Redis');

- + bool setOption(int $option, mixed $value) @@ -13710,7 +16168,7 @@ Redis::__construct

- + Redis|bool setex(string $key, int $expire, mixed $value) @@ -13770,7 +16228,7 @@ Redis::__construct

- + Redis|bool setnx(string $key, mixed $value) @@ -13839,7 +16297,7 @@ Redis::__construct

- + Redis|bool sismember(string $key, mixed $value) @@ -13894,9 +16352,9 @@ Redis::__construct

- + Redis|bool - slaveof(string $host = NULL, int $port = 6379) + slaveof(string|null $host = null, int $port = 6379) deprecated

@@ -13923,7 +16381,7 @@ and users should instead use Redis::replicaof() if connecting to redis-server

- string + string|null $host @@ -13977,9 +16435,9 @@ Redis::replicaof

- + Redis|bool - replicaof(string $host = NULL, int $port = 6379) + replicaof(string|null $host = null, int $port = 6379)

@@ -13995,7 +16453,7 @@ replica status promoting the instance to a primary.

- + @@ -14048,13 +16506,13 @@ Redis::slaveof
stringstring|null $host

The host of the primary to start replicating.

-
$redis = new Redis(['host' => 'localhost']);
-
-// Attempt to become a replica of a Redis instance at 127.0.0.1:9999
-$redis->replicaof('127.0.0.1', 9999);
-
-// When passed no arguments, PhpRedis will deliver the command `REPLICAOF NO ONE`
-// attempting to promote the instance to a primary.
+
$redis = new Redis(['host' => 'localhost']);
+
+// Attempt to become a replica of a Redis instance at 127.0.0.1:9999
+$redis->replicaof('127.0.0.1', 9999);
+
+// When passed no arguments, PhpRedis will deliver the command `REPLICAOF NO ONE`
+// attempting to promote the instance to a primary.
 $redis->replicaof();
@@ -14065,7 +16523,7 @@ $redis->replicaof();

- + Redis|int|false touch(array|string $key_or_array, string ...$more_keys) @@ -14084,7 +16542,8 @@ $redis->replicaof(); array|string $key_or_array - +

Either the first key or if passed as the only argument +an array of keys.

string @@ -14124,7 +16583,7 @@ had their last modified time reset

- + mixed slowlog(string $operation, int $length = 0) @@ -14205,7 +16664,7 @@ entries, which is configurable.

- + mixed sort(string $key, array|null $options = null) @@ -14265,16 +16724,16 @@ using the STORE option.

-
$options = [
- 'SORT' => 'ASC'|| 'DESC' // Sort in descending or descending order.
- 'ALPHA' => true || false // Whether to sort alphanumerically.
- 'LIMIT' => [0, 10] // Return a subset of the data at offset, count
- 'BY' => 'weight_*' // For each element in the key, read data from the
- external key weight_* and sort based on that value.
- 'GET' => 'weight_*' // For each element in the source key, retrieve the
- data from key weight_* and return that in the result
- rather than the source keys' element. This can
- be used in combination with 'BY'
+
$options = [
+    'SORT'  => 'ASC'|| 'DESC' // Sort in descending or descending order.
+    'ALPHA' => true || false  // Whether to sort alphanumerically.
+    'LIMIT' => [0, 10]        // Return a subset of the data at offset, count
+    'BY'    => 'weight_*'     // For each element in the key, read data from the
+                                 external key weight_* and sort based on that value.
+    'GET'   => 'weight_*'     // For each element in the source key, retrieve the
+                                 data from key weight_* and return that in the result
+                                 rather than the source keys' element.  This can
+                                 be used in combination with 'BY'
 ];
@@ -14285,7 +16744,7 @@ using the STORE option.

- + mixed sort_ro(string $key, array|null $options = null) @@ -14344,7 +16803,7 @@ Redis::sort

- + array sortAsc(string $key, string|null $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, string|null $store = null) deprecated @@ -14419,7 +16878,7 @@ Redis::sort

- + array sortAscAlpha(string $key, string|null $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, string|null $store = null) deprecated @@ -14494,7 +16953,7 @@ Redis::sort

- + array sortDesc(string $key, string|null $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, string|null $store = null) deprecated @@ -14569,7 +17028,7 @@ Redis::sort

- + array sortDescAlpha(string $key, string|null $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, string|null $store = null) deprecated @@ -14644,7 +17103,7 @@ Redis::sort

- + Redis|int|false srem(string $key, mixed $value, mixed ...$other_values) @@ -14673,7 +17132,7 @@ Redis::sort mixed ...$other_values - +

One or more additional values to remove.

@@ -14715,9 +17174,9 @@ Redis::sort

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

@@ -14737,7 +17196,7 @@ Redis::sort

The Redis SET key in question.

- int|null + null|int|string $iterator

A reference to an iterator which should be initialized to NULL that PhpRedis will update with the value returned from Redis after each @@ -14799,41 +17258,41 @@ Redis::setOption -
$redis->del('myset');
-for ($i = 0; $i < 10000; $i++) {
- $redis->sAdd('myset', "member:$i");
-}
-$redis->sadd('myset', 'foofoo');
-
-$redis->setOption(Redis::OPT_SCAN, Redis::SCAN_NORETRY);
-
-$scanned = 0;
-$it = NULL;
-
-// Without Redis::SCAN_RETRY we may receive empty results and
-// a nonzero iterator.
-do {
- // Scan members containing '5'
- $members = $redis->sscan('myset', $it, '*5*');
- foreach ($members as $member) {
- echo "NORETRY: $member\n";
- $scanned++;
- }
-} while ($it != 0);
-echo "TOTAL: $scanned\n";
-
-$redis->setOption(Redis::OPT_SCAN, Redis::SCAN_RETRY);
-
-$scanned = 0;
-$it = NULL;
-
-// With Redis::SCAN_RETRY PhpRedis will never return an empty array
-// when the cursor is non-zero
-while (($members = $redis->sscan('myset', $it, '*5*'))) {
- foreach ($members as $member) {
- echo "RETRY: $member\n";
- $scanned++;
- }
+
$redis->del('myset');
+for ($i = 0; $i < 10000; $i++) {
+    $redis->sAdd('myset', "member:$i");
+}
+$redis->sadd('myset', 'foofoo');
+
+$redis->setOption(Redis::OPT_SCAN, Redis::SCAN_NORETRY);
+
+$scanned = 0;
+$it = null;
+
+// Without Redis::SCAN_RETRY we may receive empty results and
+// a nonzero iterator.
+do {
+    // Scan members containing '5'
+    $members = $redis->sscan('myset', $it, '*5*');
+    foreach ($members as $member) {
+         echo "NORETRY: $member\n";
+         $scanned++;
+    }
+} while ($it != 0);
+echo "TOTAL: $scanned\n";
+
+$redis->setOption(Redis::OPT_SCAN, Redis::SCAN_RETRY);
+
+$scanned = 0;
+$it = null;
+
+// With Redis::SCAN_RETRY PhpRedis will never return an empty array
+// when the cursor is non-zero
+while (($members = $redis->sscan('myset', $it, '*5*'))) {
+    foreach ($members as $member) {
+        echo "RETRY: $member\n";
+        $scanned++;
+    }
 }
@@ -14841,10 +17300,92 @@ while (($members = $redis->sscan('myset', $it, '*5*'))) {

+
+
+

+ + bool + ssubscribe(array $channels, callable $cb) + +

+
+ + + +
+

Subscribes the client to the specified shard channels.

+
+
+

Parameters

+ + + + + + + + + + + + +
array$channels

One or more channel names.

callable$cb

The callback PhpRedis will invoke when we receive a message +from one of the subscribed channels.

+ + +

Return Value

+ + + + + + +
bool

True on success, false on faiilure. Note that this command will block the +client in a subscribe loop, waiting for messages to arrive.

+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/ssubscribe +
+ + +

Examples

+ + + + + +
$redis = new Redis(['host' => 'localhost']);
+
+$redis->ssubscribe(['channel-1', 'channel-2'], function ($redis, $channel, $message) {
+    echo "[$channel]: $message\n";
+
+    // Unsubscribe from the message channel when we read 'quit'
+    if ($message == 'quit') {
+        echo "Unsubscribing from '$channel'\n";
+        $redis->sunsubscribe([$channel]);
+    }
+});
+
+// Once we read 'quit' from both channel-1 and channel-2 the subscribe loop will be
+// broken and this command will execute.
+echo "Subscribe loop ended\n";
+ +
+
+

- + Redis|int|false strlen(string $key) @@ -14906,7 +17447,7 @@ false on failure.

- + bool subscribe(array $channels, callable $cb) @@ -14964,20 +17505,20 @@ client in a subscribe loop, waiting for messages to arrive.

-
$redis = new Redis(['host' => 'localhost']);
-
-$redis->subscribe(['channel-1', 'channel-2'], function ($redis, $channel, $message) {
- echo "[$channel]: $message\n";
-
- // Unsubscribe from the message channel when we read 'quit'
- if ($message == 'quit') {
- echo "Unsubscribing from '$channel'\n";
- $redis->unsubscribe([$channel]);
- }
-});
-
-// Once we read 'quit' from both channel-1 and channel-2 the subscribe loop will be
-// broken and this command will execute.
+
$redis = new Redis(['host' => 'localhost']);
+
+$redis->subscribe(['channel-1', 'channel-2'], function ($redis, $channel, $message) {
+    echo "[$channel]: $message\n";
+
+    // Unsubscribe from the message channel when we read 'quit'
+    if ($message == 'quit') {
+        echo "Unsubscribing from '$channel'\n";
+        $redis->unsubscribe([$channel]);
+    }
+});
+
+// Once we read 'quit' from both channel-1 and channel-2 the subscribe loop will be
+// broken and this command will execute.
 echo "Subscribe loop ended\n";
@@ -14985,10 +17526,88 @@ echo "Subscribe loop ended\n";

+
+
+

+ + Redis|array|bool + sunsubscribe(array $channels) + +

+
+ + + +
+

Unsubscribes the client from the given shard channels, +or from all of them if none is given.

+
+
+

Parameters

+ + + + + + + +
array$channels

One or more channels to unsubscribe from.

+ + +

Return Value

+ + + + + + +
Redis|array|bool

The array of unsubscribed channels.

+ + + +

See also

+ + + + + + + + + + +
+ https://redis.io/commands/sunsubscribe +
+ +Redis::ssubscribe +
+ + +

Examples

+ + + + + +
$redis->ssubscribe(['channel-1', 'channel-2'], function ($redis, $channel, $message) {
+    if ($message == 'quit') {
+        echo "$channel => 'quit' detected, unsubscribing!\n";
+        $redis->sunsubscribe([$channel]);
+    } else {
+        echo "$channel => $message\n";
+    }
+});
+
+echo "We've unsubscribed from both channels, exiting\n";
+ +
+
+

- + Redis|bool swapdb(int $src, int $dst) @@ -15053,9 +17672,9 @@ Redis::del -
$redis->select(0);
-$redis->set('db0-key', 'db0-value');
-$redis->swapdb(0, 1);
+
$redis->select(0);
+$redis->set('db0-key', 'db0-value');
+$redis->swapdb(0, 1);
 $redis->get('db0-key');
@@ -15066,7 +17685,7 @@ $redis->get('db0-key');

- + Redis|array time() @@ -15085,7 +17704,7 @@ $redis->get('db0-key'); -
Redis|array

two element array consisting of a Unix Timestamp and the number of microseconds +

A two element array consisting of a Unix Timestamp and the number of microseconds elapsed since the second.

@@ -15118,7 +17737,7 @@ elapsed since the second.

- + Redis|int|false ttl(string $key) @@ -15181,7 +17800,7 @@ error, this command will return false.

- + Redis|int|false type(string $key) @@ -15218,7 +17837,8 @@ Redis::REDIS_SET Redis::REDIS_LIST Redis::REDIS_ZSET Redis::REDIS_HASH -Redis::REDIS_STREAM +Redis::REDIS_STREAM +Redis::REDIS_VECTORSET @@ -15240,8 +17860,8 @@ Redis::REDIS_STREAM -
foreach ($redis->keys('*') as $key) {
- echo "$key => " . $redis->type($key) . "\n";
+
foreach ($redis->keys('*') as $key) {
+    echo "$key => " . $redis->type($key) . "\n";
 }
@@ -15252,7 +17872,7 @@ Redis::REDIS_STREAM

- + Redis|array|bool unsubscribe(array $channels) @@ -15395,15 +18016,15 @@ Redis::subscribe -
$redis->subscribe(['channel-1', 'channel-2'], function ($redis, $channel, $message) {
- if ($message == 'quit') {
- echo "$channel => 'quit' detected, unsubscribing!\n";
- $redis->unsubscribe([$channel]);
- } else {
- echo "$channel => $message\n";
- }
-});
-
+
$redis->subscribe(['channel-1', 'channel-2'], function ($redis, $channel, $message) {
+    if ($message == 'quit') {
+        echo "$channel => 'quit' detected, unsubscribing!\n";
+        $redis->unsubscribe([$channel]);
+    } else {
+        echo "$channel => $message\n";
+    }
+});
+
 echo "We've unsubscribed from both channels, exiting\n";
@@ -15414,7 +18035,7 @@ echo "We've unsubscribed from both channels, exiting\n";

- + Redis|bool unwatch() @@ -15433,7 +18054,7 @@ echo "We've unsubscribed from both channels, exiting\n"; Redis|bool -

on success and false on failure.

+

True on success and false on failure.

@@ -15470,7 +18091,7 @@ Redis::watch

- + Redis|bool watch(array|string $key, string ...$other_keys) @@ -15489,7 +18110,7 @@ Redis::watch array|string $key - +

Either an array with one or more key names, or a string key name

string @@ -15533,29 +18154,29 @@ string key names may be passed variadically.

-
$redis1 = new Redis(['host' => 'localhost']);
-$redis2 = new Redis(['host' => 'localhost']);
-
-// Start watching 'incr-key'
-$redis1->watch('incr-key');
-
-// Retrieve its value.
-$val = $redis1->get('incr-key');
-
-// A second client modifies 'incr-key' after we read it.
-$redis2->set('incr-key', 0);
-
-// Because another client changed the value of 'incr-key' after we read it, this
-// is no longer a proper increment operation, but because we are `WATCH`ing the
-// key, this transaction will fail and we can try again.
-//
-// If were to comment out the above `$redis2->set('incr-key', 0)` line the
-// transaction would succeed.
-$redis1->multi();
-$redis1->set('incr-key', $val + 1);
-$res = $redis1->exec();
-
-// bool(false)
+
$redis1 = new Redis(['host' => 'localhost']);
+$redis2 = new Redis(['host' => 'localhost']);
+
+// Start watching 'incr-key'
+$redis1->watch('incr-key');
+
+// Retrieve its value.
+$val = $redis1->get('incr-key');
+
+// A second client modifies 'incr-key' after we read it.
+$redis2->set('incr-key', 0);
+
+// Because another client changed the value of 'incr-key' after we read it, this
+// is no longer a proper increment operation, but because we are `WATCH`ing the
+// key, this transaction will fail and we can try again.
+//
+// If were to comment out the above `$redis2->set('incr-key', 0)` line the
+// transaction would succeed.
+$redis1->multi();
+$redis1->set('incr-key', $val + 1);
+$res = $redis1->exec();
+
+// bool(false)
 var_dump($res);
@@ -15566,7 +18187,7 @@ var_dump($res);

- + int|false wait(int $numreplicas, int $timeout) @@ -15625,7 +18246,7 @@ receiving them.

- + int|false xack(string $key, string $group, array $ids) @@ -15635,7 +18256,7 @@ receiving them.

-

Acknowledge one ore more messages that are pending (have been consumed using XREADGROUP but +

Acknowledge one or more messages that are pending (have been consumed using XREADGROUP but not yet acknowledged by XACK.)

@@ -15700,28 +18321,28 @@ Redis::xack -
$redis->xAdd('ships', '*', ['name' => 'Enterprise']);
-$redis->xAdd('ships', '*', ['name' => 'Defiant']);
-
-$redis->xGroup('CREATE', 'ships', 'Federation', '0-0');
-
-// Consume a single message with the consumer group 'Federation'
-$ship = $redis->xReadGroup('Federation', 'Picard', ['ships' => '>'], 1);
-
-/* Retrieve the ID of the message we read.
-assert(isset($ship['ships']));
-$id = key($ship['ships']);
-
-// The message we just read is now pending.
-$res = $redis->xPending('ships', 'Federation'));
-var_dump($res);
-
-// We can tell Redis we were able to process the message by using XACK
-$res = $redis->xAck('ships', 'Federation', [$id]);
-assert($res === 1);
-
-// The message should no longer be pending.
-$res = $redis->xPending('ships', 'Federation');
+
$redis->xAdd('ships', '*', ['name' => 'Enterprise']);
+$redis->xAdd('ships', '*', ['name' => 'Defiant']);
+
+$redis->xGroup('CREATE', 'ships', 'Federation', '0-0');
+
+// Consume a single message with the consumer group 'Federation'
+$ship = $redis->xReadGroup('Federation', 'Picard', ['ships' => '>'], 1);
+
+/* Retrieve the ID of the message we read.
+assert(isset($ship['ships']));
+$id = key($ship['ships']);
+
+// The message we just read is now pending.
+$res = $redis->xPending('ships', 'Federation'));
+var_dump($res);
+
+// We can tell Redis we were able to process the message by using XACK
+$res = $redis->xAck('ships', 'Federation', [$id]);
+assert($res === 1);
+
+// The message should no longer be pending.
+$res = $redis->xPending('ships', 'Federation');
 var_dump($res);
@@ -15732,7 +18353,7 @@ var_dump($res);

- + Redis|string|false xadd(string $key, string $id, array $values, int $maxlen = 0, bool $approx = false, bool $nomkstream = false) @@ -15828,7 +18449,7 @@ but in a more efficient way, meaning the trimming may not be exactly to

- + Redis|bool|array xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false) @@ -15921,22 +18542,22 @@ but in a more efficient way, meaning the trimming may not be exactly to -
$redis->xGroup('CREATE', 'ships', 'combatants', '0-0', true);
-
-$redis->xAdd('ships', '1424-74205', ['name' => 'Defiant']);
-
-// Consume the ['name' => 'Defiant'] message
-$msgs = $redis->xReadGroup('combatants', "Jem'Hadar", ['ships' => '>'], 1);
-
-// The "Jem'Hadar" consumer has the message presently
-$pending = $redis->xPending('ships', 'combatants');
-var_dump($pending);
-
-// Assume control of the pending message with a different consumer.
-$res = $redis->xAutoClaim('ships', 'combatants', 'Sisko', 0, '0-0');
-
-// Now the 'Sisko' consumer owns the message
-$pending = $redis->xPending('ships', 'combatants');
+
$redis->xGroup('CREATE', 'ships', 'combatants', '0-0', true);
+
+$redis->xAdd('ships', '1424-74205', ['name' => 'Defiant']);
+
+// Consume the ['name' => 'Defiant'] message
+$msgs = $redis->xReadGroup('combatants', "Jem'Hadar", ['ships' => '>'], 1);
+
+// The "Jem'Hadar" consumer has the message presently
+$pending = $redis->xPending('ships', 'combatants');
+var_dump($pending);
+
+// Assume control of the pending message with a different consumer.
+$res = $redis->xAutoClaim('ships', 'combatants', 'Sisko', 0, '0-0');
+
+// Now the 'Sisko' consumer owns the message
+$pending = $redis->xPending('ships', 'combatants');
 var_dump($pending);
@@ -15947,7 +18568,7 @@ var_dump($pending);

- + Redis|array|bool xclaim(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options) @@ -15982,7 +18603,7 @@ command that does much the same thing but does not require passing specific IDs int $min_idle - +

The minimum idle-time in milliseconds a message must have for ownership to be transferred.

array @@ -15996,17 +18617,17 @@ command that does much the same thing but does not require passing specific IDs
# Following is an options array describing every option you can pass.  Note that
 # 'IDLE', and 'TIME' are mutually exclusive.
 $options = [
-    'IDLE'       => 3            # Set the idle time of the message to a 3.  By default
-                                 # the idle time is set to zero.
-    'TIME'       => 1000*time()  # Same as IDLE except it takes a unix timestamp in
-                                 # milliseconds.
-    'RETRYCOUNT' => 0            # Set the retry counter to zero.  By default XCLAIM
-                                 # doesn't modify the counter.
-    'FORCE'                      # Creates the pending message entry even if IDs are
-                                 # not already
-                                 # in the PEL with another client.
-    'JUSTID'                     # Return only an array of IDs rather than the messages
-                                 # themselves.
+    'IDLE'       => 3           # Set the idle time of the message to a 3.  By default
+                                # the idle time is set to zero.
+    'TIME'       => 1000*time() # Same as IDLE except it takes a unix timestamp in
+                                # milliseconds.
+    'RETRYCOUNT' => 0           # Set the retry counter to zero.  By default XCLAIM
+                                # doesn't modify the counter.
+    'FORCE'                     # Creates the pending message entry even if IDs are
+                                # not already
+                                # in the PEL with another client.
+    'JUSTID'                    # Return only an array of IDs rather than the messages
+                                # themselves.
 ];
@@ -16045,25 +18666,25 @@ $options = [ -
$redis->xGroup('CREATE', 'ships', 'combatants', '0-0', true);
-
-$redis->xAdd('ships', '1424-74205', ['name' => 'Defiant']);
-
-// Consume the ['name' => 'Defiant'] message
-$msgs = $redis->xReadGroup('combatants', "Jem'Hadar", ['ships' => '>'], 1);
-
-// The "Jem'Hadar" consumer has the message presently
-$pending = $redis->xPending('ships', 'combatants');
-var_dump($pending);
-
-assert($pending && isset($pending[1]));
-
-// Claim the message by ID.
-$claimed = $redis->xClaim('ships', 'combatants', 'Sisko', 0, [$pending[1]], ['JUSTID']);
-var_dump($claimed);
-
-// Now the 'Sisko' consumer owns the message
-$pending = $redis->xPending('ships', 'combatants');
+
$redis->xGroup('CREATE', 'ships', 'combatants', '0-0', true);
+
+$redis->xAdd('ships', '1424-74205', ['name' => 'Defiant']);
+
+// Consume the ['name' => 'Defiant'] message
+$msgs = $redis->xReadGroup('combatants', "Jem'Hadar", ['ships' => '>'], 1);
+
+// The "Jem'Hadar" consumer has the message presently
+$pending = $redis->xPending('ships', 'combatants');
+var_dump($pending);
+
+assert($pending && isset($pending[1]));
+
+// Claim the message by ID.
+$claimed = $redis->xClaim('ships', 'combatants', 'Sisko', 0, [$pending[1]], ['JUSTID']);
+var_dump($claimed);
+
+// Now the 'Sisko' consumer owns the message
+$pending = $redis->xPending('ships', 'combatants');
 var_dump($pending);
@@ -16074,7 +18695,7 @@ var_dump($pending);

- + Redis|int|false xdel(string $key, array $ids) @@ -16129,9 +18750,9 @@ var_dump($pending);

- + mixed - xgroup(string $operation, string $key = null, string $group = null, string $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2) + xgroup(string $operation, string|null $key = null, string|null $group = null, string|null $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2)

@@ -16166,17 +18787,17 @@ Requires: Key, group, consumer. Requires: Key, group.

- string + string|null $key

The STREAM we're operating on.

- string + string|null $group

The consumer group we want to create/modify/delete.

- string + string|null $id_or_consumer

The STREAM id (e.g. '$') or consumer group. See the operation section for information about which to send.

@@ -16190,7 +18811,9 @@ cause Redis to also create the STREAM if it doesn't currently exist.

int $entries_read - +

Allows you to set Redis' 'entries-read' STREAM value. This argument is +only relevant to the 'CREATE' and 'SETID' operations. +Note: Requires Redis >= 7.0.0.

@@ -16224,7 +18847,7 @@ cause Redis to also create the STREAM if it doesn't currently exist.

- + mixed xinfo(string $operation, string|null $arg1 = null, string|null $arg2 = null, int $count = -1) @@ -16306,7 +18929,7 @@ cause Redis to also create the STREAM if it doesn't currently exist.

- + Redis|int|false xlen(string $key) @@ -16367,7 +18990,7 @@ cause Redis to also create the STREAM if it doesn't currently exist.

- + Redis|array|false xpending(string $key, string $group, string|null $start = null, string|null $end = null, int $count = -1, string|null $consumer = null) @@ -16402,7 +19025,7 @@ acknowledged with XACK.

string|null $end - +

The maximum ID to consider.

int @@ -16452,7 +19075,7 @@ acknowledged with XACK.

- + Redis|array|bool xrange(string $key, string $start, string $end, int $count = -1) @@ -16531,7 +19154,7 @@ acknowledged with XACK.

- + Redis|array|bool xread(array $streams, int $count = -1, int $block = -1) @@ -16593,13 +19216,13 @@ data is available on any of the provided streams.

-
$redis->xAdd('s03', '3-1', ['title' => 'The Search, Part I']);
-$redis->xAdd('s03', '3-2', ['title' => 'The Search, Part II']);
-$redis->xAdd('s03', '3-3', ['title' => 'The House Of Quark']);
-$redis->xAdd('s04', '4-1', ['title' => 'The Way of the Warrior']);
-$redis->xAdd('s04', '4-3', ['title' => 'The Visitor']);
-$redis->xAdd('s04', '4-4', ['title' => 'Hippocratic Oath']);
-
+
$redis->xAdd('s03', '3-1', ['title' => 'The Search, Part I']);
+$redis->xAdd('s03', '3-2', ['title' => 'The Search, Part II']);
+$redis->xAdd('s03', '3-3', ['title' => 'The House Of Quark']);
+$redis->xAdd('s04', '4-1', ['title' => 'The Way of the Warrior']);
+$redis->xAdd('s04', '4-3', ['title' => 'The Visitor']);
+$redis->xAdd('s04', '4-4', ['title' => 'Hippocratic Oath']);
+
 $redis->xRead(['s03' => '3-2', 's04' => '4-1']);
@@ -16610,7 +19233,7 @@ $redis->xRead(['s03' => '3-2', 's04' => &

- + Redis|array|bool xreadgroup(string $group, string $consumer, array $streams, int $count = 1, int $block = 1) @@ -16681,23 +19304,23 @@ $redis->xRead(['s03' => '3-2', 's04' => & -
$redis->xGroup('CREATE', 'episodes', 'ds9', '0-0', true);
-
-$redis->xAdd('episodes', '1-1', ['title' => 'Emissary: Part 1']);
-$redis->xAdd('episodes', '1-2', ['title' => 'A Man Alone']);
-
-$messages = $redis->xReadGroup('ds9', 'sisko', ['episodes' => '>']);
-
-// After having read the two messages, add another
-$redis->xAdd('episodes', '1-3', ['title' => 'Emissary: Part 2']);
-
-// Acknowledge the first two read messages
-foreach ($messages as $stream => $stream_messages) {
- $ids = array_keys($stream_messages);
- $redis->xAck('stream', 'ds9', $ids);
-}
-
-// We can now pick up where we left off, and will only get the final message
+
$redis->xGroup('CREATE', 'episodes', 'ds9', '0-0', true);
+
+$redis->xAdd('episodes', '1-1', ['title' => 'Emissary: Part 1']);
+$redis->xAdd('episodes', '1-2', ['title' => 'A Man Alone']);
+
+$messages = $redis->xReadGroup('ds9', 'sisko', ['episodes' => '>']);
+
+// After having read the two messages, add another
+$redis->xAdd('episodes', '1-3', ['title' => 'Emissary: Part 2']);
+
+// Acknowledge the first two read messages
+foreach ($messages as $stream => $stream_messages) {
+    $ids = array_keys($stream_messages);
+    $redis->xAck('stream', 'ds9', $ids);
+}
+
+// We can now pick up where we left off, and will only get the final message
 $msgs = $redis->xReadGroup('ds9', 'sisko', ['episodes' => '>']);
@@ -16708,7 +19331,7 @@ $msgs = $redis->xReadGroup('ds9', 'sisko', ['episode

- + Redis|array|bool xrevrange(string $key, string $end, string $start, int $count = -1) @@ -16787,13 +19410,661 @@ $msgs = $redis->xReadGroup('ds9', 'sisko', ['episode +

+
+ +

+
+

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

+
+ + + +
+

Add to a vector set

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key

The vector set to add to.

array$values

A non-empty array of floating point values

mixed$element

The element to add to the vector set.

array|null$options

An optional options array

+ + +

Return Value

+ + + + + + +
Redis|int|false

One if the key was added zero if not.

+ + + + +
+
+ +
+
+

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

+
+ + + +
+

Query similarity of a vector by element or scores

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key

The vector set to query.

mixed$member

Either an element or array of scores. PhpRedis +will attempt to infer which it is, but since +there can be some ambiguity here due to +serialization you can also explicitly specify +ELE, VALUES, or FP32 in the options +array.

array|null$options

An optional options array

+ + +

Return Value

+ + + + + + +
Redis|array|false

An array of elements and their similarity scores, or false on failure.

+ + + + +
+
+ +
+
+

+ + Redis|int|false + vcard(string $key) + +

+
+ + + +
+

Get the length of a vector set

+
+
+

Parameters

+ + + + + + + +
string$key

The vector set to query.

+ + +

Return Value

+ + + + + + +
Redis|int|false

The number of elements in the vector set or false on failure.

+ + + + +
+
+ +
+
+

+ + Redis|int|false + vdim(string $key) + +

+
+ + + +
+

Get the dimensions of a vector set

+
+
+

Parameters

+ + + + + + + +
string$key

The vector set to query.

+ + +

Return Value

+ + + + + + +
Redis|int|false

The number of dimensions in the vector set or false on failure.

+ + + + +
+
+ +
+
+

+ + Redis|array|false + vinfo(string $key) + +

+
+ + + +
+

Get various bits of information about a vector set

+
+
+

Parameters

+ + + + + + + +
string$key

The vector set to query.

+ + +

Return Value

+ + + + + + +
Redis|array|false

An array of information about the vector set or false on failure.

+ + + + +
+
+ +
+
+

+ + Redis|bool + vismember(string $key, mixed $member) + +

+
+ + + +
+

Check if an element is a member of a vectorset

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The vector set to query.

mixed$member

The member to check for.

+ + +

Return Value

+ + + + + + +
Redis|bool

true if the member exists, false if it does not.

+ + + + +
+
+ +
+
+

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

+
+ + + +
+

Get the embeddings for a specific member

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key

The vector set to query.

mixed$member

The member to query.

bool$raw

If set to true, the raw embeddings will be returned

+ + +

Return Value

+ + + + + + +
Redis|array|false

An array of embeddings for the member or false on failure.

+ + + + +
+
+ +
+
+

+ + Redis|array|string|false + vrandmember(string $key, int $count = 0) + +

+
+ + + +
+

Get one or more random members from a vector set

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The vector set to query.

int$count

The number of random members to return.

+ + +

Return Value

+ + + + + + +
Redis|array|string|false
+ + + + +
+
+ +
+
+

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

+
+ + + +
+

Retreive a lexographical range of elements from a vector set

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key

The vector set to query.

string$min

The minimum element to return.

string$max

The maximum element to return.

int$count

An optional maximum number of elements to return.

+ + +

Return Value

+ + + + + + +
Redis|array|false

An array of elements in the requested range or false on failure.

+ + + + +
+
+ +
+
+

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

+
+ + + +
+

Remove an element from a vector set

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The vector set to remove from.

mixed$member

The member to remove.

+ + +

Return Value

+ + + + + + +
Redis|int|false

1 if the member was removed, 0 if it was not.

+ + + + +
+
+ +
+
+

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

+
+ + + +
+

Set the attributes of a vector set element

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key

The vector set to modify.

mixed$member

The member to modify.

array|string$attributes

The attributes to set. This should either +be a json encoded string or an array which +will be json encoded.

+ + +

Return Value

+ + + + + + +
Redis|int|false

1 if the attributes were set, 0 if they were not.

+ + + + +
+
+ +
+
+

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

+
+ + + +
+

Get the attributes of a vector set element

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key

The vector set to query.

mixed$member

The member to query.

bool$decode

Whether to automatically deserialize any returned json.

+ + +

Return Value

+ + + + + + +
Redis|array|string|false

An array of attributes for the member or false on failure.

+ + + + +
+
+ +
+
+ +
+ + + +
+

Get any adajcent values for a member of a vector set.

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key

The vector set to query.

mixed$member

The member to query.

bool$withscores

If set to true, the scores of the adjacent values will be returned.

+ + +

Return Value

+ + + + + + +
Redis|array|false

An array of adjacent values and their scores, or false on failure.

+ + + +

- + Redis|int|false xtrim(string $key, string $threshold, bool $approx = false, bool $minid = false, int $limit = -1) @@ -16881,8 +20152,8 @@ more efficient for Redis given how streams are stored internally.

- - Redis|int|false + + Redis|int|float|false zAdd(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems)

@@ -16906,8 +20177,7 @@ more efficient for Redis given how streams are stored internally.

array|float $score_or_options

Either the score for the first element, or an array of options.

-

- $options = [
+
 $options = [
      'NX',       # Only update elements that already exist
      'NX',       # Only add new elements but don't update existing ones.
 
@@ -16924,10 +20194,9 @@ more efficient for Redis given how streams are stored internally.

# increment the element by the # provided score, much like ZINCRBY. When this option # is passed, you may only send a single score and member. - ]; - - Note: 'GX', 'LT', and 'NX' cannot be passed together, and PhpRedis - will send whichever one is last in the options array.
+ ];
+

Note: 'GX', 'LT', and 'NX' cannot be passed together, and PhpRedis +will send whichever one is last in the options array.

mixed @@ -16941,7 +20210,7 @@ more efficient for Redis given how streams are stored internally.

- + @@ -16978,7 +20247,7 @@ more efficient for Redis given how streams are stored internally.

- + Redis|int|false zCard(string $key) @@ -17039,9 +20308,9 @@ more efficient for Redis given how streams are stored internally.

- + Redis|int|false - zCount(string $key, string $start, string $end) + zCount(string $key, int|string $start, int|string $end)

@@ -17061,14 +20330,16 @@ more efficient for Redis given how streams are stored internally.

- + - + - + - +
Redis|int|falseRedis|int|float|false

The return value varies depending on the options passed.

Following is information about the options that may be passed as the second argument:

The sorted set to check.

stringint|string $start

The minimum score to include in the count

stringint|string $end

The maximum score to include in the count

+

NOTE: In addition to a floating point score you may pass the special values of '-inf' and +'+inf' meaning negative and positive infinity, respectively.

@@ -17116,7 +20387,7 @@ more efficient for Redis given how streams are stored internally.

- + Redis|float|false zIncrBy(string $key, float $value, mixed $member) @@ -17190,7 +20461,7 @@ more efficient for Redis given how streams are stored internally.

- + Redis|int|false zLexCount(string $key, string $min, string $max) @@ -17252,7 +20523,7 @@ lexographical range.

-
$redis->zAdd('captains', 0, 'Janeway', 0, 'Kirk', 0, 'Picard', 0, 'Sisko', 0, 'Archer');
+
$redis->zAdd('captains', 0, 'Janeway', 0, 'Kirk', 0, 'Picard', 0, 'Sisko', 0, 'Archer');
 $redis->zLexCount('captains', '[A', '[S');
@@ -17263,7 +20534,7 @@ $redis->zLexCount('captains', '[A', '[S');

- + Redis|array|false zMscore(string $key, mixed $member, mixed ...$other_members) @@ -17324,9 +20595,9 @@ $redis->zLexCount('captains', '[A', '[S'); -
$redis->zAdd('zs', 0, 'zero', 1, 'one', 2, 'two', 3, 'three');
-
-$redis->zMScore('zs', 'zero', 'two');
+
$redis->zAdd('zs', 0, 'zero', 1, 'one', 2, 'two', 3, 'three');
+
+$redis->zMScore('zs', 'zero', 'two');
 $redis->zMScore('zs', 'one', 'not-a-member');
@@ -17337,9 +20608,9 @@ $redis->zMScore('zs', 'one', 'not-a-member');

- + Redis|array|false - zPopMax(string $key, int $count = null) + zPopMax(string $key, int|null $count = null)

@@ -17359,7 +20630,7 @@ $redis->zMScore('zs', 'one', 'not-a-member');

The sorted set to pop elements from.

- int + int|null $count

An optional count of elements to pop.

@@ -17371,7 +20642,7 @@ $redis->zMScore('zs', 'one', 'not-a-member'); Redis|array|false -

All of the popped elements with scores or false on fialure.

+

All of the popped elements with scores or false on failure

@@ -17393,9 +20664,9 @@ $redis->zMScore('zs', 'one', 'not-a-member'); -
$redis->zAdd('zs', 0, 'zero', 1, 'one', 2, 'two', 3, 'three');
-
-$redis->zPopMax('zs');
+
$redis->zAdd('zs', 0, 'zero', 1, 'one', 2, 'two', 3, 'three');
+
+$redis->zPopMax('zs');
 $redis->zPopMax('zs', 2);.
@@ -17406,9 +20677,9 @@ $redis->zPopMax('zs', 2);.

- + Redis|array|false - zPopMin(string $key, int $count = null) + zPopMin(string $key, int|null $count = null)

@@ -17428,7 +20699,7 @@ $redis->zPopMax('zs', 2);.

The sorted set to pop elements from.

- int + int|null $count

An optional count of elements to pop.

@@ -17462,9 +20733,9 @@ $redis->zPopMax('zs', 2);. -
$redis->zAdd('zs', 0, 'zero', 1, 'one', 2, 'two', 3, 'three');
-
-$redis->zPopMin('zs');
+
$redis->zAdd('zs', 0, 'zero', 1, 'one', 2, 'two', 3, 'three');
+
+$redis->zPopMin('zs');
 $redis->zPopMin('zs', 2);
@@ -17475,9 +20746,9 @@ $redis->zPopMin('zs', 2);

- + Redis|array|false - zRange(string $key, mixed $start, mixed $end, array|bool|null $options = null) + zRange(string $key, string|int $start, string|int $end, array|bool|null $options = null)

@@ -17498,12 +20769,12 @@ are passed in.

The sorted set in question.

- mixed + string|int $start

The starting index we want to return.

- mixed + string|int $end

The final index we want to return.

@@ -17555,7 +20826,7 @@ controls just the 'WITHSCORES' option.

$redis->zRange('zset', 0, -1);
-
$redis->zRange('zset', '-inf', 'inf', ['byscore' => true]);
+
$redis->zRange('zset', '-inf', 'inf', ['byscore']);
@@ -17565,7 +20836,7 @@ controls just the 'WITHSCORES' option.

- + Redis|array|false zRangeByLex(string $key, string $min, string $max, int $offset = -1, int $count = -1) @@ -17636,10 +20907,10 @@ controls just the 'WITHSCORES' option.

-
$redis = new Redis(['host' => 'localhost']);
-$redis->zAdd('captains', 0, 'Janeway', 0, 'Kirk', 0, 'Picard', 0, 'Sisko', 0, 'Archer');
-
-$redis->zRangeByLex('captains', '[A', '[S');
+
$redis = new Redis(['host' => 'localhost']);
+$redis->zAdd('captains', 0, 'Janeway', 0, 'Kirk', 0, 'Picard', 0, 'Sisko', 0, 'Archer');
+
+$redis->zRangeByLex('captains', '[A', '[S');
 $redis->zRangeByLex('captains', '[A', '[S', 2, 2);
@@ -17650,7 +20921,7 @@ $redis->zRangeByLex('captains', '[A', '[S', 2,

- + Redis|array|false zRangeByScore(string $key, string $start, string $end, array $options = []) @@ -17732,9 +21003,9 @@ $redis->zRangeByLex('captains', '[A', '[S', 2,

- + Redis|int|false - zrangestore(string $dstkey, string $srckey, string $start, string $end, array|bool|null $options = NULL) + zrangestore(string $dstkey, string $srckey, string $start, string $end, array|bool|null $options = null)

@@ -17812,9 +21083,9 @@ it will store them in a destination key provided by the user

- + Redis|string|array - zRandMember(string $key, array $options = null) + zRandMember(string $key, array|null $options = null)

@@ -17834,12 +21105,12 @@ it will store them in a destination key provided by the user

The sorted set to pull random members from.

- array + array|null $options -

One or more options that determine exactly how the command operates.

-

OPTION TYPE MEANING -'COUNT' int The number of random members to return. -'WITHSCORES' bool Whether to return scores and members instead of

+

One or more options that determine exactly how the command operates. +OPTION TYPE MEANING +'COUNT' int The number of random members to return. +'WITHSCORES' bool Whether to return scores and members instead of

@@ -17849,7 +21120,7 @@ it will store them in a destination key provided by the user

- +
Redis|string|array

One ore more random elements.

One or more random elements.

@@ -17881,7 +21152,7 @@ it will store them in a destination key provided by the user

- + Redis|int|false zRank(string $key, mixed $member) @@ -17905,7 +21176,7 @@ it will store them in a destination key provided by the user

mixed $member - +

The member to test.

@@ -17950,7 +21221,7 @@ it will store them in a destination key provided by the user

- + Redis|int|false zRem(mixed $key, mixed $member, mixed ...$other_members) @@ -18021,7 +21292,7 @@ it will store them in a destination key provided by the user

- + Redis|int|false zRemRangeByLex(string $key, string $min, string $max) @@ -18101,7 +21372,7 @@ it will store them in a destination key provided by the user

- + Redis|int|false zRemRangeByRank(string $key, int $start, int $end) @@ -18172,7 +21443,7 @@ it will store them in a destination key provided by the user

- + Redis|int|false zRemRangeByScore(string $key, string $start, string $end) @@ -18233,7 +21504,7 @@ it will store them in a destination key provided by the user

-
$redis->zAdd('zs', 2, 'two', 4, 'four', 6, 'six');
+
$redis->zAdd('zs', 2, 'two', 4, 'four', 6, 'six');
 $redis->zRemRangeByScore('zs', 2, 4);
@@ -18244,7 +21515,7 @@ $redis->zRemRangeByScore('zs', 2, 4);

- + Redis|array|false zRevRange(string $key, int $start, int $end, mixed $scores = null) @@ -18278,7 +21549,8 @@ $redis->zRemRangeByScore('zs', 2, 4); mixed $scores - +

Whether or not Redis should also return each members score. See +the example below demonstrating how it may be used.

@@ -18330,7 +21602,7 @@ on failure.

- + Redis|array|false zRevRangeByLex(string $key, string $max, string $min, int $offset = -1, int $count = -1) @@ -18354,12 +21626,12 @@ on failure.

string $max - +

The maximum legographical element to include in the result.

string $min -

The maximum legographical element to include in the result.

+

The minimum lexographical element to include in the result.

int @@ -18420,7 +21692,7 @@ on failure.

- + Redis|array|false zRevRangeByScore(string $key, string $max, string $min, array|bool $options = []) @@ -18459,7 +21731,7 @@ on failure.

'WITHSCORES' => true|false # Whether or not to return scores 'LIMIT' => [offset, count] # Return a subset of the matching members ];
-

NOTE: For legacy reason, you may also simply pass true for the +

NOTE: For legacy reason, you may also simply pass true for the options argument, to mean WITHSCORES.

@@ -18492,14 +21764,14 @@ options argument, to mean WITHSCORES.

-
$redis->zadd('oldest-people', 122.4493, 'Jeanne Calment', 119.2932, 'Kane Tanaka',
- 119.2658, 'Sarah Knauss', 118.7205, 'Lucile Randon',
- 117.7123, 'Nabi Tajima', 117.6301, 'Marie-Louise Meilleur',
- 117.5178, 'Violet Brown', 117.3753, 'Emma Morano',
- 117.2219, 'Chiyo Miyako', 117.0740, 'Misao Okawa');
-
-$redis->zRevRangeByScore('oldest-people', 122, 119);
-$redis->zRevRangeByScore('oldest-people', 'inf', 118);
+
$redis->zadd('oldest-people', 122.4493, 'Jeanne Calment', 119.2932, 'Kane Tanaka',
+                              119.2658, 'Sarah Knauss',   118.7205, 'Lucile Randon',
+                              117.7123, 'Nabi Tajima',    117.6301, 'Marie-Louise Meilleur',
+                              117.5178, 'Violet Brown',   117.3753, 'Emma Morano',
+                              117.2219, 'Chiyo Miyako',   117.0740, 'Misao Okawa');
+
+$redis->zRevRangeByScore('oldest-people', 122, 119);
+$redis->zRevRangeByScore('oldest-people', 'inf', 118);
 $redis->zRevRangeByScore('oldest-people', '117.5', '-inf', ['LIMIT' => [0, 1]]);
@@ -18510,7 +21782,7 @@ $redis->zRevRangeByScore('oldest-people', '117.5', '

- + Redis|int|false zRevRank(string $key, mixed $member) @@ -18567,9 +21839,9 @@ false on failure.

-
$redis->zAdd('ds9-characters', 10, 'Sisko', 9, 'Garak', 8, 'Dax', 7, 'Odo');
-
-$redis->zrevrank('ds9-characters', 'Sisko');
+
$redis->zAdd('ds9-characters', 10, 'Sisko', 9, 'Garak', 8, 'Dax', 7, 'Odo');
+
+$redis->zrevrank('ds9-characters', 'Sisko');
 $redis->zrevrank('ds9-characters', 'Garak');
@@ -18580,7 +21852,7 @@ $redis->zrevrank('ds9-characters', 'Garak');

- + Redis|float|false zScore(string $key, mixed $member) @@ -18614,7 +21886,7 @@ $redis->zrevrank('ds9-characters', 'Garak'); - +
Redis|float|false

score of the requested element or false if it is not found.

The score of the requested element or false if it is not found.

@@ -18636,7 +21908,7 @@ $redis->zrevrank('ds9-characters', 'Garak'); -
$redis->zAdd('telescopes', 11.9, 'LBT', 10.4, 'GTC', 10, 'HET');
+
$redis->zAdd('telescopes', 11.9, 'LBT', 10.4, 'GTC', 10, 'HET');
 $redis->zScore('telescopes', 'LBT');
@@ -18647,9 +21919,9 @@ $redis->zScore('telescopes', 'LBT');

- + Redis|array|false - zdiff(array $keys, array $options = null) + zdiff(array $keys, array|null $options = null)

@@ -18667,10 +21939,10 @@ set but not any of the others.

array $keys -

One ore more sorted sets.

+

One or more sorted sets.

- array + array|null $options

An array which can contain ['WITHSCORES' => true] if you want Redis to return members and scores.

@@ -18705,10 +21977,10 @@ return members and scores.

-
$redis->zAdd('primes', 1, 'one', 3, 'three', 5, 'five');
-$redis->zAdd('evens', 2, 'two', 4, 'four');
-$redis->zAdd('mod3', 3, 'three', 6, 'six');
-
+
$redis->zAdd('primes', 1, 'one', 3, 'three', 5, 'five');
+$redis->zAdd('evens', 2, 'two', 4, 'four');
+$redis->zAdd('mod3', 3, 'three', 6, 'six');
+
 $redis->zDiff(['primes', 'evens', 'mod3']);
@@ -18719,7 +21991,7 @@ $redis->zDiff(['primes', 'evens', 'mod3']);

- + Redis|int|false zdiffstore(string $dst, array $keys) @@ -18738,7 +22010,7 @@ $redis->zDiff(['primes', 'evens', 'mod3']); string $dst - +

The destination set name.

array @@ -18785,7 +22057,7 @@ Redis::zdiff

- + Redis|array|false zinter(array $keys, array|null $weights = null, array|null $options = null) @@ -18804,7 +22076,7 @@ Redis::zdiff array $keys -

One ore more sorted sets.

+

One or more sorted sets.

array|null @@ -18848,11 +22120,11 @@ intersection. See Redis::zunion() for details.

-
$redis->zAdd('TNG', 2, 'Worf', 2.5, 'Data', 4.0, 'Picard');
-$redis->zAdd('DS9', 2.5, 'Worf', 3.0, 'Kira', 4.0, 'Sisko');
-
-$redis->zInter(['TNG', 'DS9']);
-$redis->zInter(['TNG', 'DS9'], NULL, ['withscores' => true]);
+
$redis->zAdd('TNG', 2, 'Worf', 2.5, 'Data', 4.0, 'Picard');
+$redis->zAdd('DS9', 2.5, 'Worf', 3.0, 'Kira', 4.0, 'Sisko');
+
+$redis->zInter(['TNG', 'DS9']);
+$redis->zInter(['TNG', 'DS9'], NULL, ['withscores' => true]);
 $redis->zInter(['TNG', 'DS9'], NULL, ['withscores' => true, 'aggregate' => 'max']);
@@ -18863,7 +22135,7 @@ $redis->zInter(['TNG', 'DS9'], NULL, ['withscores�

- + Redis|int|false zintercard(array $keys, int $limit = -1) @@ -18883,7 +22155,7 @@ cardinality of the intersected set.

array $keys -

One ore more sorted set key names.

+

One or more sorted set key names.

int @@ -18935,9 +22207,9 @@ Redis::zinter -
$redis->zAdd('zs1', 1, 'one', 2, 'two', 3, 'three', 4, 'four');
-$redis->zAdd('zs2', 2, 'two', 4, 'four');
-
+
$redis->zAdd('zs1', 1, 'one', 2, 'two', 3, 'three', 4, 'four');
+$redis->zAdd('zs2', 2, 'two', 4, 'four');
+
 $redis->zInterCard(['zs1', 'zs2']);
@@ -18948,7 +22220,7 @@ $redis->zInterCard(['zs1', 'zs2']);

- + Redis|int|false zinterstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null) @@ -18958,7 +22230,7 @@ $redis->zInterCard(['zs1', 'zs2']);
-

Compute the intersection of one ore more sorted sets storing the result in a new sorted set.

+

Compute the intersection of one or more sorted sets storing the result in a new sorted set.

Parameters

@@ -18972,7 +22244,7 @@ $redis->zInterCard(['zs1', 'zs2']); array $keys -

One ore more sorted set key names.

+

One or more sorted set key names.

array|null @@ -18982,8 +22254,8 @@ $redis->zInterCard(['zs1', 'zs2']); string|null $aggregate -

An optional aggregation method to use.

-

'SUM' - Store sum of all intersected members (this is the default). +

An optional aggregation method to use. +'SUM' - Store sum of all intersected members (this is the default). 'MIN' - Store minimum value for each intersected member. 'MAX' - Store maximum value for each intersected member.

@@ -19023,11 +22295,11 @@ $redis->zInterCard(['zs1', 'zs2']); -
$redis->zAdd('zs1', 3, 'apples', 2, 'pears');
-$redis->zAdd('zs2', 4, 'pears', 3, 'bananas');
-$redis->zAdd('zs3', 2, 'figs', 3, 'pears');
-
-$redis->zInterStore('fruit-sum', ['zs1', 'zs2', 'zs3']);
+
$redis->zAdd('zs1', 3, 'apples', 2, 'pears');
+$redis->zAdd('zs2', 4, 'pears', 3, 'bananas');
+$redis->zAdd('zs3', 2, 'figs', 3, 'pears');
+
+$redis->zInterStore('fruit-sum', ['zs1', 'zs2', 'zs3']);
 $redis->zInterStore('fruit-max', ['zs1', 'zs2', 'zs3'], NULL, 'MAX');
@@ -19038,9 +22310,9 @@ $redis->zInterStore('fruit-max', ['zs1', 'zs2',

- + Redis|array|false - zscan(string $key, int|null $iterator, string|null $pattern = null, int $count = 0) + zscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)

@@ -19060,7 +22332,7 @@ $redis->zInterStore('fruit-max', ['zs1', 'zs2',

The sorted set to scan.

- int|null + null|int|string $iterator

A reference to an iterator that should be initialized to NULL initially, that will be updated after each subsequent call to ZSCAN. Once the iterator @@ -19124,7 +22396,7 @@ Redis::scan

- + Redis|array|false zunion(array $keys, array|null $weights = null, array|null $options = null) @@ -19143,7 +22415,7 @@ Redis::scan array $keys -

One ore more sorted set key names

+

One or more sorted set key names

array|null @@ -19185,13 +22457,13 @@ elements as the $keys array.

-
$redis->del('store1', 'store2', 'store3');
-$redis->zAdd('store1', 1, 'apples', 3, 'pears', 6, 'bananas');
-$redis->zAdd('store2', 3, 'apples', 5, 'coconuts', 2, 'bananas');
-$redis->zAdd('store3', 2, 'bananas', 6, 'apples', 4, 'figs');
-
-$redis->zUnion(['store1', 'store2', 'store3'], NULL, ['withscores' => true]);
-$redis->zUnion(['store1', 'store3'], [2, .5], ['withscores' => true]);
+
$redis->del('store1', 'store2', 'store3');
+$redis->zAdd('store1', 1, 'apples', 3, 'pears', 6, 'bananas');
+$redis->zAdd('store2', 3, 'apples', 5, 'coconuts', 2, 'bananas');
+$redis->zAdd('store3', 2, 'bananas', 6, 'apples', 4, 'figs');
+
+$redis->zUnion(['store1', 'store2', 'store3'], NULL, ['withscores' => true]);
+$redis->zUnion(['store1', 'store3'], [2, .5], ['withscores' => true]);
 $redis->zUnion(['store1', 'store3'], [2, .5], ['withscores' => true, 'aggregate' => 'MIN']);
@@ -19202,9 +22474,9 @@ $redis->zUnion(['store1', 'store3'], [2, .5], ['with

- + Redis|int|false - zunionstore(string $dst, array $keys, array|null $weights = NULL, string|null $aggregate = NULL) + zunionstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)

@@ -19276,14 +22548,56 @@ Redis::zunion -
$redis->zAdd('zs1', 1, 'one', 3, 'three');
-$redis->zAdd('zs1', 2, 'two', 4, 'four');
-$redis->zadd('zs3', 1, 'one', 7, 'five');
-
+
$redis->zAdd('zs1', 1, 'one', 3, 'three');
+$redis->zAdd('zs1', 2, 'two', 4, 'four');
+$redis->zadd('zs3', 1, 'one', 7, 'five');
+
 $redis->zUnionStore('dst', ['zs1', 'zs2', 'zs3']);
+
+
+ +
+
+

+ + Redis|string|false + digest(string $key) + +

+
+ + + +
+

Ask the server for the XXH3 digest of a given key's value

+
+
+

Parameters

+ + + + + + + +
string$key

The key to retrieve the digest for.

+ + +

Return Value

+ + + + + + +
Redis|string|false

The XXH3 digest as a string or false on failure.

+ + + +
diff --git a/docs/RedisArray.html b/docs/RedisArray.html index 2a8ffb4d..813cbff2 100644 --- a/docs/RedisArray.html +++ b/docs/RedisArray.html @@ -113,7 +113,7 @@
- __construct(string|array $name_or_hosts, array $options = NULL) + __construct(string|array $name_or_hosts, array|null $options = null)

No description

@@ -179,7 +179,7 @@ bool|null

- _rehash(callable $fn = NULL) + _rehash(callable|null $fn = null)

No description

@@ -231,7 +231,7 @@
- bool|null + bool|null|array
exec() @@ -278,7 +278,7 @@ bool|array
- hscan(string $key, int|null $iterator, string|null $pattern = null, int $count = 0) + hscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)

No description

@@ -333,7 +333,7 @@ bool|RedisArray
- multi(string $host, int $mode = NULL) + multi(string $host, int|null $mode = null)

No description

@@ -366,7 +366,7 @@ bool|array
- scan(int|null $iterator, string $node, string|null $pattern = null, int $count = 0) + scan(null|int|string $iterator, string $node, string|null $pattern = null, int $count = 0)

No description

@@ -399,7 +399,7 @@ bool|array
- sscan(string $key, int|null $iterator, string|null $pattern = null, int $count = 0) + sscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)

No description

@@ -432,7 +432,2735 @@ bool|array
- zscan(string $key, int|null $iterator, string|null $pattern = null, int $count = 0) + 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

@@ -446,7 +3174,7 @@

- + mixed __call(string $function_name, array $arguments) @@ -494,9 +3222,9 @@

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

@@ -517,7 +3245,7 @@ - array + array|null $options @@ -533,7 +3261,7 @@

- + bool|array _continuum() @@ -566,7 +3294,7 @@

- + bool|callable _distributor() @@ -599,7 +3327,7 @@

- + bool|callable _function() @@ -632,7 +3360,7 @@

- + bool|array _hosts() @@ -665,7 +3393,7 @@

- + bool|null|Redis _instance(string $host) @@ -708,9 +3436,9 @@

- + bool|null - _rehash(callable $fn = NULL) + _rehash(callable|null $fn = null)

@@ -726,7 +3454,7 @@ - + @@ -751,7 +3479,7 @@

- + bool|string|null _target(string $key) @@ -794,7 +3522,7 @@

- + array bgsave() @@ -827,7 +3555,7 @@

- + bool|int del(string|array $key, string ...$otherkeys) @@ -875,7 +3603,7 @@

- + bool|null discard() @@ -908,8 +3636,8 @@

- - bool|null + + bool|null|array exec()

@@ -927,7 +3655,7 @@
callablecallable|null $fn
- +
bool|nullbool|null|array
@@ -941,7 +3669,7 @@

- + bool|array flushall() @@ -974,7 +3702,7 @@

- + bool|array flushdb() @@ -1007,7 +3735,7 @@

- + bool|array getOption(int $opt) @@ -1050,9 +3778,9 @@

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

@@ -1073,7 +3801,7 @@ - int|null + null|int|string $iterator @@ -1108,7 +3836,7 @@

- + bool|array info() @@ -1141,7 +3869,7 @@

- + bool|array keys(string $pattern) @@ -1184,7 +3912,7 @@

- + bool|array mget(array $keys) @@ -1227,7 +3955,7 @@

- + bool mset(array $pairs) @@ -1270,9 +3998,9 @@

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

@@ -1293,7 +4021,7 @@ - int + int|null $mode @@ -1318,7 +4046,7 @@

- + bool|array ping() @@ -1351,7 +4079,7 @@

- + bool|array save() @@ -1384,9 +4112,9 @@

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

@@ -1402,7 +4130,7 @@ - + @@ -1442,7 +4170,7 @@

- + bool|array select(int $index) @@ -1485,7 +4213,7 @@

- + bool|array setOption(int $opt, string $value) @@ -1533,9 +4261,9 @@

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

@@ -1556,7 +4284,7 @@
- + @@ -1591,7 +4319,7 @@

- + bool|null unwatch() @@ -1672,9 +4400,9 @@

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

@@ -1695,7 +4423,7 @@
- + @@ -1724,6 +4452,12375 @@ + + + + +
+

+ + mixed + acl(string $subcmd, string $args) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ +
int|nullnull|int|string $iterator
int|nullnull|int|string $iterator
int|nullnull|int|string $iterator
+ + + + + + + + + + +
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
+ + + +
diff --git a/docs/RedisCluster.html b/docs/RedisCluster.html index 4e9fb9fa..f3c387c8 100644 --- a/docs/RedisCluster.html +++ b/docs/RedisCluster.html @@ -92,6 +92,54 @@ +

Constants

+ + + + + + + + + + + + + + + + + + + + +
+ OPT_SLAVE_FAILOVER + +

+

+
+ FAILOVER_NONE + +

+

+
+ FAILOVER_ERROR + +

+

+
+ FAILOVER_DISTRIBUTE + +

+

+
+ FAILOVER_DISTRIBUTE_SLAVES + +

+

+
+

Methods

@@ -102,7 +150,7 @@
- __construct(string|null $name, array $seeds = NULL, int|float $timeout = 0, int|float $read_timeout = 0, bool $persistent = false, mixed $auth = NULL, array $context = NULL) + __construct(string|null $name, array|null $seeds = null, int|float $timeout = 0, int|float $read_timeout = 0, bool $persistent = false, mixed $auth = null, array|null $context = null)

No description

@@ -164,6 +212,17 @@
+
+ string +
+
+ _digest(mixed $value) + +

No description

+
+
+
+
mixed
@@ -241,6 +300,28 @@
+
+ RedisCluster|int|false +
+
+ wait(string|array $key_or_address, int $numreplicas, int $timeout) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ waitaof(string|array $key_or_address, int $numlocal, int $numreplicas, int $timeout) + +

No description

+
+
+
+
RedisCluster|bool
@@ -312,6 +393,26 @@

See Redis::brpoplpush()

+
+
+
+ RedisCluster|string|false +
+
+ lmove(string $src, string $dst, string $wherefrom, string $whereto) + +

Move an element from one list into another.

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

Move an element from one list to another, blocking up to a timeout until an element is available.

+
@@ -395,7 +496,7 @@ array|string|bool
- client(string|array $key_or_address, string $subcommand, string|null $arg = NULL) + client(string|array $key_or_address, string $subcommand, string|null $arg = null)

No description

@@ -457,6 +558,17 @@
+
+ RedisCluster|bool +
+
+ copy(string $src, string $dst, array|null $options = null) + +

No description

+
+
+
+
RedisCluster|int|false
@@ -499,6 +611,27 @@

No description

+
+
+
+ RedisCluster|int|false +
+
+ delex(string $key, array|null $options = null) + +

Delete a key conditionally based on its value or hash digest

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

Delete a key if it's equal to the specified value. This command is +specific to Valkey >= 9.0

+
@@ -615,7 +748,7 @@ RedisCluster|bool
- expire(string $key, int $timeout, string|null $mode = NULL) + expire(string $key, int $timeout, string|null $mode = null)

No description

@@ -626,7 +759,7 @@ RedisCluster|bool
- expireat(string $key, int $timestamp, string|null $mode = NULL) + expireat(string $key, int $timestamp, string|null $mode = null)

No description

@@ -765,6 +898,28 @@
+
+ RedisCluster|array +
+
+ geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = []) + +

No description

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

No description

+
+
+
+
mixed
@@ -776,6 +931,39 @@
+
+ mixed +
+
+ getdel(string $key) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ getWithMeta(string $key) + +

No description

+
+
+
+
+
+ RedisCluster|string|false +
+
+ getex(string $key, array $options = []) + +

No description

+
+
+
+
RedisCluster|int|false
@@ -835,7 +1023,7 @@ RedisCluster|string|array|int|false
- lcs(string $key1, string $key2, array|null $options = NULL) + lcs(string $key1, string $key2, array|null $options = null)

No description

@@ -854,7 +1042,7 @@
- int|false + array|false
gettransferredbytes() @@ -864,6 +1052,17 @@
+
+ void +
+
+ cleartransferredbytes() + +

No description

+
+
+
+
RedisCluster|int|false
@@ -908,6 +1107,17 @@
+
+ mixed +
+
+ hgetWithMeta(string $key, string $member) + +

No description

+
+
+
+
RedisCluster|int|false
@@ -963,6 +1173,39 @@
+
+ RedisCluster|array|false +
+
+ hgetex(string $key, array $fields, string|array|null $expiry = null) + +

No description

+
+
+
+
+
+ RedisCluster|int|false +
+
+ hsetex(string $key, array $fields, array|null $expiry = null) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ hgetdel(string $key, array $fields) + +

No description

+
+
+
+
RedisCluster|bool
@@ -978,7 +1221,40 @@ array|bool
- hscan(string $key, int|null $iterator, string|null $pattern = null, int $count = 0) + hscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0) + +

No description

+
+
+
+
+
+ RedisCluster|int|false +
+
+ expiremember(string $key, string $field, int $ttl, string|null $unit = null) + +

No description

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

No description

+
+
+
+
+
+ RedisCluster|string|array +
+
+ hrandfield(string $key, array|null $options = null)

No description

@@ -1021,6 +1297,105 @@
RedisCluster|array|false
+
+ hexpire(string $key, int $ttl, array $fields, string|null $mode = NULL) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ hpexpire(string $key, int $ttl, array $fields, string|null $mode = NULL) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ hexpireat(string $key, int $time, array $fields, string|null $mode = NULL) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ hpexpireat(string $key, int $mstime, array $fields, string|null $mode = NULL) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ httl(string $key, array $fields) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ hpttl(string $key, array $fields) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ hexpiretime(string $key, array $fields) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ hpexpiretime(string $key, array $fields) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ hpersist(string $key, array $fields) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
hvals(string $key) @@ -1152,6 +1527,17 @@ to that section.

+
+ RedisCluster|null|bool|int|array +
+
+ lpos(string $key, mixed $value, array|null $options = null) + +

No description

+
+
+
+
RedisCluster|int|bool
@@ -1288,7 +1674,7 @@ to that section.

RedisCluster|bool

- pexpire(string $key, int $timeout, string|null $mode = NULL) + pexpire(string $key, int $timeout, string|null $mode = null)

No description

@@ -1299,7 +1685,7 @@ to that section.

RedisCluster|bool
- pexpireat(string $key, int $timestamp, string|null $mode = NULL) + pexpireat(string $key, int $timestamp, string|null $mode = null)

No description

@@ -1343,7 +1729,7 @@ to that section.

mixed

- ping(string|array $key_or_address, string|null $message = NULL) + ping(string|array $key_or_address, string|null $message = null)

PING an instance in the redis cluster.

@@ -1383,7 +1769,7 @@ to that section.

- RedisCluster|bool + RedisCluster|bool|int
publish(string $channel, string $message) @@ -1463,7 +1849,7 @@ to that section.

RedisCluster|bool
- restore(string $key, int $timeout, string $value, array|null $options = NULL) + restore(string $key, int $timeout, string $value, array|null $options = null)

No description

@@ -1562,7 +1948,7 @@ to that section.

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

No description

@@ -1617,7 +2003,7 @@ to that section.

RedisCluster|string|bool
- set(string $key, mixed $value, mixed $options = NULL) + set(string $key, mixed $value, mixed $options = null)

No description

@@ -1723,6 +2109,17 @@ to that section.

+
+ RedisCluster|array|false +
+
+ smismember(string $key, string $member, string ...$other_members) + +

No description

+
+
+
+
mixed
@@ -1760,7 +2157,7 @@ to that section.

RedisCluster|array|bool|int|string
- sort(string $key, array|null $options = NULL) + sort(string $key, array|null $options = null)

No description

@@ -1771,7 +2168,7 @@ to that section.

RedisCluster|array|bool|int|string

- sort_ro(string $key, array|null $options = NULL) + sort_ro(string $key, array|null $options = null)

No description

@@ -1815,7 +2212,7 @@ to that section.

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

No description

@@ -1946,6 +2343,147 @@ to that section.

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

No description

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

No description

+
+
+
+
+
+ RedisCluster|int|false +
+
+ vcard(string $key) + +

No description

+
+
+
+
+
+ RedisCluster|int|false +
+
+ vdim(string $key) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ vinfo(string $key) + +

No description

+
+
+
+
+
+ RedisCluster|bool +
+
+ vismember(string $key, mixed $member) + +

Check if an element is a member of a vectorset

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

No description

+
+
+
+
+
+ RedisCluster|array|string|false +
+
+ vrandmember(string $key, int $count = 0) + +

No description

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

Retreive a lexographical range of elements from a vector set

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

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ vlinks(string $key, mixed $member, bool $withscores = false) + +

No description

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

No description

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

No description

+
+
+
+
+
+ RedisCluster|int|false +
xack(string $key, string $group, array $ids) @@ -1991,7 +2529,7 @@ to that section.

mixed
- xgroup(string $operation, string $key = null, string $group = null, string $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2) + xgroup(string $operation, string|null $key = null, string|null $group = null, string|null $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2)

No description

@@ -1999,7 +2537,7 @@ to that section.

- Redis|bool|array + RedisCluster|bool|array
xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false) @@ -2098,7 +2636,7 @@ to that section.

- RedisCluster|int|false + RedisCluster|int|float|false
zadd(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems) @@ -2178,7 +2716,7 @@ to that section.

RedisCluster|bool|array
- zpopmax(string $key, int $value = null) + zpopmax(string $key, int|null $value = null)

No description

@@ -2189,7 +2727,7 @@ to that section.

RedisCluster|bool|array
- zpopmin(string $key, int $value = null) + zpopmin(string $key, int|null $value = null)

No description

@@ -2218,6 +2756,17 @@ to that section.

+
+ RedisCluster|string|array +
+
+ zrandmember(string $key, array|null $options = null) + +

No description

+
+
+
+
RedisCluster|array|false
@@ -2299,7 +2848,7 @@ to that section.

RedisCluster|bool|array
- zrevrange(string $key, string $min, string $max, array $options = null) + zrevrange(string $key, string $min, string $max, array|null $options = null)

No description

@@ -2310,7 +2859,7 @@ to that section.

RedisCluster|bool|array
- zrevrangebylex(string $key, string $min, string $max, array $options = null) + zrevrangebylex(string $key, string $min, string $max, array|null $options = null)

No description

@@ -2321,7 +2870,7 @@ to that section.

RedisCluster|bool|array
- zrevrangebyscore(string $key, string $min, string $max, array $options = null) + zrevrangebyscore(string $key, string $min, string $max, array|null $options = null)

No description

@@ -2343,7 +2892,7 @@ to that section.

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

No description

@@ -2361,11 +2910,77 @@ to that section.

+
+ RedisCluster|array|false +
+
+ zmscore(string $key, mixed $member, mixed ...$other_members) + +

No description

+
+
+
+
RedisCluster|int|false
- zunionstore(string $dst, array $keys, array|null $weights = NULL, string|null $aggregate = NULL) + zunionstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ zinter(array $keys, array|null $weights = null, array|null $options = null) + +

No description

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

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ zunion(array $keys, array|null $weights = null, array|null $options = null) + +

No description

+
+
+
+
+
+ RedisCluster|array|false +
+
+ zdiff(array $keys, array|null $options = null) + +

No description

+
+
+
+
+
+ RedisCluster|string|false +
+
+ digest(string $key)

No description

@@ -2379,9 +2994,9 @@ to that section.

- + - __construct(string|null $name, array $seeds = NULL, int|float $timeout = 0, int|float $read_timeout = 0, bool $persistent = false, mixed $auth = NULL, array $context = NULL) + __construct(string|null $name, array|null $seeds = null, int|float $timeout = 0, int|float $read_timeout = 0, bool $persistent = false, mixed $auth = null, array|null $context = null)

@@ -2402,7 +3017,7 @@ to that section.

- array + array|null $seeds @@ -2427,7 +3042,7 @@ to that section.

- array + array|null $context @@ -2443,7 +3058,7 @@ to that section.

- + string _compress(string $value) @@ -2498,7 +3113,7 @@ Redis::_compress

- + string _uncompress(string $value) @@ -2553,7 +3168,7 @@ Redis::_uncompress

- + bool|string _serialize(mixed $value) @@ -2608,7 +3223,7 @@ Redis::_serialize

- + mixed _unserialize(string $value) @@ -2663,7 +3278,7 @@ Redis::_unserialize

- + string _pack(mixed $value) @@ -2715,10 +3330,65 @@ Redis::_pack

+ +
+

+ + string + _digest(mixed $value) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + +
mixed$value
+ + +

Return Value

+ + + + + + +
string
+ + + +

See also

+ + + + + + +
+ +Redis::_digest +
+ + +
+
+

- + mixed _unpack(string $value) @@ -2773,7 +3443,7 @@ Redis::_unpack

- + bool|string _prefix(string $key) @@ -2828,7 +3498,7 @@ Redis::_prefix

- + array _masters() @@ -2861,7 +3531,7 @@ Redis::_prefix

- + string|null _redir() @@ -2894,7 +3564,7 @@ Redis::_prefix

- + mixed acl(string|array $key_or_address, string $subcmd, string ...$args) @@ -2958,7 +3628,7 @@ Redis::_prefix

- + RedisCluster|bool|int append(string $key, mixed $value) @@ -3018,7 +3688,7 @@ Redis::append

- + RedisCluster|bool bgrewriteaof(string|array $key_or_address) @@ -3069,10 +3739,143 @@ Redis::append

+ +
+

+ + RedisCluster|int|false + wait(string|array $key_or_address, int $numreplicas, int $timeout) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string|array$key_or_address
int$numreplicas
int$timeout
+ + +

Return Value

+ + + + + + +
RedisCluster|int|false
+ + + +

See also

+ + + + + + +
+ Redis::wait +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + waitaof(string|array $key_or_address, int $numlocal, int $numreplicas, int $timeout) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string|array$key_or_address
int$numlocal
int$numreplicas
int$timeout
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::waitaof +
+ + +
+
+

- + RedisCluster|bool bgsave(string|array $key_or_address) @@ -3126,7 +3929,7 @@ Redis::append

- + RedisCluster|bool|int bitcount(string $key, int $start = 0, int $end = -1, bool $bybit = false) @@ -3195,7 +3998,7 @@ Redis::append

- + RedisCluster|bool|int bitop(string $operation, string $deskey, string $srckey, string ...$otherkeys) @@ -3264,7 +4067,7 @@ Redis::append

- + RedisCluster|int|false bitpos(string $key, bool $bit, int $start = 0, int $end = -1, bool $bybit = false) @@ -3338,7 +4141,7 @@ was 0 and end was 2, Redis would only search the first two bits.

- + RedisCluster|array|null|false blpop(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args) @@ -3390,7 +4193,7 @@ was 0 and end was 2, Redis would only search the first two bits.

- + RedisCluster|array|null|false brpop(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args) @@ -3442,7 +4245,7 @@ was 0 and end was 2, Redis would only search the first two bits.

- + mixed brpoplpush(string $srckey, string $deskey, int $timeout) @@ -3488,13 +4291,154 @@ was 0 and end was 2, Redis would only search the first two bits.

+

+ + + +
+

+ + RedisCluster|string|false + lmove(string $src, string $dst, string $wherefrom, string $whereto) + +

+
+ + + +
+

Move an element from one list into another.

+
+
+

Parameters

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

Return Value

+ + + + + + +
RedisCluster|string|false
+ + + +

See also

+ + + + + + +
+ Redis::lmove +
+ + +
+
+ +
+
+

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

+
+ + + +
+

Move an element from one list to another, blocking up to a timeout until an element is available.

+
+
+

Parameters

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

Return Value

+ + + + + + +
RedisCluster|string|false
+ + + +

See also

+ + + + + + +
+ Redis::blmove +
+ +

- + array bzpopmax(string|array $key, string|int $timeout_or_key, mixed ...$extra_args) @@ -3558,7 +4502,7 @@ was 0 and end was 2, Redis would only search the first two bits.

- + array bzpopmin(string|array $key, string|int $timeout_or_key, mixed ...$extra_args) @@ -3622,7 +4566,7 @@ was 0 and end was 2, Redis would only search the first two bits.

- + RedisCluster|array|null|false bzmpop(float $timeout, array $keys, string $from, int $count = 1) @@ -3691,7 +4635,7 @@ was 0 and end was 2, Redis would only search the first two bits.

- + RedisCluster|array|null|false zmpop(array $keys, string $from, int $count = 1) @@ -3755,7 +4699,7 @@ was 0 and end was 2, Redis would only search the first two bits.

- + RedisCluster|array|null|false blmpop(float $timeout, array $keys, string $from, int $count = 1) @@ -3825,7 +4769,7 @@ Redis::blmpop

- + RedisCluster|array|null|false lmpop(array $keys, string $from, int $count = 1) @@ -3890,7 +4834,7 @@ Redis::lmpop

- + bool clearlasterror() @@ -3934,9 +4878,9 @@ Redis::lmpop

- + array|string|bool - client(string|array $key_or_address, string $subcommand, string|null $arg = NULL) + client(string|array $key_or_address, string $subcommand, string|null $arg = null)

@@ -3998,7 +4942,7 @@ Redis::lmpop

- + bool close() @@ -4042,7 +4986,7 @@ Redis::lmpop

- + mixed cluster(string|array $key_or_address, string $command, mixed ...$extra_args) @@ -4106,7 +5050,7 @@ Redis::lmpop

- + mixed command(mixed ...$extra_args) @@ -4160,7 +5104,7 @@ Redis::lmpop

- + mixed config(string|array $key_or_address, string $subcommand, mixed ...$extra_args) @@ -4225,7 +5169,7 @@ Redis::config

- + RedisCluster|int dbsize(string|array $key_or_address) @@ -4276,10 +5220,74 @@ Redis::config

+ +
+

+ + RedisCluster|bool + copy(string $src, string $dst, array|null $options = null) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$src
string$dst
array|null$options
+ + +

Return Value

+ + + + + + +
RedisCluster|bool
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/copy +
+ + +
+
+

- + RedisCluster|int|false decr(string $key, int $by = 1) @@ -4339,7 +5347,7 @@ Redis::decr

- + RedisCluster|int|false decrby(string $key, int $value) @@ -4398,7 +5406,7 @@ Redis::decr

- + float decrbyfloat(string $key, float $value) @@ -4457,7 +5465,7 @@ Redis::decr

- + RedisCluster|int|false del(array|string $key, string ...$other_keys) @@ -4511,13 +5519,108 @@ Redis::del +

+ + + +
+

+ + RedisCluster|int|false + delex(string $key, array|null $options = null) + +

+
+ + + +
+

Delete a key conditionally based on its value or hash digest

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The key to delete

array|null$options

An array with options to modify how DELX works.

+ + +

Return Value

+ + + + + + +
RedisCluster|int|false

Returns 1 if the key was deleted, 0 if it was not.

+ + + + +
+
+ +
+
+

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

+
+ + + +
+

Delete a key if it's equal to the specified value. This command is +specific to Valkey >= 9.0

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The key to delete

mixed$value

The value to compare against the key's value.

+ + +

Return Value

+ + + + + + +
RedisCluster|int|false

Returns 1 if the key was deleted, 0 if it was not.

+ + + +

- + bool discard() @@ -4561,7 +5664,7 @@ Redis::del

- + RedisCluster|string|false dump(string $key) @@ -4615,7 +5718,7 @@ Redis::del

- + RedisCluster|string|false echo(string|array $key_or_address, string $msg) @@ -4675,7 +5778,7 @@ Redis::echo

- + mixed eval(string $script, array $args = [], int $num_keys = 0) @@ -4739,7 +5842,7 @@ Redis::echo

- + mixed eval_ro(string $script, array $args = [], int $num_keys = 0) @@ -4803,7 +5906,7 @@ Redis::echo

- + mixed evalsha(string $script_sha, array $args = [], int $num_keys = 0) @@ -4867,7 +5970,7 @@ Redis::echo

- + mixed evalsha_ro(string $script_sha, array $args = [], int $num_keys = 0) @@ -4931,7 +6034,7 @@ Redis::echo

- + array|false exec() @@ -4976,7 +6079,7 @@ Redis::exec

- + RedisCluster|int|bool exists(mixed $key, mixed ...$other_keys) @@ -5035,7 +6138,7 @@ Redis::exec

- + RedisCluster|int|bool touch(mixed $key, mixed ...$other_keys) @@ -5095,9 +6198,9 @@ Redis::touch

- + RedisCluster|bool - expire(string $key, int $timeout, string|null $mode = NULL) + expire(string $key, int $timeout, string|null $mode = null)

@@ -5159,9 +6262,9 @@ Redis::touch

- + RedisCluster|bool - expireat(string $key, int $timestamp, string|null $mode = NULL) + expireat(string $key, int $timestamp, string|null $mode = null)

@@ -5223,7 +6326,7 @@ Redis::touch

- + RedisCluster|int|false expiretime(string $key) @@ -5278,7 +6381,7 @@ Redis::expiretime

- + RedisCluster|int|false pexpiretime(string $key) @@ -5333,7 +6436,7 @@ Redis::pexpiretime

- + RedisCluster|bool flushall(string|array $key_or_address, bool $async = false) @@ -5392,7 +6495,7 @@ Redis::pexpiretime

- + RedisCluster|bool flushdb(string|array $key_or_address, bool $async = false) @@ -5451,7 +6554,7 @@ Redis::pexpiretime

- + RedisCluster|int|false geoadd(string $key, float $lng, float $lat, string $member, mixed ...$other_triples_and_options) @@ -5525,7 +6628,7 @@ Redis::pexpiretime

- + RedisCluster|float|false geodist(string $key, string $src, string $dest, string|null $unit = null) @@ -5594,7 +6697,7 @@ Redis::pexpiretime

- + RedisCluster|array|false geohash(string $key, string $member, string ...$other_members) @@ -5658,7 +6761,7 @@ Redis::pexpiretime

- + RedisCluster|array|false geopos(string $key, string $member, string ...$other_members) @@ -5722,7 +6825,7 @@ Redis::pexpiretime

- + mixed georadius(string $key, float $lng, float $lat, float $radius, string $unit, array $options = []) @@ -5801,7 +6904,7 @@ Redis::pexpiretime

- + mixed georadius_ro(string $key, float $lng, float $lat, float $radius, string $unit, array $options = []) @@ -5880,7 +6983,7 @@ Redis::pexpiretime

- + mixed georadiusbymember(string $key, string $member, float $radius, string $unit, array $options = []) @@ -5954,7 +7057,7 @@ Redis::pexpiretime

- + mixed georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = []) @@ -6025,10 +7128,163 @@ Redis::pexpiretime

+
+
+

+ + RedisCluster|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

+ + + + + + +
RedisCluster|array
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/geosearch +
+ + +
+
+ +
+
+

+ + RedisCluster|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

+ + + + + + +
RedisCluster|array|int|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/geosearchstore +
+ + +
+
+

- + mixed get(string $key) @@ -6079,10 +7335,177 @@ Redis::pexpiretime

+ +
+

+ + mixed + getdel(string $key) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + +
string$key
+ + +

Return Value

+ + + + + + +
mixed
+ + + +

See also

+ + + + + + +
+ Redis::getdel +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + getWithMeta(string $key) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + +
string$key
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::getWithMeta +
+ + +
+
+ +
+
+

+ + RedisCluster|string|false + getex(string $key, array $options = []) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
array$options
+ + +

Return Value

+ + + + + + +
RedisCluster|string|false
+ + + +

See also

+ + + + + + +
+ Redis::getEx +
+ + +
+
+

- + RedisCluster|int|false getbit(string $key, int $value) @@ -6141,7 +7564,7 @@ Redis::pexpiretime

- + string|null getlasterror() @@ -6185,7 +7608,7 @@ Redis::pexpiretime

- + int getmode() @@ -6229,7 +7652,7 @@ Redis::pexpiretime

- + mixed getoption(int $option) @@ -6283,7 +7706,7 @@ Redis::pexpiretime

- + RedisCluster|string|false getrange(string $key, int $start, int $end) @@ -6347,9 +7770,9 @@ Redis::pexpiretime

- + RedisCluster|string|array|int|false - lcs(string $key1, string $key2, array|null $options = NULL) + lcs(string $key1, string $key2, array|null $options = null)

@@ -6411,7 +7834,7 @@ Redis::pexpiretime

- + RedisCluster|string|bool getset(string $key, mixed $value) @@ -6470,8 +7893,8 @@ Redis::pexpiretime

- - int|false + + array|false gettransferredbytes()

@@ -6489,7 +7912,7 @@ Redis::pexpiretime - +
int|falsearray|false
@@ -6511,10 +7934,54 @@ Redis::pexpiretime
+ +
+

+ + void + cleartransferredbytes() + +

+
+ + + +
+

No description

+ +
+
+ +

Return Value

+ + + + + + +
void
+ + + +

See also

+ + + + + + +
+ Redis::cleartransferredbytes +
+ + +
+
+

- + RedisCluster|int|false hdel(string $key, string $member, string ...$other_members) @@ -6578,7 +8045,7 @@ Redis::pexpiretime

- + RedisCluster|bool hexists(string $key, string $member) @@ -6637,7 +8104,7 @@ Redis::pexpiretime

- + mixed hget(string $key, string $member) @@ -6696,7 +8163,7 @@ Redis::pexpiretime

- + RedisCluster|array|false hgetall(string $key) @@ -6747,10 +8214,69 @@ Redis::pexpiretime

+ +
+

+ + mixed + hgetWithMeta(string $key, string $member) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
string$member
+ + +

Return Value

+ + + + + + +
mixed
+ + + +

See also

+ + + + + + +
+ Redis::hgetWithMeta +
+ + +
+
+

- + RedisCluster|int|false hincrby(string $key, string $member, int $value) @@ -6814,7 +8340,7 @@ Redis::pexpiretime

- + RedisCluster|float|false hincrbyfloat(string $key, string $member, float $value) @@ -6878,7 +8404,7 @@ Redis::pexpiretime

- + RedisCluster|array|false hkeys(string $key) @@ -6932,7 +8458,7 @@ Redis::pexpiretime

- + RedisCluster|int|false hlen(string $key) @@ -6986,7 +8512,7 @@ Redis::pexpiretime

- + RedisCluster|array|false hmget(string $key, array $keys) @@ -7042,10 +8568,197 @@ Redis::pexpiretime

+ +
+

+ + RedisCluster|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

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::hgetex +
+ + +
+
+ +
+
+

+ + RedisCluster|int|false + hsetex(string $key, array $fields, array|null $expiry = null) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

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

Return Value

+ + + + + + +
RedisCluster|int|false
+ + + +

See also

+ + + + + + +
+ Redis::hsetex +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + hgetdel(string $key, array $fields) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
array$fields
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::hgetdel +
+ + +
+
+

- + RedisCluster|bool hmset(string $key, array $key_values) @@ -7104,9 +8817,9 @@ Redis::pexpiretime

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

@@ -7127,7 +8840,7 @@ Redis::pexpiretime - int|null + null|int|string $iterator @@ -7170,10 +8883,202 @@ Redis::pexpiretime
+ +
+

+ + RedisCluster|int|false + expiremember(string $key, string $field, int $ttl, string|null $unit = null) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key
string$field
int$ttl
string|null$unit
+ + +

Return Value

+ + + + + + +
RedisCluster|int|false
+ + + +

See also

+ + + + + + +
+ Redis::expiremember +
+ + +
+
+ +
+
+

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

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key
string$field
int$timestamp
+ + +

Return Value

+ + + + + + +
RedisCluster|int|false
+ + + +

See also

+ + + + + + +
+ Redis::expirememberat +
+ + +
+
+ +
+
+

+ + RedisCluster|string|array + hrandfield(string $key, array|null $options = null) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
array|null$options
+ + +

Return Value

+ + + + + + +
RedisCluster|string|array
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/hrandfield +
+ + +
+
+

- + RedisCluster|int|false hset(string $key, string $member, mixed $value) @@ -7237,7 +9142,7 @@ Redis::pexpiretime

- + RedisCluster|bool hsetnx(string $key, string $member, mixed $value) @@ -7301,7 +9206,7 @@ Redis::pexpiretime

- + RedisCluster|int|false hstrlen(string $key, string $field) @@ -7357,10 +9262,581 @@ Redis::pexpiretime

+ +
+

+ + RedisCluster|array|false + hexpire(string $key, int $ttl, array $fields, string|null $mode = NULL) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key
int$ttl
array$fields
string|null$mode
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::hexpire +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + hpexpire(string $key, int $ttl, array $fields, string|null $mode = NULL) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key
int$ttl
array$fields
string|null$mode
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::hpexpire +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + hexpireat(string $key, int $time, array $fields, string|null $mode = NULL) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key
int$time
array$fields
string|null$mode
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::hexpireat +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + hpexpireat(string $key, int $mstime, array $fields, string|null $mode = NULL) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key
int$mstime
array$fields
string|null$mode
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::hpexpireat +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + httl(string $key, array $fields) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
array$fields
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::httl +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + hpttl(string $key, array $fields) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
array$fields
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::hpttl +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + hexpiretime(string $key, array $fields) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
array$fields
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::hexpiretime +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + hpexpiretime(string $key, array $fields) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
array$fields
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::hpexpiretime +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + hpersist(string $key, array $fields) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
array$fields
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::hpexpiretime +
+ + +
+
+

- + RedisCluster|array|false hvals(string $key) @@ -7414,7 +9890,7 @@ Redis::pexpiretime

- + RedisCluster|int|false incr(string $key, int $by = 1) @@ -7473,7 +9949,7 @@ Redis::pexpiretime

- + RedisCluster|int|false incrby(string $key, int $value) @@ -7532,7 +10008,7 @@ Redis::pexpiretime

- + RedisCluster|float|false incrbyfloat(string $key, float $value) @@ -7591,7 +10067,7 @@ Redis::pexpiretime

- + RedisCluster|array|false info(string|array $key_or_address, string ...$sections) @@ -7653,7 +10129,7 @@ which cluster node we want to send the command to.

- + RedisCluster|array|false keys(string $pattern) @@ -7707,7 +10183,7 @@ which cluster node we want to send the command to.

- + RedisCluster|int|false lastsave(string|array $key_or_address) @@ -7761,7 +10237,7 @@ which cluster node we want to send the command to.

- + RedisCluster|string|bool lget(string $key, int $index) @@ -7820,7 +10296,7 @@ which cluster node we want to send the command to.

- + mixed lindex(string $key, int $index) @@ -7879,7 +10355,7 @@ which cluster node we want to send the command to.

- + RedisCluster|int|false linsert(string $key, string $pos, mixed $pivot, mixed $value) @@ -7948,7 +10424,7 @@ which cluster node we want to send the command to.

- + RedisCluster|int|bool llen(string $key) @@ -8002,7 +10478,7 @@ which cluster node we want to send the command to.

- + RedisCluster|bool|string|array lpop(string $key, int $count = 0) @@ -8058,10 +10534,74 @@ which cluster node we want to send the command to.

+ +
+

+ + RedisCluster|null|bool|int|array + lpos(string $key, mixed $value, array|null $options = null) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key
mixed$value
array|null$options
+ + +

Return Value

+ + + + + + +
RedisCluster|null|bool|int|array
+ + + +

See also

+ + + + + + +
+ Redis::lpos +
+ + +
+
+

- + RedisCluster|int|bool lpush(string $key, mixed $value, mixed ...$other_values) @@ -8125,7 +10665,7 @@ which cluster node we want to send the command to.

- + RedisCluster|int|bool lpushx(string $key, mixed $value) @@ -8184,7 +10724,7 @@ which cluster node we want to send the command to.

- + RedisCluster|array|false lrange(string $key, int $start, int $end) @@ -8248,7 +10788,7 @@ which cluster node we want to send the command to.

- + RedisCluster|int|bool lrem(string $key, mixed $value, int $count = 0) @@ -8312,7 +10852,7 @@ which cluster node we want to send the command to.

- + RedisCluster|bool lset(string $key, int $index, mixed $value) @@ -8376,7 +10916,7 @@ which cluster node we want to send the command to.

- + RedisCluster|bool ltrim(string $key, int $start, int $end) @@ -8440,7 +10980,7 @@ which cluster node we want to send the command to.

- + RedisCluster|array|false mget(array $keys) @@ -8494,7 +11034,7 @@ which cluster node we want to send the command to.

- + RedisCluster|bool mset(array $key_values) @@ -8548,7 +11088,7 @@ which cluster node we want to send the command to.

- + RedisCluster|array|false msetnx(array $key_values) @@ -8602,7 +11142,7 @@ which cluster node we want to send the command to.

- + RedisCluster|bool multi(int $value = Redis::MULTI) @@ -8645,7 +11185,7 @@ which cluster node we want to send the command to.

- + RedisCluster|int|string|false object(string $subcommand, string $key) @@ -8704,7 +11244,7 @@ which cluster node we want to send the command to.

- + RedisCluster|bool persist(string $key) @@ -8758,9 +11298,9 @@ which cluster node we want to send the command to.

- + RedisCluster|bool - pexpire(string $key, int $timeout, string|null $mode = NULL) + pexpire(string $key, int $timeout, string|null $mode = null)

@@ -8822,9 +11362,9 @@ which cluster node we want to send the command to.

- + RedisCluster|bool - pexpireat(string $key, int $timestamp, string|null $mode = NULL) + pexpireat(string $key, int $timestamp, string|null $mode = null)

@@ -8886,7 +11426,7 @@ which cluster node we want to send the command to.

- + RedisCluster|bool pfadd(string $key, array $elements) @@ -8946,7 +11486,7 @@ Redis::pfadd

- + RedisCluster|int|false pfcount(string $key) @@ -9001,7 +11541,7 @@ Redis::pfcount

- + RedisCluster|bool pfmerge(string $key, array $keys) @@ -9061,9 +11601,9 @@ Redis::pfmerge

- + mixed - ping(string|array $key_or_address, string|null $message = NULL) + ping(string|array $key_or_address, string|null $message = null)

@@ -9122,7 +11662,7 @@ Redis::ping

- + RedisCluster|bool psetex(string $key, int $timeout, string $value) @@ -9186,7 +11726,7 @@ Redis::ping

- + void psubscribe(array $patterns, callable $callback) @@ -9245,7 +11785,7 @@ Redis::ping

- + RedisCluster|int|false pttl(string $key) @@ -9299,8 +11839,8 @@ Redis::ping

- - RedisCluster|bool + + RedisCluster|bool|int publish(string $channel, string $message)

@@ -9333,7 +11873,7 @@ Redis::ping - +
RedisCluster|boolRedisCluster|bool|int
@@ -9358,7 +11898,7 @@ Redis::ping

- + mixed pubsub(string|array $key_or_address, string ...$values) @@ -9417,7 +11957,7 @@ Redis::ping

- + bool|array punsubscribe(string $pattern, string ...$other_patterns) @@ -9476,7 +12016,7 @@ Redis::ping

- + RedisCluster|bool|string randomkey(string|array $key_or_address) @@ -9530,7 +12070,7 @@ Redis::ping

- + mixed rawcommand(string|array $key_or_address, string $command, mixed ...$args) @@ -9594,7 +12134,7 @@ Redis::ping

- + RedisCluster|bool rename(string $key_src, string $key_dst) @@ -9653,7 +12193,7 @@ Redis::ping

- + RedisCluster|bool renamenx(string $key, string $newkey) @@ -9712,9 +12252,9 @@ Redis::ping

- + RedisCluster|bool - restore(string $key, int $timeout, string $value, array|null $options = NULL) + restore(string $key, int $timeout, string $value, array|null $options = null)

@@ -9781,7 +12321,7 @@ Redis::ping

- + mixed role(string|array $key_or_address) @@ -9835,7 +12375,7 @@ Redis::ping

- + RedisCluster|bool|string|array rpop(string $key, int $count = 0) @@ -9894,7 +12434,7 @@ Redis::ping

- + RedisCluster|bool|string rpoplpush(string $src, string $dst) @@ -9954,7 +12494,7 @@ Redis::rpoplpush

- + RedisCluster|int|false rpush(string $key, mixed ...$elements) @@ -10013,7 +12553,7 @@ Redis::rpoplpush

- + RedisCluster|bool|int rpushx(string $key, string $value) @@ -10072,7 +12612,7 @@ Redis::rpoplpush

- + RedisCluster|int|false sadd(string $key, mixed $value, mixed ...$other_values) @@ -10136,7 +12676,7 @@ Redis::rpoplpush

- + RedisCluster|bool|int saddarray(string $key, array $values) @@ -10195,7 +12735,7 @@ Redis::rpoplpush

- + RedisCluster|bool save(string|array $key_or_address) @@ -10249,9 +12789,9 @@ Redis::rpoplpush

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

@@ -10267,7 +12807,7 @@ Redis::rpoplpush - + @@ -10318,7 +12858,7 @@ Redis::rpoplpush

- + RedisCluster|int|false scard(string $key) @@ -10372,7 +12912,7 @@ Redis::rpoplpush

- + mixed script(string|array $key_or_address, mixed ...$args) @@ -10431,7 +12971,7 @@ Redis::rpoplpush

- + RedisCluster|array|false sdiff(string $key, string ...$other_keys) @@ -10490,7 +13030,7 @@ Redis::rpoplpush

- + RedisCluster|int|false sdiffstore(string $dst, string $key, string ...$other_keys) @@ -10554,9 +13094,9 @@ Redis::rpoplpush

- + RedisCluster|string|bool - set(string $key, mixed $value, mixed $options = NULL) + set(string $key, mixed $value, mixed $options = null)

@@ -10618,7 +13158,7 @@ Redis::rpoplpush

- + RedisCluster|int|false setbit(string $key, int $offset, bool $onoff) @@ -10682,7 +13222,7 @@ Redis::rpoplpush

- + RedisCluster|bool setex(string $key, int $expire, mixed $value) @@ -10746,7 +13286,7 @@ Redis::rpoplpush

- + RedisCluster|bool setnx(string $key, mixed $value) @@ -10805,7 +13345,7 @@ Redis::rpoplpush

- + bool setoption(int $option, mixed $value) @@ -10864,7 +13404,7 @@ Redis::rpoplpush

- + RedisCluster|int|false setrange(string $key, int $offset, string $value) @@ -10928,7 +13468,7 @@ Redis::rpoplpush

- + RedisCluster|array|false sinter(array|string $key, string ...$other_keys) @@ -10987,7 +13527,7 @@ Redis::rpoplpush

- + RedisCluster|int|false sintercard(array $keys, int $limit = -1) @@ -11046,7 +13586,7 @@ Redis::rpoplpush

- + RedisCluster|int|false sinterstore(array|string $key, string ...$other_keys) @@ -11105,7 +13645,7 @@ Redis::rpoplpush

- + RedisCluster|bool sismember(string $key, mixed $value) @@ -11161,10 +13701,74 @@ Redis::rpoplpush

+ +
+

+ + RedisCluster|array|false + smismember(string $key, string $member, string ...$other_members) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ +
int|nullnull|int|string $iterator
+ + + + + + + + + + + + + + + +
string$key
string$member
string...$other_members
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::smismember +
+ + +
+
+

- + mixed slowlog(string|array $key_or_address, mixed ...$args) @@ -11223,7 +13827,7 @@ Redis::rpoplpush

- + RedisCluster|array|false smembers(string $key) @@ -11277,7 +13881,7 @@ Redis::rpoplpush

- + RedisCluster|bool smove(string $src, string $dst, string $member) @@ -11341,9 +13945,9 @@ Redis::rpoplpush

- + RedisCluster|array|bool|int|string - sort(string $key, array|null $options = NULL) + sort(string $key, array|null $options = null)

@@ -11401,9 +14005,9 @@ Redis::sort

- + RedisCluster|array|bool|int|string - sort_ro(string $key, array|null $options = NULL) + sort_ro(string $key, array|null $options = null)

@@ -11461,7 +14065,7 @@ Redis::sort_ro

- + RedisCluster|string|array|false spop(string $key, int $count = 0) @@ -11520,7 +14124,7 @@ Redis::sort_ro

- + RedisCluster|string|array|false srandmember(string $key, int $count = 0) @@ -11579,7 +14183,7 @@ Redis::sort_ro

- + RedisCluster|int|false srem(string $key, mixed $value, mixed ...$other_values) @@ -11643,9 +14247,9 @@ Redis::sort_ro

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

@@ -11666,7 +14270,7 @@ Redis::sort_ro - int|null + null|int|string $iterator @@ -11712,7 +14316,7 @@ Redis::sort_ro

- + RedisCluster|int|false strlen(string $key) @@ -11766,7 +14370,7 @@ Redis::sort_ro

- + void subscribe(array $channels, callable $cb) @@ -11825,7 +14429,7 @@ Redis::sort_ro

- + RedisCluster|bool|array sunion(string $key, string ...$other_keys) @@ -11884,7 +14488,7 @@ Redis::sort_ro

- + RedisCluster|int|false sunionstore(string $dst, string $key, string ...$other_keys) @@ -11948,7 +14552,7 @@ Redis::sort_ro

- + RedisCluster|bool|array time(string|array $key_or_address) @@ -12002,7 +14606,7 @@ Redis::sort_ro

- + RedisCluster|int|false ttl(string $key) @@ -12056,7 +14660,7 @@ Redis::sort_ro

- + RedisCluster|int|false type(string $key) @@ -12110,7 +14714,7 @@ Redis::sort_ro

- + bool|array unsubscribe(array $channels) @@ -12164,7 +14768,7 @@ Redis::sort_ro

- + bool unwatch() @@ -12267,7 +14871,7 @@ Redis::sort_ro

- + RedisCluster|bool watch(string $key, string ...$other_keys) @@ -12323,10 +14927,783 @@ Redis::sort_ro

+
+
+

+ + RedisCluster|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

+ + + + + + +
RedisCluster|int|false
+ + + +

See also

+ + + + + + +
+ Redis::vadd +
+ + +
+
+ +
+
+

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

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key
mixed$member
array|null$options
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::vsim +
+ + +
+
+ +
+
+

+ + RedisCluster|int|false + vcard(string $key) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + +
string$key
+ + +

Return Value

+ + + + + + +
RedisCluster|int|false
+ + + +

See also

+ + + + + + +
+ Redis::vcard +
+ + +
+
+ +
+
+

+ + RedisCluster|int|false + vdim(string $key) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + +
string$key
+ + +

Return Value

+ + + + + + +
RedisCluster|int|false
+ + + +

See also

+ + + + + + +
+ Redis::vdim +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + vinfo(string $key) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + +
string$key
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::vinfo +
+ + +
+
+ +
+
+

+ + RedisCluster|bool + vismember(string $key, mixed $member) + +

+
+ + + +
+

Check if an element is a member of a vectorset

+
+
+

Parameters

+ + + + + + + + + + + + +
string$key

The vector set to query.

mixed$member

The member to check for.

+ + +

Return Value

+ + + + + + +
RedisCluster|bool

true if the member exists, false if it does not.

+ + + + +
+
+ +
+
+

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

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key
mixed$member
bool$raw
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::vemb +
+ + +
+
+ +
+
+

+ + RedisCluster|array|string|false + vrandmember(string $key, int $count = 0) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
int$count
+ + +

Return Value

+ + + + + + +
RedisCluster|array|string|false
+ + + +

See also

+ + + + + + +
+ Redis::vrandmember +
+ + +
+
+ +
+
+

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

+
+ + + +
+

Retreive a lexographical range of elements from a vector set

+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + +
string$key

The vector set to query.

string$min

The minimum element to return.

string$max

The maximum element to return.

int$count

An optional maximum number of elements to return.

+ + +

Return Value

+ + + + + + +
RedisCluster|array|false

An array of elements in the specified range.`

+ + + + +
+
+ +
+
+

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

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
mixed$member
+ + +

Return Value

+ + + + + + +
RedisCluster|int|false
+ + + +

See also

+ + + + + + +
+ Redis::vrem +
+ + +
+
+ +
+
+ +
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key
mixed$member
bool$withscores
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ Redis::vlinks +
+ + +
+
+ +
+
+

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

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key
mixed$member
bool$decode
+ + +

Return Value

+ + + + + + +
RedisCluster|array|string|false
+ + + +

See also

+ + + + + + +
+ Redis::vgetattr +
+ + +
+
+ +
+
+

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

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key
mixed$member
array|string$attributes
+ + +

Return Value

+ + + + + + +
RedisCluster|int|false
+ + + +

See also

+ + + + + + +
+ Redis::vsetattr +
+ + +
+
+

- + RedisCluster|int|false xack(string $key, string $group, array $ids) @@ -12390,7 +15767,7 @@ Redis::sort_ro

- + RedisCluster|string|false xadd(string $key, string $id, array $values, int $maxlen = 0, bool $approx = false) @@ -12464,7 +15841,7 @@ Redis::sort_ro

- + RedisCluster|string|array|false xclaim(string $key, string $group, string $consumer, int $min_iddle, array $ids, array $options) @@ -12543,7 +15920,7 @@ Redis::sort_ro

- + RedisCluster|int|false xdel(string $key, array $ids) @@ -12602,9 +15979,9 @@ Redis::sort_ro

- + mixed - xgroup(string $operation, string $key = null, string $group = null, string $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2) + xgroup(string $operation, string|null $key = null, string|null $group = null, string|null $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2)

@@ -12625,17 +16002,17 @@ Redis::sort_ro - string + string|null $key - string + string|null $group - string + string|null $id_or_consumer @@ -12681,8 +16058,8 @@ Redis::sort_ro

- - Redis|bool|array + + RedisCluster|bool|array xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)

@@ -12740,7 +16117,7 @@ Redis::sort_ro - +
Redis|bool|arrayRedisCluster|bool|array
@@ -12765,7 +16142,7 @@ Redis::sort_ro

- + mixed xinfo(string $operation, string|null $arg1 = null, string|null $arg2 = null, int $count = -1) @@ -12834,7 +16211,7 @@ Redis::sort_ro

- + RedisCluster|int|false xlen(string $key) @@ -12888,7 +16265,7 @@ Redis::sort_ro

- + RedisCluster|array|false xpending(string $key, string $group, string|null $start = null, string|null $end = null, int $count = -1, string|null $consumer = null) @@ -12967,7 +16344,7 @@ Redis::sort_ro

- + RedisCluster|bool|array xrange(string $key, string $start, string $end, int $count = -1) @@ -13036,7 +16413,7 @@ Redis::sort_ro

- + RedisCluster|bool|array xread(array $streams, int $count = -1, int $block = -1) @@ -13100,7 +16477,7 @@ Redis::sort_ro

- + RedisCluster|bool|array xreadgroup(string $group, string $consumer, array $streams, int $count = 1, int $block = 1) @@ -13174,7 +16551,7 @@ Redis::sort_ro

- + RedisCluster|bool|array xrevrange(string $key, string $start, string $end, int $count = -1) @@ -13243,7 +16620,7 @@ Redis::sort_ro

- + RedisCluster|int|false xtrim(string $key, int $maxlen, bool $approx = false, bool $minid = false, int $limit = -1) @@ -13317,8 +16694,8 @@ Redis::sort_ro

- - RedisCluster|int|false + + RedisCluster|int|float|false zadd(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems)

@@ -13356,7 +16733,7 @@ Redis::sort_ro - +
RedisCluster|int|falseRedisCluster|int|float|false
@@ -13381,7 +16758,7 @@ Redis::sort_ro

- + RedisCluster|int|false zcard(string $key) @@ -13435,7 +16812,7 @@ Redis::sort_ro

- + RedisCluster|int|false zcount(string $key, string $start, string $end) @@ -13499,7 +16876,7 @@ Redis::sort_ro

- + RedisCluster|float|false zincrby(string $key, float $value, string $member) @@ -13563,7 +16940,7 @@ Redis::sort_ro

- + RedisCluster|int|false zinterstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null) @@ -13632,7 +17009,7 @@ Redis::sort_ro

- + RedisCluster|int|false zintercard(array $keys, int $limit = -1) @@ -13691,7 +17068,7 @@ Redis::sort_ro

- + RedisCluster|int|false zlexcount(string $key, string $min, string $max) @@ -13755,9 +17132,9 @@ Redis::sort_ro

- + RedisCluster|bool|array - zpopmax(string $key, int $value = null) + zpopmax(string $key, int|null $value = null)

@@ -13778,7 +17155,7 @@ Redis::sort_ro - int + int|null $value @@ -13814,9 +17191,9 @@ Redis::sort_ro

- + RedisCluster|bool|array - zpopmin(string $key, int $value = null) + zpopmin(string $key, int|null $value = null)

@@ -13837,7 +17214,7 @@ Redis::sort_ro - int + int|null $value @@ -13873,7 +17250,7 @@ Redis::sort_ro

- + RedisCluster|array|bool zrange(string $key, mixed $start, mixed $end, array|bool|null $options = null) @@ -13942,7 +17319,7 @@ Redis::sort_ro

- + RedisCluster|int|false zrangestore(string $dstkey, string $srckey, int $start, int $end, array|bool|null $options = null) @@ -14013,10 +17390,69 @@ Redis::sort_ro

+
+
+

+ + RedisCluster|string|array + zrandmember(string $key, array|null $options = null) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$key
array|null$options
+ + +

Return Value

+ + + + + + +
RedisCluster|string|array
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/zrandmember +
+ + +
+
+

- + RedisCluster|array|false zrangebylex(string $key, string $min, string $max, int $offset = -1, int $count = -1) @@ -14090,7 +17526,7 @@ Redis::sort_ro

- + RedisCluster|array|false zrangebyscore(string $key, string $start, string $end, array $options = []) @@ -14159,7 +17595,7 @@ Redis::sort_ro

- + RedisCluster|int|false zrank(string $key, mixed $member) @@ -14218,7 +17654,7 @@ Redis::sort_ro

- + RedisCluster|int|false zrem(string $key, string $value, string ...$other_values) @@ -14282,7 +17718,7 @@ Redis::sort_ro

- + RedisCluster|int|false zremrangebylex(string $key, string $min, string $max) @@ -14346,7 +17782,7 @@ Redis::sort_ro

- + RedisCluster|int|false zremrangebyrank(string $key, string $min, string $max) @@ -14410,7 +17846,7 @@ Redis::sort_ro

- + RedisCluster|int|false zremrangebyscore(string $key, string $min, string $max) @@ -14474,9 +17910,9 @@ Redis::sort_ro

- + RedisCluster|bool|array - zrevrange(string $key, string $min, string $max, array $options = null) + zrevrange(string $key, string $min, string $max, array|null $options = null)

@@ -14507,7 +17943,7 @@ Redis::sort_ro - array + array|null $options @@ -14543,9 +17979,9 @@ Redis::sort_ro

- + RedisCluster|bool|array - zrevrangebylex(string $key, string $min, string $max, array $options = null) + zrevrangebylex(string $key, string $min, string $max, array|null $options = null)

@@ -14576,7 +18012,7 @@ Redis::sort_ro - array + array|null $options @@ -14612,9 +18048,9 @@ Redis::sort_ro

- + RedisCluster|bool|array - zrevrangebyscore(string $key, string $min, string $max, array $options = null) + zrevrangebyscore(string $key, string $min, string $max, array|null $options = null)

@@ -14645,7 +18081,7 @@ Redis::sort_ro - array + array|null $options @@ -14681,7 +18117,7 @@ Redis::sort_ro

- + RedisCluster|int|false zrevrank(string $key, mixed $member) @@ -14740,9 +18176,9 @@ Redis::sort_ro

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

@@ -14763,7 +18199,7 @@ Redis::sort_ro - int|null + null|int|string $iterator @@ -14809,7 +18245,7 @@ Redis::sort_ro

- + RedisCluster|float|false zscore(string $key, mixed $member) @@ -14865,12 +18301,76 @@ Redis::sort_ro

+
+
+

+ + RedisCluster|array|false + zmscore(string $key, mixed $member, mixed ...$other_members) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
string$key
mixed$member
mixed...$other_members
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/zmscore +
+ + +
+
+

- + RedisCluster|int|false - zunionstore(string $dst, array $keys, array|null $weights = NULL, string|null $aggregate = NULL) + zunionstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)

@@ -14934,6 +18434,306 @@ Redis::sort_ro
+
+
+

+ + RedisCluster|array|false + zinter(array $keys, array|null $weights = null, array|null $options = null) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
array$keys
array|null$weights
array|null$options
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/zinter +
+ + +
+
+ +
+
+

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

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
string$dst
array$keys
+ + +

Return Value

+ + + + + + +
RedisCluster|int|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/zdiffstore +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + zunion(array $keys, array|null $weights = null, array|null $options = null) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
array$keys
array|null$weights
array|null$options
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/zunion +
+ + +
+
+ +
+
+

+ + RedisCluster|array|false + zdiff(array $keys, array|null $options = null) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + + + + + + +
array$keys
array|null$options
+ + +

Return Value

+ + + + + + +
RedisCluster|array|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/zdiff +
+ + +
+
+ +
+
+

+ + RedisCluster|string|false + digest(string $key) + +

+
+ + + +
+

No description

+ +
+
+

Parameters

+ + + + + + + +
string$key
+ + +

Return Value

+ + + + + + +
RedisCluster|string|false
+ + + +

See also

+ + + + + + +
+ https://redis.io/commands/digest +
+ + +
+
+
diff --git a/docs/RedisSentinel.html b/docs/RedisSentinel.html index ac95dd5c..8527898a 100644 --- a/docs/RedisSentinel.html +++ b/docs/RedisSentinel.html @@ -102,7 +102,7 @@
- __construct(string $host, int $port = 26379, float $timeout = 0, mixed $persistent = null, int $retry_interval = 0, float $read_timeout = 0, mixed $auth = null, array $context = null) + __construct(array|null $options = null)

No description

@@ -198,7 +198,7 @@
reset(string $pattern) @@ -239,7 +239,7 @@

- __construct(string $host, int $port = 26379, float $timeout = 0, mixed $persistent = null, int $retry_interval = 0, float $read_timeout = 0, mixed $auth = null, array $context = null) + __construct(array|null $options = null)

@@ -255,43 +255,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
string$host
int$port
float$timeout
mixed$persistent
int$retry_interval
float$read_timeout
mixed$auth
array$contextarray|null$options
@@ -611,7 +576,7 @@

- bool|RedisSentinel + int|RedisSentinel reset(string $pattern)

@@ -639,7 +604,7 @@ - +
bool|RedisSentinelint|RedisSentinel
diff --git a/docs/doc-index.html b/docs/doc-index.html index 8dad86c3..6c544a98 100644 --- a/docs/doc-index.html +++ b/docs/doc-index.html @@ -102,7 +102,7 @@
  • S
  • T
  • U
  • -
  • V
  • +
  • V
  • W
  • X
  • Y
  • @@ -116,7 +116,13 @@ Redis::acl() — Method in class Redis Redis::append() — Method in class Redis

    Append data to a Redis STRING key.

    Redis::auth() — Method in class Redis
    -

    Authenticate a Redis connection after its been established.

    +

    Authenticate a Redis connection after its been established.

    +RedisArray::acl() — Method in class RedisArray
    +
    +RedisArray::append() — Method in class RedisArray
    +
    +RedisArray::auth() — Method in class RedisArray
    +
    RedisCluster::acl() — Method in class RedisCluster
    RedisCluster::append() — Method in class RedisCluster
    @@ -151,8 +157,34 @@ Redis::bzmpop() — Method in class Redis
    Redis::blmpop() — Method in class Redis

    Pop one or more elements from one or more Redis LISTs, blocking up to a specified timeout when -no elements are available.

    +no elements are available.

    +Redis::blmove() — Method in class Redis
    +
    RedisArray::bgsave() — Method in class RedisArray
    +
    +RedisArray::bgrewriteaof() — Method in class RedisArray
    +
    +RedisArray::bitcount() — Method in class RedisArray
    +
    +RedisArray::bitop() — Method in class RedisArray
    +
    +RedisArray::bitpos() — Method in class RedisArray
    +
    +RedisArray::blPop() — Method in class RedisArray
    +
    +RedisArray::brPop() — Method in class RedisArray
    +
    +RedisArray::brpoplpush() — Method in class RedisArray
    +
    +RedisArray::bzPopMax() — Method in class RedisArray
    +
    +RedisArray::bzPopMin() — Method in class RedisArray
    +
    +RedisArray::bzmpop() — Method in class RedisArray
    +
    +RedisArray::blmpop() — Method in class RedisArray
    +
    +RedisArray::blmove() — Method in class RedisArray
    RedisCluster::bgrewriteaof() — Method in class RedisCluster
    @@ -169,7 +201,9 @@ RedisCluster::blpop() — Method in class RedisCluster

    See Redis::brpop()

    RedisCluster::brpoplpush() — Method in class RedisCluster
    -

    See Redis::brpoplpush()

    +

    See Redis::brpoplpush()

    +RedisCluster::blmove() — Method in class RedisCluster
    +

    Move an element from one list to another, blocking up to a timeout until an element is available.

    RedisCluster::bzpopmax() — Method in class RedisCluster
    RedisCluster::bzpopmin() — Method in class RedisCluster
    @@ -192,7 +226,23 @@ Redis::config() — Method in class Redis() — Method in class Redis
    Redis::copy() — Method in class Redis
    -

    Make a copy of a key.

    +

    Make a copy of a key.

    +Redis::clearTransferredBytes() — Method in class Redis
    +

    Reset the number of bytes sent and received on the socket.

    +RedisArray::clearLastError() — Method in class RedisArray
    +
    +RedisArray::client() — Method in class RedisArray
    +
    +RedisArray::close() — Method in class RedisArray
    +
    +RedisArray::command() — Method in class RedisArray
    +
    +RedisArray::config() — Method in class RedisArray
    +
    +RedisArray::copy() — Method in class RedisArray
    +
    +RedisArray::clearTransferredBytes() — Method in class RedisArray
    +
    RedisCluster::clearlasterror() — Method in class RedisCluster
    RedisCluster::client() — Method in class RedisCluster
    @@ -204,6 +254,10 @@ RedisCluster::cluster() — Method in class RedisCluster
    RedisCluster::config() — Method in class RedisCluster
    +
    +RedisCluster::copy() — Method in class RedisCluster
    +
    +RedisCluster::cleartransferredbytes() — Method in class RedisCluster
    RedisSentinel::ckquorum() — Method in class RedisSentinel

    D

    @@ -217,16 +271,37 @@ Redis::decr() — Method in class Redis() — Method in class Redis

    Decrement a redis integer by a value

    Redis::del() — Method in class Redis
    -

    Delete one or more keys from Redis.

    +

    Delete one or more keys from Redis.

    +Redis::delex() — Method in class Redis
    +

    Delete a key conditionally based on its value or hash digest

    +Redis::delifeq() — Method in class Redis
    +

    Delete a key if it's equal to the specified value. This command is +specific to Valkey >= 9.0

    Redis::delete() — Method in class Redis
    Redis::discard() — Method in class Redis

    Discard a transaction currently in progress.

    Redis::dump() — Method in class Redis
    -

    Dump Redis' internal binary representation of a key.

    +

    Dump Redis' internal binary representation of a key.

    +Redis::digest() — Method in class Redis
    +

    Ask the server for the XXH3 digest of a given key's value

    RedisArray::del() — Method in class RedisArray
    RedisArray::discard() — Method in class RedisArray
    +
    +RedisArray::dbSize() — Method in class RedisArray
    +
    +RedisArray::debug() — Method in class RedisArray
    +
    +RedisArray::decr() — Method in class RedisArray
    +
    +RedisArray::decrBy() — Method in class RedisArray
    +
    +RedisArray::delifeq() — Method in class RedisArray
    +
    +RedisArray::delete() — Method in class RedisArray
    +
    +RedisArray::dump() — Method in class RedisArray
    RedisCluster::dbsize() — Method in class RedisCluster
    @@ -237,10 +312,17 @@ RedisCluster::decrby() — Method in class RedisCluster
    RedisCluster::del() — Method in class RedisCluster
    -
    +
    +RedisCluster::delex() — Method in class RedisCluster
    +

    Delete a key conditionally based on its value or hash digest

    +RedisCluster::delifeq() — Method in class RedisCluster
    +

    Delete a key if it's equal to the specified value. This command is +specific to Valkey >= 9.0

    RedisCluster::discard() — Method in class RedisCluster
    RedisCluster::dump() — Method in class RedisCluster
    +
    +RedisCluster::digest() — Method in class RedisCluster

    E

    Redis::echo() — Method in class Redis
    @@ -267,8 +349,34 @@ modifies how the command will execute.

    Redis

    Set a key to expire at an exact unix timestamp.

    Redis::expiretime() — Method in class Redis
    -

    Get the expiration of a given key as a unix timestamp

    +

    Get the expiration of a given key as a unix timestamp

    +Redis::expiremember() — Method in class Redis
    +

    Set an expiration on a key member (KeyDB only).

    +Redis::expirememberat() — Method in class Redis
    +

    Set an expiration on a key membert to a specific unix timestamp (KeyDB only).

    RedisArray::exec() — Method in class RedisArray
    +
    +RedisArray::echo() — Method in class RedisArray
    +
    +RedisArray::eval() — Method in class RedisArray
    +
    +RedisArray::eval_ro() — Method in class RedisArray
    +
    +RedisArray::evalsha() — Method in class RedisArray
    +
    +RedisArray::evalsha_ro() — Method in class RedisArray
    +
    +RedisArray::exists() — Method in class RedisArray
    +
    +RedisArray::expire() — Method in class RedisArray
    +
    +RedisArray::expireAt() — Method in class RedisArray
    +
    +RedisArray::expiretime() — Method in class RedisArray
    +
    +RedisArray::expiremember() — Method in class RedisArray
    +
    +RedisArray::expirememberat() — Method in class RedisArray
    RedisCluster::echo() — Method in class RedisCluster
    @@ -289,17 +397,35 @@ RedisCluster::expire() — Method in class RedisCluster
    RedisCluster::expiretime() — Method in class RedisCluster
    +
    +RedisCluster::expiremember() — Method in class RedisCluster
    +
    +RedisCluster::expirememberat() — Method in class RedisCluster

    F

    Redis::failover() — Method in class Redis
    -
    +
    +Redis::fcall() — Method in class Redis
    +

    Invoke a function.

    +Redis::fcall_ro() — Method in class Redis
    +

    This is a read-only variant of the FCALL command that cannot execute commands that modify data.

    Redis::flushAll() — Method in class Redis

    Deletes every key in all Redis databases

    Redis::flushDB() — Method in class Redis
    -

    Deletes all the keys of the currently selected database.

    +

    Deletes all the keys of the currently selected database.

    +Redis::function() — Method in class Redis
    +

    Functions is an API for managing code to be executed on the server.

    RedisArray::flushall() — Method in class RedisArray
    RedisArray::flushdb() — Method in class RedisArray
    +
    +RedisArray::failover() — Method in class RedisArray
    +
    +RedisArray::fcall() — Method in class RedisArray
    +
    +RedisArray::fcall_ro() — Method in class RedisArray
    +
    +RedisArray::function() — Method in class RedisArray
    RedisCluster::flushall() — Method in class RedisCluster
    @@ -332,7 +458,9 @@ Redis::geosearchstore() — Method in class Red

    Search a geospacial sorted set for members within a given area or range, storing the results into a new set.

    Redis::get() — Method in class Redis
    -

    Retrieve a string keys value.

    +

    Retrieve a string keys value.

    +Redis::getWithMeta() — Method in class Redis
    +

    Retrieve a value and metadata of key.

    Redis::getAuth() — Method in class Redis

    Get the authentication information on the connection, if any.

    Redis::getBit() — Method in class Redis
    @@ -364,8 +492,62 @@ Redis::getset() — Method in class Redis() — Method in class Redis

    Retrieve any set connection timeout

    Redis::getTransferredBytes() — Method in class Redis
    -
    +

    Get the number of bytes sent and received on the socket.

    RedisArray::getOption() — Method in class RedisArray
    +
    +RedisArray::geoadd() — Method in class RedisArray
    +
    +RedisArray::geodist() — Method in class RedisArray
    +
    +RedisArray::geohash() — Method in class RedisArray
    +
    +RedisArray::geopos() — Method in class RedisArray
    +
    +RedisArray::georadius() — Method in class RedisArray
    +
    +RedisArray::georadius_ro() — Method in class RedisArray
    +
    +RedisArray::georadiusbymember() — Method in class RedisArray
    +
    +RedisArray::georadiusbymember_ro() — Method in class RedisArray
    +
    +RedisArray::geosearch() — Method in class RedisArray
    +
    +RedisArray::geosearchstore() — Method in class RedisArray
    +
    +RedisArray::get() — Method in class RedisArray
    +
    +RedisArray::getWithMeta() — Method in class RedisArray
    +
    +RedisArray::getAuth() — Method in class RedisArray
    +
    +RedisArray::getBit() — Method in class RedisArray
    +
    +RedisArray::getEx() — Method in class RedisArray
    +
    +RedisArray::getDBNum() — Method in class RedisArray
    +
    +RedisArray::getDel() — Method in class RedisArray
    +
    +RedisArray::getHost() — Method in class RedisArray
    +
    +RedisArray::getLastError() — Method in class RedisArray
    +
    +RedisArray::getMode() — Method in class RedisArray
    +
    +RedisArray::getPersistentID() — Method in class RedisArray
    +
    +RedisArray::getPort() — Method in class RedisArray
    +
    +RedisArray::getRange() — Method in class RedisArray
    +
    +RedisArray::getReadTimeout() — Method in class RedisArray
    +
    +RedisArray::getset() — Method in class RedisArray
    +
    +RedisArray::getTimeout() — Method in class RedisArray
    +
    +RedisArray::getTransferredBytes() — Method in class RedisArray
    RedisCluster::geoadd() — Method in class RedisCluster
    @@ -382,8 +564,18 @@ RedisCluster::georadius_ro() — Method in class RedisCluster
    RedisCluster::georadiusbymember_ro() — Method in class RedisCluster
    +
    +RedisCluster::geosearch() — Method in class RedisCluster
    +
    +RedisCluster::geosearchstore() — Method in class RedisCluster
    RedisCluster::get() — Method in class RedisCluster
    +
    +RedisCluster::getdel() — Method in class RedisCluster
    +
    +RedisCluster::getWithMeta() — Method in class RedisCluster
    +
    +RedisCluster::getex() — Method in class RedisCluster
    RedisCluster::getbit() — Method in class RedisCluster
    @@ -409,7 +601,9 @@ Redis::hExists() — Method in class Redis< Redis::hGet() — Method in class Redis
    Redis::hGetAll() — Method in class Redis
    -

    Read every field and value from a hash.

    +

    Read every field and value from a hash.

    +Redis::hGetWithMeta() — Method in class Redis
    +

    Retrieve a value and metadata of hash field.

    Redis::hIncrBy() — Method in class Redis

    Increment a hash field's value by an integer

    Redis::hIncrByFloat() — Method in class Redis
    @@ -419,22 +613,95 @@ Redis::hKeys() — Method in class Redis() — Method in class Redis

    Get the number of fields in a hash.

    Redis::hMget() — Method in class Redis
    -

    Get one or more fields from a hash.

    +

    Get one or more fields from a hash.

    +Redis::hgetex() — Method in class Redis
    +

    Get one or more fields of a hash while optionally setting expiration +information

    +Redis::hsetex() — Method in class Redis
    +

    Set one or more fields in a hash with optional expiration information.

    +Redis::hgetdel() — Method in class Redis
    +

    Get one or more fields and delete them

    Redis::hMset() — Method in class Redis

    Add or update one or more hash fields and values

    Redis::hRandField() — Method in class Redis

    Get one or more random field from a hash.

    Redis::hSet() — Method in class Redis
    -
    +

    Add or update one or more hash fields and values.

    Redis::hSetNx() — Method in class Redis

    Set a hash field and value, but only if that field does not exist

    Redis::hStrLen() — Method in class Redis

    Get the string length of a hash field

    Redis::hVals() — Method in class Redis
    -

    Get all of the values from a hash.

    +

    Get all of the values from a hash.

    +Redis::hexpire() — Method in class Redis
    +

    Set the expiration on one or more fields in a hash.

    +Redis::hpexpire() — Method in class Redis
    +

    Set the expiration on one or more fields in a hash in milliseconds.

    +Redis::hexpireat() — Method in class Redis
    +

    Set the expiration time on one or more fields of a hash.

    +Redis::hpexpireat() — Method in class Redis
    +

    Set the expiration time on one or more fields of a hash in milliseconds.

    +Redis::httl() — Method in class Redis
    +

    Get the TTL of one or more fields in a hash

    +Redis::hpttl() — Method in class Redis
    +

    Get the millisecond TTL of one or more fields in a hash

    +Redis::hexpiretime() — Method in class Redis
    +

    Get the expiration time of one or more fields in a hash

    +Redis::hpexpiretime() — Method in class Redis
    +

    Get the expiration time in milliseconds of one or more fields in a hash

    +Redis::hpersist() — Method in class Redis
    +

    Persist one or more hash fields

    Redis::hscan() — Method in class Redis

    Iterate over the fields and values of a hash in an incremental fashion.

    RedisArray::hscan() — Method in class RedisArray
    +
    +RedisArray::hDel() — Method in class RedisArray
    +
    +RedisArray::hExists() — Method in class RedisArray
    +
    +RedisArray::hGet() — Method in class RedisArray
    +
    +RedisArray::hGetAll() — Method in class RedisArray
    +
    +RedisArray::hGetWithMeta() — Method in class RedisArray
    +
    +RedisArray::hIncrBy() — Method in class RedisArray
    +
    +RedisArray::hIncrByFloat() — Method in class RedisArray
    +
    +RedisArray::hKeys() — Method in class RedisArray
    +
    +RedisArray::hLen() — Method in class RedisArray
    +
    +RedisArray::hMget() — Method in class RedisArray
    +
    +RedisArray::hgetex() — Method in class RedisArray
    +
    +RedisArray::hsetex() — Method in class RedisArray
    +
    +RedisArray::hgetdel() — Method in class RedisArray
    +
    +RedisArray::hMset() — Method in class RedisArray
    +
    +RedisArray::hRandField() — Method in class RedisArray
    +
    +RedisArray::hSet() — Method in class RedisArray
    +
    +RedisArray::hSetNx() — Method in class RedisArray
    +
    +RedisArray::hStrLen() — Method in class RedisArray
    +
    +RedisArray::hVals() — Method in class RedisArray
    +
    +RedisArray::httl() — Method in class RedisArray
    +
    +RedisArray::hpttl() — Method in class RedisArray
    +
    +RedisArray::hexpiretime() — Method in class RedisArray
    +
    +RedisArray::hpexpiretime() — Method in class RedisArray
    +
    +RedisArray::hpersist() — Method in class RedisArray
    RedisCluster::hdel() — Method in class RedisCluster
    @@ -443,6 +710,8 @@ RedisCluster::hexists() — Method in class RedisCluster
    RedisCluster::hgetall() — Method in class RedisCluster
    +
    +RedisCluster::hgetWithMeta() — Method in class RedisCluster
    RedisCluster::hincrby() — Method in class RedisCluster
    @@ -453,16 +722,42 @@ RedisCluster::hkeys() — Method in class RedisCluster
    RedisCluster::hmget() — Method in class RedisCluster
    +
    +RedisCluster::hgetex() — Method in class RedisCluster
    +
    +RedisCluster::hsetex() — Method in class RedisCluster
    +
    +RedisCluster::hgetdel() — Method in class RedisCluster
    RedisCluster::hmset() — Method in class RedisCluster
    RedisCluster::hscan() — Method in class RedisCluster
    +
    +RedisCluster::hrandfield() — Method in class RedisCluster
    RedisCluster::hset() — Method in class RedisCluster
    RedisCluster::hsetnx() — Method in class RedisCluster
    RedisCluster::hstrlen() — Method in class RedisCluster
    +
    +RedisCluster::hexpire() — Method in class RedisCluster
    +
    +RedisCluster::hpexpire() — Method in class RedisCluster
    +
    +RedisCluster::hexpireat() — Method in class RedisCluster
    +
    +RedisCluster::hpexpireat() — Method in class RedisCluster
    +
    +RedisCluster::httl() — Method in class RedisCluster
    +
    +RedisCluster::hpttl() — Method in class RedisCluster
    +
    +RedisCluster::hexpiretime() — Method in class RedisCluster
    +
    +RedisCluster::hpexpiretime() — Method in class RedisCluster
    +
    +RedisCluster::hpersist() — Method in class RedisCluster
    RedisCluster::hvals() — Method in class RedisCluster

    I

    @@ -481,6 +776,14 @@ to that section.

    Redis::isConnected() — Method in class Redis

    Check if we are currently connected to a Redis instance.

    RedisArray::info() — Method in class RedisArray
    +
    +RedisArray::incr() — Method in class RedisArray
    +
    +RedisArray::incrBy() — Method in class RedisArray
    +
    +RedisArray::incrByFloat() — Method in class RedisArray
    +
    +RedisArray::isConnected() — Method in class RedisArray
    RedisCluster::incr() — Method in class RedisCluster
    @@ -530,7 +833,39 @@ Redis::lrange() — Method in class Redis() — Method in class Redis

    Remove one or more matching elements from a list.

    Redis::ltrim() — Method in class Redis
    -

    Trim a list to a subrange of elements.

    +

    Trim a list to a subrange of elements.

    +RedisArray::lmpop() — Method in class RedisArray
    +
    +RedisArray::lcs() — Method in class RedisArray
    +
    +RedisArray::lInsert() — Method in class RedisArray
    +
    +RedisArray::lLen() — Method in class RedisArray
    +
    +RedisArray::lMove() — Method in class RedisArray
    +
    +RedisArray::lPop() — Method in class RedisArray
    +
    +RedisArray::lPos() — Method in class RedisArray
    +
    +RedisArray::lPush() — Method in class RedisArray
    +
    +RedisArray::lPushx() — Method in class RedisArray
    +
    +RedisArray::lSet() — Method in class RedisArray
    +
    +RedisArray::lastSave() — Method in class RedisArray
    +
    +RedisArray::lindex() — Method in class RedisArray
    +
    +RedisArray::lrange() — Method in class RedisArray
    +
    +RedisArray::lrem() — Method in class RedisArray
    +
    +RedisArray::ltrim() — Method in class RedisArray
    +
    +RedisCluster::lmove() — Method in class RedisCluster
    +

    Move an element from one list into another.

    RedisCluster::lmpop() — Method in class RedisCluster
    RedisCluster::lcs() — Method in class RedisCluster
    @@ -546,6 +881,8 @@ RedisCluster::linsert() — Method in class RedisCluster
    RedisCluster::lpop() — Method in class RedisCluster
    +
    +RedisCluster::lpos() — Method in class RedisCluster
    RedisCluster::lpush() — Method in class RedisCluster
    @@ -561,15 +898,15 @@ RedisCluster::ltrim() — Method in class M
    Redis::mget() — Method in class Redis
    -

    Get one ore more string keys.

    +

    Get one or more string keys.

    Redis::migrate() — Method in class Redis
    Redis::move() — Method in class Redis

    Move a key to a different database on the same redis instance.

    Redis::mset() — Method in class Redis
    -

    Set one ore more string keys.

    +

    Set one or more string keys.

    Redis::msetnx() — Method in class Redis
    -

    Set one ore more string keys but only if none of the key exist.

    +

    Set one or more string keys but only if none of the key exist.

    Redis::multi() — Method in class Redis

    Begin a transaction.

    RedisArray::mget() — Method in class RedisArray
    @@ -577,6 +914,10 @@ RedisArray::mget() — Method in class Red RedisArray::mset() — Method in class RedisArray
    RedisArray::multi() — Method in class RedisArray
    +
    +RedisArray::move() — Method in class RedisArray
    +
    +RedisArray::msetnx() — Method in class RedisArray
    RedisCluster::mget() — Method in class RedisCluster
    @@ -596,6 +937,10 @@ RedisSentinel::myid() — Method in class Redis
    Redis::open() — Method in class Redis
    +
    +RedisArray::object() — Method in class RedisArray
    +
    +RedisArray::open() — Method in class RedisArray
    RedisCluster::object() — Method in class RedisCluster

    P

    @@ -637,6 +982,38 @@ Redis::pubsub() — Method in class Redis() — Method in class Redis

    Unsubscribe from one or more channels by pattern

    RedisArray::ping() — Method in class RedisArray
    +
    +RedisArray::pexpiretime() — Method in class RedisArray
    +
    +RedisArray::pconnect() — Method in class RedisArray
    +
    +RedisArray::persist() — Method in class RedisArray
    +
    +RedisArray::pexpire() — Method in class RedisArray
    +
    +RedisArray::pexpireAt() — Method in class RedisArray
    +
    +RedisArray::pfadd() — Method in class RedisArray
    +
    +RedisArray::pfcount() — Method in class RedisArray
    +
    +RedisArray::pfmerge() — Method in class RedisArray
    +
    +RedisArray::pipeline() — Method in class RedisArray
    +
    +RedisArray::popen() — Method in class RedisArray
    +
    +RedisArray::psetex() — Method in class RedisArray
    +
    +RedisArray::psubscribe() — Method in class RedisArray
    +
    +RedisArray::pttl() — Method in class RedisArray
    +
    +RedisArray::publish() — Method in class RedisArray
    +
    +RedisArray::pubsub() — Method in class RedisArray
    +
    +RedisArray::punsubscribe() — Method in class RedisArray
    RedisCluster::pexpiretime() — Method in class RedisCluster
    @@ -696,6 +1073,30 @@ another.

    Redis::replicaof() — Method in class Redis

    Used to turn a Redis instance into a replica of another, or to remove replica status promoting the instance to a primary.

    RedisArray
    +
    +RedisArray::rPush() — Method in class RedisArray
    +
    +RedisArray::rPushx() — Method in class RedisArray
    +
    +RedisArray::rPop() — Method in class RedisArray
    +
    +RedisArray::randomKey() — Method in class RedisArray
    +
    +RedisArray::rawcommand() — Method in class RedisArray
    +
    +RedisArray::rename() — Method in class RedisArray
    +
    +RedisArray::renameNx() — Method in class RedisArray
    +
    +RedisArray::reset() — Method in class RedisArray
    +
    +RedisArray::restore() — Method in class RedisArray
    +
    +RedisArray::role() — Method in class RedisArray
    +
    +RedisArray::rpoplpush() — Method in class RedisArray
    +
    +RedisArray::replicaof() — Method in class RedisArray
    RedisCluster
    RedisCluster::randomkey() — Method in class RedisCluster
    @@ -723,11 +1124,15 @@ RedisCluster::rpushx() — Method in class RedisSentinel::reset() — Method in class RedisSentinel

    S

    -
    +
    +Redis::serverName() — Method in class Redis
    +

    Get the server name as reported by the HELLO response.

    +Redis::serverVersion() — Method in class Redis
    +

    Get the server version as reported by the HELLO response.

    Redis::sAdd() — Method in class Redis

    Add one or more values to a Redis SET key.

    Redis::sAddArray() — Method in class Redis
    -

    Add one ore more values to a Redis SET key. This is an alternative to Redis::sadd() but +

    Add one or more values to a Redis SET key. This is an alternative to Redis::sadd() but instead of being variadic, takes a single array of values.

    Redis::sDiff() — Method in class Redis

    Given one or more Redis SETS, this command returns all of the members from the first @@ -804,11 +1209,16 @@ Redis::sortDescAlpha() — Method in class Redi Redis::srem() — Method in class Redis

    Remove one or more values from a Redis SET key.

    Redis::sscan() — Method in class Redis
    -

    Scan the members of a redis SET key.

    +

    Scan the members of a redis SET key.

    +Redis::ssubscribe() — Method in class Redis
    +

    Subscribes the client to the specified shard channels.

    Redis::strlen() — Method in class Redis

    Retrieve the length of a Redis STRING key.

    Redis::subscribe() — Method in class Redis
    -

    Subscribe to one or more Redis pubsub channels.

    +

    Subscribe to one or more Redis pubsub channels.

    +Redis::sunsubscribe() — Method in class Redis
    +

    Unsubscribes the client from the given shard channels, +or from all of them if none is given.

    Redis::swapdb() — Method in class Redis

    Atomically swap two Redis databases so that all of the keys in the source database will now be in the destination database and vice-versa.

    @@ -821,6 +1231,82 @@ RedisArray::select() — Method in class R RedisArray::setOption() — Method in class RedisArray
    RedisArray::sscan() — Method in class RedisArray
    +
    +RedisArray::serverName() — Method in class RedisArray
    +
    +RedisArray::serverVersion() — Method in class RedisArray
    +
    +RedisArray::sAdd() — Method in class RedisArray
    +
    +RedisArray::sAddArray() — Method in class RedisArray
    +
    +RedisArray::sDiff() — Method in class RedisArray
    +
    +RedisArray::sDiffStore() — Method in class RedisArray
    +
    +RedisArray::sInter() — Method in class RedisArray
    +
    +RedisArray::sintercard() — Method in class RedisArray
    +
    +RedisArray::sInterStore() — Method in class RedisArray
    +
    +RedisArray::sMembers() — Method in class RedisArray
    +
    +RedisArray::sMisMember() — Method in class RedisArray
    +
    +RedisArray::sMove() — Method in class RedisArray
    +
    +RedisArray::sPop() — Method in class RedisArray
    +
    +RedisArray::sRandMember() — Method in class RedisArray
    +
    +RedisArray::sUnion() — Method in class RedisArray
    +
    +RedisArray::sUnionStore() — Method in class RedisArray
    +
    +RedisArray::scard() — Method in class RedisArray
    +
    +RedisArray::script() — Method in class RedisArray
    +
    +RedisArray::set() — Method in class RedisArray
    +
    +RedisArray::setBit() — Method in class RedisArray
    +
    +RedisArray::setRange() — Method in class RedisArray
    +
    +RedisArray::setex() — Method in class RedisArray
    +
    +RedisArray::setnx() — Method in class RedisArray
    +
    +RedisArray::sismember() — Method in class RedisArray
    +
    +RedisArray::slaveof() — Method in class RedisArray
    +
    +RedisArray::slowlog() — Method in class RedisArray
    +
    +RedisArray::sort() — Method in class RedisArray
    +
    +RedisArray::sort_ro() — Method in class RedisArray
    +
    +RedisArray::sortAsc() — Method in class RedisArray
    +
    +RedisArray::sortAscAlpha() — Method in class RedisArray
    +
    +RedisArray::sortDesc() — Method in class RedisArray
    +
    +RedisArray::sortDescAlpha() — Method in class RedisArray
    +
    +RedisArray::srem() — Method in class RedisArray
    +
    +RedisArray::ssubscribe() — Method in class RedisArray
    +
    +RedisArray::strlen() — Method in class RedisArray
    +
    +RedisArray::subscribe() — Method in class RedisArray
    +
    +RedisArray::sunsubscribe() — Method in class RedisArray
    +
    +RedisArray::swapdb() — Method in class RedisArray
    RedisCluster::sadd() — Method in class RedisCluster
    @@ -857,6 +1343,8 @@ RedisCluster::sintercard() — Method in class RedisCluster
    RedisCluster::sismember() — Method in class RedisCluster
    +
    +RedisCluster::smismember() — Method in class RedisCluster
    RedisCluster::slowlog() — Method in class RedisCluster
    @@ -896,7 +1384,15 @@ Redis::time() — Method in class Redis() — Method in class Redis

    Get the amount of time a Redis key has before it will expire, in seconds.

    Redis::type() — Method in class Redis
    -

    Get the type of a given Redis key.

    +

    Get the type of a given Redis key.

    +RedisArray::touch() — Method in class RedisArray
    +
    +RedisArray::time() — Method in class RedisArray
    +
    +RedisArray::ttl() — Method in class RedisArray
    +
    +RedisArray::type() — Method in class RedisArray
    +
    RedisCluster::touch() — Method in class RedisCluster
    RedisCluster::time() — Method in class RedisCluster
    @@ -917,24 +1413,117 @@ Redis::unwatch() — Method in class Redis< RedisArray::unlink() — Method in class RedisArray
    RedisArray::unwatch() — Method in class RedisArray
    +
    +RedisArray::unsubscribe() — Method in class RedisArray
    RedisCluster::unsubscribe() — Method in class RedisCluster
    RedisCluster::unlink() — Method in class RedisCluster
    RedisCluster::unwatch() — Method in class RedisCluster
    +

    V

    +
    +Redis::vadd() — Method in class Redis
    +

    Add to a vector set

    +Redis::vsim() — Method in class Redis
    +

    Query similarity of a vector by element or scores

    +Redis::vcard() — Method in class Redis
    +

    Get the length of a vector set

    +Redis::vdim() — Method in class Redis
    +

    Get the dimensions of a vector set

    +Redis::vinfo() — Method in class Redis
    +

    Get various bits of information about a vector set

    +Redis::vismember() — Method in class Redis
    +

    Check if an element is a member of a vectorset

    +Redis::vemb() — Method in class Redis
    +

    Get the embeddings for a specific member

    +Redis::vrandmember() — Method in class Redis
    +

    Get one or more random members from a vector set

    +Redis::vrange() — Method in class Redis
    +

    Retreive a lexographical range of elements from a vector set

    +Redis::vrem() — Method in class Redis
    +

    Remove an element from a vector set

    +Redis::vsetattr() — Method in class Redis
    +

    Set the attributes of a vector set element

    +Redis::vgetattr() — Method in class Redis
    +

    Get the attributes of a vector set element

    +Redis::vlinks() — Method in class Redis
    +

    Get any adajcent values for a member of a vector set.

    +RedisArray::vadd() — Method in class RedisArray
    +
    +RedisArray::vsim() — Method in class RedisArray
    +
    +RedisArray::vcard() — Method in class RedisArray
    +
    +RedisArray::vdim() — Method in class RedisArray
    +
    +RedisArray::vinfo() — Method in class RedisArray
    +
    +RedisArray::vismember() — Method in class RedisArray
    +
    +RedisArray::vemb() — Method in class RedisArray
    +
    +RedisArray::vrandmember() — Method in class RedisArray
    +
    +RedisArray::vrange() — Method in class RedisArray
    +
    +RedisArray::vrem() — Method in class RedisArray
    +
    +RedisArray::vsetattr() — Method in class RedisArray
    +
    +RedisArray::vgetattr() — Method in class RedisArray
    +
    +RedisArray::vlinks() — Method in class RedisArray
    +
    +RedisCluster::vadd() — Method in class RedisCluster
    +
    +RedisCluster::vsim() — Method in class RedisCluster
    +
    +RedisCluster::vcard() — Method in class RedisCluster
    +
    +RedisCluster::vdim() — Method in class RedisCluster
    +
    +RedisCluster::vinfo() — Method in class RedisCluster
    +
    +RedisCluster::vismember() — Method in class RedisCluster
    +

    Check if an element is a member of a vectorset

    +RedisCluster::vemb() — Method in class RedisCluster
    +
    +RedisCluster::vrandmember() — Method in class RedisCluster
    +
    +RedisCluster::vrange() — Method in class RedisCluster
    +

    Retreive a lexographical range of elements from a vector set

    +RedisCluster::vrem() — Method in class RedisCluster
    +
    +RedisCluster::vlinks() — Method in class RedisCluster
    +
    +RedisCluster::vgetattr() — Method in class RedisCluster
    +
    +RedisCluster::vsetattr() — Method in class RedisCluster

    W

    -
    +
    +Redis::waitaof() — Method in class Redis
    +
    Redis::watch() — Method in class Redis

    Watch one or more keys for conditional execution of a transaction.

    Redis::wait() — Method in class Redis

    Block the client up to the provided timeout until a certain number of replicas have confirmed -receiving them.

    +receiving them.

    +RedisArray::waitaof() — Method in class RedisArray
    +
    +RedisArray::watch() — Method in class RedisArray
    +
    +RedisArray::wait() — Method in class RedisArray
    +
    +RedisCluster::wait() — Method in class RedisCluster
    +
    +RedisCluster::waitaof() — Method in class RedisCluster
    +
    RedisCluster::watch() — Method in class RedisCluster

    X

    Redis::xack() — Method in class Redis
    -

    Acknowledge one ore more messages that are pending (have been consumed using XREADGROUP but +

    Acknowledge one or more messages that are pending (have been consumed using XREADGROUP but not yet acknowledged by XACK.)

    Redis::xadd() — Method in class Redis

    Append a message to a stream.

    @@ -963,7 +1552,33 @@ Redis::xreadgroup() — Method in class Redis() — Method in class Redis

    Get a range of entries from a STREAM key in reverse chronological order.

    Redis::xtrim() — Method in class Redis
    -

    Truncate a STREAM key in various ways.

    +

    Truncate a STREAM key in various ways.

    +RedisArray::xack() — Method in class RedisArray
    +
    +RedisArray::xadd() — Method in class RedisArray
    +
    +RedisArray::xautoclaim() — Method in class RedisArray
    +
    +RedisArray::xclaim() — Method in class RedisArray
    +
    +RedisArray::xdel() — Method in class RedisArray
    +
    +RedisArray::xinfo() — Method in class RedisArray
    +
    +RedisArray::xlen() — Method in class RedisArray
    +
    +RedisArray::xpending() — Method in class RedisArray
    +
    +RedisArray::xrange() — Method in class RedisArray
    +
    +RedisArray::xread() — Method in class RedisArray
    +
    +RedisArray::xreadgroup() — Method in class RedisArray
    +
    +RedisArray::xrevrange() — Method in class RedisArray
    +
    +RedisArray::xtrim() — Method in class RedisArray
    +
    RedisCluster::xack() — Method in class RedisCluster
    RedisCluster::xadd() — Method in class RedisCluster
    @@ -1054,7 +1669,7 @@ Redis::zintercard() — Method in class Redis

    Similar to ZINTER but instead of returning the intersected values, this command returns the cardinality of the intersected set.

    Redis::zinterstore() — Method in class Redis
    -

    Compute the intersection of one ore more sorted sets storing the result in a new sorted set.

    +

    Compute the intersection of one or more sorted sets storing the result in a new sorted set.

    Redis::zscan() — Method in class Redis

    Scan the members of a sorted set incrementally, using a cursor

    Redis::zunion() — Method in class Redis
    @@ -1062,6 +1677,66 @@ Redis::zunion() — Method in class Redis() — Method in class Redis

    Perform a union on one or more Redis sets and store the result in a destination sorted set.

    RedisArray::zscan() — Method in class RedisArray
    +
    +RedisArray::zmpop() — Method in class RedisArray
    +
    +RedisArray::zAdd() — Method in class RedisArray
    +
    +RedisArray::zCard() — Method in class RedisArray
    +
    +RedisArray::zCount() — Method in class RedisArray
    +
    +RedisArray::zIncrBy() — Method in class RedisArray
    +
    +RedisArray::zLexCount() — Method in class RedisArray
    +
    +RedisArray::zMscore() — Method in class RedisArray
    +
    +RedisArray::zPopMax() — Method in class RedisArray
    +
    +RedisArray::zPopMin() — Method in class RedisArray
    +
    +RedisArray::zRange() — Method in class RedisArray
    +
    +RedisArray::zRangeByLex() — Method in class RedisArray
    +
    +RedisArray::zRangeByScore() — Method in class RedisArray
    +
    +RedisArray::zRandMember() — Method in class RedisArray
    +
    +RedisArray::zRank() — Method in class RedisArray
    +
    +RedisArray::zRem() — Method in class RedisArray
    +
    +RedisArray::zRemRangeByLex() — Method in class RedisArray
    +
    +RedisArray::zRemRangeByRank() — Method in class RedisArray
    +
    +RedisArray::zRemRangeByScore() — Method in class RedisArray
    +
    +RedisArray::zRevRange() — Method in class RedisArray
    +
    +RedisArray::zRevRangeByLex() — Method in class RedisArray
    +
    +RedisArray::zRevRangeByScore() — Method in class RedisArray
    +
    +RedisArray::zRevRank() — Method in class RedisArray
    +
    +RedisArray::zScore() — Method in class RedisArray
    +
    +RedisArray::zdiff() — Method in class RedisArray
    +
    +RedisArray::zdiffstore() — Method in class RedisArray
    +
    +RedisArray::zinter() — Method in class RedisArray
    +
    +RedisArray::zintercard() — Method in class RedisArray
    +
    +RedisArray::zinterstore() — Method in class RedisArray
    +
    +RedisArray::zunion() — Method in class RedisArray
    +
    +RedisArray::zunionstore() — Method in class RedisArray
    RedisCluster::zmpop() — Method in class RedisCluster
    @@ -1086,6 +1761,8 @@ RedisCluster::zpopmin() — Method in class RedisCluster
    RedisCluster::zrangestore() — Method in class RedisCluster
    +
    +RedisCluster::zrandmember() — Method in class RedisCluster
    RedisCluster::zrangebylex() — Method in class RedisCluster
    @@ -1112,8 +1789,18 @@ RedisCluster::zrevrank() — Method in class RedisCluster
    RedisCluster::zscore() — Method in class RedisCluster
    +
    +RedisCluster::zmscore() — Method in class RedisCluster
    RedisCluster::zunionstore() — Method in class RedisCluster
    +
    +RedisCluster::zinter() — Method in class RedisCluster
    +
    +RedisCluster::zdiffstore() — Method in class RedisCluster
    +
    +RedisCluster::zunion() — Method in class RedisCluster
    +
    +RedisCluster::zdiff() — Method in class RedisCluster

    _

    Redis::__construct() — Method in class Redis
    @@ -1123,11 +1810,11 @@ time.

    Redis::__destruct() — Method in class Redis
    Redis::_compress() — Method in class Redis
    -

    Compress a value with the currently configured compressor as set with -Redis::setOption().

    +

    Compress a value with the currently configured compressor (Redis::OPT_COMPRESSION) +exactly the same way PhpRedis does before sending data to Redis.

    Redis::_uncompress() — Method in class Redis
    -

    Uncompress the provided argument that has been compressed with the -currently configured compressor as set with Redis::setOption().

    +

    Uncompress the provided argument using the compressor configured via +Redis::setOption() (Redis::OPT_COMPRESSION).

    Redis::_prefix() — Method in class Redis

    Prefix the passed argument with the currently set key prefix as set with Redis::setOption().

    @@ -1138,11 +1825,16 @@ Redis::_unserialize() — Method in class Redis

    Unserialize the passed argument with the currently set serializer as set with Redis::setOption().

    Redis::_pack() — Method in class Redis
    -

    Pack the provided value with the configured serializer and compressor -as set with Redis::setOption().

    +

    Pack the provided value by first serializing it (if Redis::OPT_SERIALIZER is set) +and then compressing the serialized payload (if Redis::OPT_COMPRESSION is set), +mirroring exactly what PhpRedis transmits to Redis.

    +Redis::_digest() — Method in class Redis
    +

    Compute the XXH3 digest of a PHP value after it has been _packed, producing +the same digest Redis' DIGEST command would return for the stored value.

    Redis::_unpack() — Method in class Redis
    -

    Unpack the provided value with the configured compressor and serializer -as set with Redis::setOption().

    +

    Unpack the provided value by first uncompressing it (if Redis::OPT_COMPRESSION +is set) and then unserializing it (if Redis::OPT_SERIALIZER is set) to recover +the original PHP value.

    RedisArray::__call() — Method in class RedisArray
    RedisArray::__construct() — Method in class RedisArray
    @@ -1172,6 +1864,8 @@ RedisCluster::_serialize() — Method in class RedisCluster
    RedisCluster::_pack() — Method in class RedisCluster
    +
    +RedisCluster::_digest() — Method in class RedisCluster
    RedisCluster::_unpack() — Method in class RedisCluster
    diff --git a/docs/doctum-search.json b/docs/doctum-search.json index 20e66a1b..7abab7df 100644 --- a/docs/doctum-search.json +++ b/docs/doctum-search.json @@ -1 +1 @@ -{"items":[{"t":"C","n":"Redis","p":"Redis.html","d":"","f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"C","n":"RedisArray","p":"RedisArray.html","d":"","f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"C","n":"RedisCluster","p":"RedisCluster.html","d":"","f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"C","n":"RedisClusterException","p":"RedisClusterException.html","d":null,"f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"C","n":"RedisException","p":"RedisException.html","d":null,"f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"C","n":"RedisSentinel","p":"RedisSentinel.html","d":"","f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"M","n":"Redis::__construct","p":"Redis.html#method___construct","d":"

    Create a new Redis instance. If passed sufficient information in the\noptions array it is also possible to connect to an instance at the same\ntime.

    "},{"t":"M","n":"Redis::__destruct","p":"Redis.html#method___destruct","d":null},{"t":"M","n":"Redis::_compress","p":"Redis.html#method__compress","d":"

    Compress a value with the currently configured compressor as set with\nRedis::setOption().

    "},{"t":"M","n":"Redis::_uncompress","p":"Redis.html#method__uncompress","d":"

    Uncompress the provided argument that has been compressed with the\ncurrently configured compressor as set with Redis::setOption().

    "},{"t":"M","n":"Redis::_prefix","p":"Redis.html#method__prefix","d":"

    Prefix the passed argument with the currently set key prefix as set\nwith Redis::setOption().

    "},{"t":"M","n":"Redis::_serialize","p":"Redis.html#method__serialize","d":"

    Serialize the provided value with the currently set serializer as set\nwith Redis::setOption().

    "},{"t":"M","n":"Redis::_unserialize","p":"Redis.html#method__unserialize","d":"

    Unserialize the passed argument with the currently set serializer as set\nwith Redis::setOption().

    "},{"t":"M","n":"Redis::_pack","p":"Redis.html#method__pack","d":"

    Pack the provided value with the configured serializer and compressor\nas set with Redis::setOption().

    "},{"t":"M","n":"Redis::_unpack","p":"Redis.html#method__unpack","d":"

    Unpack the provided value with the configured compressor and serializer\nas set with Redis::setOption().

    "},{"t":"M","n":"Redis::acl","p":"Redis.html#method_acl","d":null},{"t":"M","n":"Redis::append","p":"Redis.html#method_append","d":"

    Append data to a Redis STRING key.

    "},{"t":"M","n":"Redis::auth","p":"Redis.html#method_auth","d":"

    Authenticate a Redis connection after its been established.

    "},{"t":"M","n":"Redis::bgSave","p":"Redis.html#method_bgSave","d":"

    Execute a save of the Redis database in the background.

    "},{"t":"M","n":"Redis::bgrewriteaof","p":"Redis.html#method_bgrewriteaof","d":"

    Asynchronously rewrite Redis' append-only file

    "},{"t":"M","n":"Redis::bitcount","p":"Redis.html#method_bitcount","d":"

    Count the number of set bits in a Redis string.

    "},{"t":"M","n":"Redis::bitop","p":"Redis.html#method_bitop","d":null},{"t":"M","n":"Redis::bitpos","p":"Redis.html#method_bitpos","d":"

    Return the position of the first bit set to 0 or 1 in a string.

    "},{"t":"M","n":"Redis::blPop","p":"Redis.html#method_blPop","d":"

    Pop an element off the beginning of a Redis list or lists, potentially blocking up to a specified\ntimeout. This method may be called in two distinct ways, of which examples are provided below.

    "},{"t":"M","n":"Redis::brPop","p":"Redis.html#method_brPop","d":"

    Pop an element off of the end of a Redis list or lists, potentially blocking up to a specified timeout.

    "},{"t":"M","n":"Redis::brpoplpush","p":"Redis.html#method_brpoplpush","d":"

    Pop an element from the end of a Redis list, pushing it to the beginning of another Redis list,\noptionally blocking up to a specified timeout.

    "},{"t":"M","n":"Redis::bzPopMax","p":"Redis.html#method_bzPopMax","d":"

    POP the maximum scoring element off of one or more sorted sets, blocking up to a specified\ntimeout if no elements are available.

    "},{"t":"M","n":"Redis::bzPopMin","p":"Redis.html#method_bzPopMin","d":"

    POP the minimum scoring element off of one or more sorted sets, blocking up to a specified timeout\nif no elements are available

    "},{"t":"M","n":"Redis::bzmpop","p":"Redis.html#method_bzmpop","d":"

    POP one or more elements from one or more sorted sets, blocking up to a specified amount of time\nwhen no elements are available.

    "},{"t":"M","n":"Redis::zmpop","p":"Redis.html#method_zmpop","d":"

    POP one or more of the highest or lowest scoring elements from one or more sorted sets.

    "},{"t":"M","n":"Redis::blmpop","p":"Redis.html#method_blmpop","d":"

    Pop one or more elements from one or more Redis LISTs, blocking up to a specified timeout when\nno elements are available.

    "},{"t":"M","n":"Redis::lmpop","p":"Redis.html#method_lmpop","d":"

    Pop one or more elements off of one or more Redis LISTs.

    "},{"t":"M","n":"Redis::clearLastError","p":"Redis.html#method_clearLastError","d":"

    Reset any last error on the connection to NULL

    "},{"t":"M","n":"Redis::client","p":"Redis.html#method_client","d":null},{"t":"M","n":"Redis::close","p":"Redis.html#method_close","d":null},{"t":"M","n":"Redis::command","p":"Redis.html#method_command","d":null},{"t":"M","n":"Redis::config","p":"Redis.html#method_config","d":"

    Execute the Redis CONFIG command in a variety of ways.

    "},{"t":"M","n":"Redis::connect","p":"Redis.html#method_connect","d":null},{"t":"M","n":"Redis::copy","p":"Redis.html#method_copy","d":"

    Make a copy of a key.

    "},{"t":"M","n":"Redis::dbSize","p":"Redis.html#method_dbSize","d":"

    Return the number of keys in the currently selected Redis database.

    "},{"t":"M","n":"Redis::debug","p":"Redis.html#method_debug","d":null},{"t":"M","n":"Redis::decr","p":"Redis.html#method_decr","d":"

    Decrement a Redis integer by 1 or a provided value.

    "},{"t":"M","n":"Redis::decrBy","p":"Redis.html#method_decrBy","d":"

    Decrement a redis integer by a value

    "},{"t":"M","n":"Redis::del","p":"Redis.html#method_del","d":"

    Delete one or more keys from Redis.

    "},{"t":"M","n":"Redis::delete","p":"Redis.html#method_delete","d":""},{"t":"M","n":"Redis::discard","p":"Redis.html#method_discard","d":"

    Discard a transaction currently in progress.

    "},{"t":"M","n":"Redis::dump","p":"Redis.html#method_dump","d":"

    Dump Redis' internal binary representation of a key.

    "},{"t":"M","n":"Redis::echo","p":"Redis.html#method_echo","d":"

    Have Redis repeat back an arbitrary string to the client.

    "},{"t":"M","n":"Redis::eval","p":"Redis.html#method_eval","d":"

    Execute a LUA script on the redis server.

    "},{"t":"M","n":"Redis::eval_ro","p":"Redis.html#method_eval_ro","d":"

    This is simply the read-only variant of eval, meaning the underlying script\nmay not modify data in redis.

    "},{"t":"M","n":"Redis::evalsha","p":"Redis.html#method_evalsha","d":"

    Execute a LUA script on the server but instead of sending the script, send\nthe SHA1 hash of the script.

    "},{"t":"M","n":"Redis::evalsha_ro","p":"Redis.html#method_evalsha_ro","d":"

    This is simply the read-only variant of evalsha, meaning the underlying script\nmay not modify data in redis.

    "},{"t":"M","n":"Redis::exec","p":"Redis.html#method_exec","d":"

    Execute either a MULTI or PIPELINE block and return the array of replies.

    "},{"t":"M","n":"Redis::exists","p":"Redis.html#method_exists","d":"

    Test if one or more keys exist.

    "},{"t":"M","n":"Redis::expire","p":"Redis.html#method_expire","d":"

    Sets an expiration in seconds on the key in question. If connected to\nredis-server >= 7.0.0 you may send an additional "mode" argument which\nmodifies how the command will execute.

    "},{"t":"M","n":"Redis::expireAt","p":"Redis.html#method_expireAt","d":"

    Set a key to expire at an exact unix timestamp.

    "},{"t":"M","n":"Redis::failover","p":"Redis.html#method_failover","d":null},{"t":"M","n":"Redis::expiretime","p":"Redis.html#method_expiretime","d":"

    Get the expiration of a given key as a unix timestamp

    "},{"t":"M","n":"Redis::pexpiretime","p":"Redis.html#method_pexpiretime","d":"

    Get the expriation timestamp of a given Redis key but in milliseconds.

    "},{"t":"M","n":"Redis::flushAll","p":"Redis.html#method_flushAll","d":"

    Deletes every key in all Redis databases

    "},{"t":"M","n":"Redis::flushDB","p":"Redis.html#method_flushDB","d":"

    Deletes all the keys of the currently selected database.

    "},{"t":"M","n":"Redis::geoadd","p":"Redis.html#method_geoadd","d":"

    Add one or more members to a geospacial sorted set

    "},{"t":"M","n":"Redis::geodist","p":"Redis.html#method_geodist","d":"

    Get the distance between two members of a geospacially encoded sorted set.

    "},{"t":"M","n":"Redis::geohash","p":"Redis.html#method_geohash","d":"

    Retrieve one or more GeoHash encoded strings for members of the set.

    "},{"t":"M","n":"Redis::geopos","p":"Redis.html#method_geopos","d":"

    Return the longitude and lattitude for one or more members of a geospacially encoded sorted set.

    "},{"t":"M","n":"Redis::georadius","p":"Redis.html#method_georadius","d":"

    Retrieve members of a geospacially sorted set that are within a certain radius of a location.

    "},{"t":"M","n":"Redis::georadius_ro","p":"Redis.html#method_georadius_ro","d":"

    A readonly variant of GEORADIUS that may be executed on replicas.

    "},{"t":"M","n":"Redis::georadiusbymember","p":"Redis.html#method_georadiusbymember","d":"

    Similar to GEORADIUS except it uses a member as the center of the query.

    "},{"t":"M","n":"Redis::georadiusbymember_ro","p":"Redis.html#method_georadiusbymember_ro","d":"

    This is the read-only variant of GEORADIUSBYMEMBER that can be run on replicas.

    "},{"t":"M","n":"Redis::geosearch","p":"Redis.html#method_geosearch","d":"

    Search a geospacial sorted set for members in various ways.

    "},{"t":"M","n":"Redis::geosearchstore","p":"Redis.html#method_geosearchstore","d":"

    Search a geospacial sorted set for members within a given area or range, storing the results into\na new set.

    "},{"t":"M","n":"Redis::get","p":"Redis.html#method_get","d":"

    Retrieve a string keys value.

    "},{"t":"M","n":"Redis::getAuth","p":"Redis.html#method_getAuth","d":"

    Get the authentication information on the connection, if any.

    "},{"t":"M","n":"Redis::getBit","p":"Redis.html#method_getBit","d":"

    Get the bit at a given index in a string key.

    "},{"t":"M","n":"Redis::getEx","p":"Redis.html#method_getEx","d":"

    Get the value of a key and optionally set it's expiration.

    "},{"t":"M","n":"Redis::getDBNum","p":"Redis.html#method_getDBNum","d":"

    Get the database number PhpRedis thinks we're connected to.

    "},{"t":"M","n":"Redis::getDel","p":"Redis.html#method_getDel","d":"

    Get a key from Redis and delete it in an atomic operation.

    "},{"t":"M","n":"Redis::getHost","p":"Redis.html#method_getHost","d":"

    Return the host or Unix socket we are connected to.

    "},{"t":"M","n":"Redis::getLastError","p":"Redis.html#method_getLastError","d":"

    Get the last error returned to us from Redis, if any.

    "},{"t":"M","n":"Redis::getMode","p":"Redis.html#method_getMode","d":"

    Returns whether the connection is in ATOMIC, MULTI, or PIPELINE mode

    "},{"t":"M","n":"Redis::getOption","p":"Redis.html#method_getOption","d":"

    Retrieve the value of a configuration setting as set by Redis::setOption()

    "},{"t":"M","n":"Redis::getPersistentID","p":"Redis.html#method_getPersistentID","d":"

    Get the persistent connection ID, if there is one.

    "},{"t":"M","n":"Redis::getPort","p":"Redis.html#method_getPort","d":"

    Get the port we are connected to. This number will be zero if we are connected to a unix socket.

    "},{"t":"M","n":"Redis::getRange","p":"Redis.html#method_getRange","d":"

    Retrieve a substring of a string by index.

    "},{"t":"M","n":"Redis::lcs","p":"Redis.html#method_lcs","d":"

    Get the longest common subsequence between two string keys.

    "},{"t":"M","n":"Redis::getReadTimeout","p":"Redis.html#method_getReadTimeout","d":"

    Get the currently set read timeout on the connection.

    "},{"t":"M","n":"Redis::getset","p":"Redis.html#method_getset","d":"

    Sets a key and returns any previously set value, if the key already existed.

    "},{"t":"M","n":"Redis::getTimeout","p":"Redis.html#method_getTimeout","d":"

    Retrieve any set connection timeout

    "},{"t":"M","n":"Redis::getTransferredBytes","p":"Redis.html#method_getTransferredBytes","d":null},{"t":"M","n":"Redis::hDel","p":"Redis.html#method_hDel","d":"

    Remove one or more fields from a hash.

    "},{"t":"M","n":"Redis::hExists","p":"Redis.html#method_hExists","d":"

    Checks whether a field exists in a hash.

    "},{"t":"M","n":"Redis::hGet","p":"Redis.html#method_hGet","d":null},{"t":"M","n":"Redis::hGetAll","p":"Redis.html#method_hGetAll","d":"

    Read every field and value from a hash.

    "},{"t":"M","n":"Redis::hIncrBy","p":"Redis.html#method_hIncrBy","d":"

    Increment a hash field's value by an integer

    "},{"t":"M","n":"Redis::hIncrByFloat","p":"Redis.html#method_hIncrByFloat","d":"

    Increment a hash field by a floating point value

    "},{"t":"M","n":"Redis::hKeys","p":"Redis.html#method_hKeys","d":"

    Retrieve all of the fields of a hash.

    "},{"t":"M","n":"Redis::hLen","p":"Redis.html#method_hLen","d":"

    Get the number of fields in a hash.

    "},{"t":"M","n":"Redis::hMget","p":"Redis.html#method_hMget","d":"

    Get one or more fields from a hash.

    "},{"t":"M","n":"Redis::hMset","p":"Redis.html#method_hMset","d":"

    Add or update one or more hash fields and values

    "},{"t":"M","n":"Redis::hRandField","p":"Redis.html#method_hRandField","d":"

    Get one or more random field from a hash.

    "},{"t":"M","n":"Redis::hSet","p":"Redis.html#method_hSet","d":null},{"t":"M","n":"Redis::hSetNx","p":"Redis.html#method_hSetNx","d":"

    Set a hash field and value, but only if that field does not exist

    "},{"t":"M","n":"Redis::hStrLen","p":"Redis.html#method_hStrLen","d":"

    Get the string length of a hash field

    "},{"t":"M","n":"Redis::hVals","p":"Redis.html#method_hVals","d":"

    Get all of the values from a hash.

    "},{"t":"M","n":"Redis::hscan","p":"Redis.html#method_hscan","d":"

    Iterate over the fields and values of a hash in an incremental fashion.

    "},{"t":"M","n":"Redis::incr","p":"Redis.html#method_incr","d":"

    Increment a key's value, optionally by a specifc amount.

    "},{"t":"M","n":"Redis::incrBy","p":"Redis.html#method_incrBy","d":"

    Increment a key by a specific integer value

    "},{"t":"M","n":"Redis::incrByFloat","p":"Redis.html#method_incrByFloat","d":"

    Increment a numeric key by a floating point value.

    "},{"t":"M","n":"Redis::info","p":"Redis.html#method_info","d":"

    Retrieve information about the connected redis-server. If no arguments are passed to\nthis function, redis will return every info field. Alternatively you may pass a specific\nsection you want returned (e.g. 'server', or 'memory') to receive only information pertaining\nto that section.

    "},{"t":"M","n":"Redis::isConnected","p":"Redis.html#method_isConnected","d":"

    Check if we are currently connected to a Redis instance.

    "},{"t":"M","n":"Redis::keys","p":"Redis.html#method_keys","d":""},{"t":"M","n":"Redis::lInsert","p":"Redis.html#method_lInsert","d":""},{"t":"M","n":"Redis::lLen","p":"Redis.html#method_lLen","d":"

    Retrieve the lenght of a list.

    "},{"t":"M","n":"Redis::lMove","p":"Redis.html#method_lMove","d":"

    Move an element from one list into another.

    "},{"t":"M","n":"Redis::lPop","p":"Redis.html#method_lPop","d":"

    Pop one or more elements off a list.

    "},{"t":"M","n":"Redis::lPos","p":"Redis.html#method_lPos","d":"

    Retrieve the index of an element in a list.

    "},{"t":"M","n":"Redis::lPush","p":"Redis.html#method_lPush","d":"

    Prepend one or more elements to a list.

    "},{"t":"M","n":"Redis::rPush","p":"Redis.html#method_rPush","d":"

    Append one or more elements to a list.

    "},{"t":"M","n":"Redis::lPushx","p":"Redis.html#method_lPushx","d":"

    Prepend an element to a list but only if the list exists

    "},{"t":"M","n":"Redis::rPushx","p":"Redis.html#method_rPushx","d":"

    Append an element to a list but only if the list exists

    "},{"t":"M","n":"Redis::lSet","p":"Redis.html#method_lSet","d":"

    Set a list element at an index to a specific value.

    "},{"t":"M","n":"Redis::lastSave","p":"Redis.html#method_lastSave","d":"

    Retrieve the last time Redis' database was persisted to disk.

    "},{"t":"M","n":"Redis::lindex","p":"Redis.html#method_lindex","d":"

    Get the element of a list by its index.

    "},{"t":"M","n":"Redis::lrange","p":"Redis.html#method_lrange","d":"

    Retrieve elements from a list.

    "},{"t":"M","n":"Redis::lrem","p":"Redis.html#method_lrem","d":"

    Remove one or more matching elements from a list.

    "},{"t":"M","n":"Redis::ltrim","p":"Redis.html#method_ltrim","d":"

    Trim a list to a subrange of elements.

    "},{"t":"M","n":"Redis::mget","p":"Redis.html#method_mget","d":"

    Get one ore more string keys.

    "},{"t":"M","n":"Redis::migrate","p":"Redis.html#method_migrate","d":null},{"t":"M","n":"Redis::move","p":"Redis.html#method_move","d":"

    Move a key to a different database on the same redis instance.

    "},{"t":"M","n":"Redis::mset","p":"Redis.html#method_mset","d":"

    Set one ore more string keys.

    "},{"t":"M","n":"Redis::msetnx","p":"Redis.html#method_msetnx","d":"

    Set one ore more string keys but only if none of the key exist.

    "},{"t":"M","n":"Redis::multi","p":"Redis.html#method_multi","d":"

    Begin a transaction.

    "},{"t":"M","n":"Redis::object","p":"Redis.html#method_object","d":null},{"t":"M","n":"Redis::open","p":"Redis.html#method_open","d":""},{"t":"M","n":"Redis::pconnect","p":"Redis.html#method_pconnect","d":null},{"t":"M","n":"Redis::persist","p":"Redis.html#method_persist","d":"

    Remove the expiration from a key.

    "},{"t":"M","n":"Redis::pexpire","p":"Redis.html#method_pexpire","d":"

    Sets an expiration in milliseconds on a given key. If connected to Redis >= 7.0.0\nyou can pass an optional mode argument that modifies how the command will execute.

    "},{"t":"M","n":"Redis::pexpireAt","p":"Redis.html#method_pexpireAt","d":"

    Set a key's expiration to a specific Unix Timestamp in milliseconds. If connected to\nRedis >= 7.0.0 you can pass an optional 'mode' argument.

    "},{"t":"M","n":"Redis::pfadd","p":"Redis.html#method_pfadd","d":"

    Add one or more elements to a Redis HyperLogLog key

    "},{"t":"M","n":"Redis::pfcount","p":"Redis.html#method_pfcount","d":"

    Retrieve the cardinality of a Redis HyperLogLog key.

    "},{"t":"M","n":"Redis::pfmerge","p":"Redis.html#method_pfmerge","d":"

    Merge one or more source HyperLogLog sets into a destination set.

    "},{"t":"M","n":"Redis::ping","p":"Redis.html#method_ping","d":"

    PING the redis server with an optional string argument.

    "},{"t":"M","n":"Redis::pipeline","p":"Redis.html#method_pipeline","d":"

    Enter into pipeline mode.

    "},{"t":"M","n":"Redis::popen","p":"Redis.html#method_popen","d":""},{"t":"M","n":"Redis::psetex","p":"Redis.html#method_psetex","d":"

    Set a key with an expiration time in milliseconds

    "},{"t":"M","n":"Redis::psubscribe","p":"Redis.html#method_psubscribe","d":"

    Subscribe to one or more glob-style patterns

    "},{"t":"M","n":"Redis::pttl","p":"Redis.html#method_pttl","d":"

    Get a keys time to live in milliseconds.

    "},{"t":"M","n":"Redis::publish","p":"Redis.html#method_publish","d":"

    Publish a message to a pubsub channel

    "},{"t":"M","n":"Redis::pubsub","p":"Redis.html#method_pubsub","d":null},{"t":"M","n":"Redis::punsubscribe","p":"Redis.html#method_punsubscribe","d":"

    Unsubscribe from one or more channels by pattern

    "},{"t":"M","n":"Redis::rPop","p":"Redis.html#method_rPop","d":"

    Pop one or more elements from the end of a list.

    "},{"t":"M","n":"Redis::randomKey","p":"Redis.html#method_randomKey","d":"

    Return a random key from the current database

    "},{"t":"M","n":"Redis::rawcommand","p":"Redis.html#method_rawcommand","d":"

    Execute any arbitrary Redis command by name.

    "},{"t":"M","n":"Redis::rename","p":"Redis.html#method_rename","d":"

    Unconditionally rename a key from $old_name to $new_name

    "},{"t":"M","n":"Redis::renameNx","p":"Redis.html#method_renameNx","d":"

    Renames $key_src to $key_dst but only if newkey does not exist.

    "},{"t":"M","n":"Redis::reset","p":"Redis.html#method_reset","d":"

    Reset the state of the connection.

    "},{"t":"M","n":"Redis::restore","p":"Redis.html#method_restore","d":"

    Restore a key by the binary payload generated by the DUMP command.

    "},{"t":"M","n":"Redis::role","p":"Redis.html#method_role","d":"

    Query whether the connected instance is a primary or replica

    "},{"t":"M","n":"Redis::rpoplpush","p":"Redis.html#method_rpoplpush","d":"

    Atomically pop an element off the end of a Redis LIST and push it to the beginning of\nanother.

    "},{"t":"M","n":"Redis::sAdd","p":"Redis.html#method_sAdd","d":"

    Add one or more values to a Redis SET key.

    "},{"t":"M","n":"Redis::sAddArray","p":"Redis.html#method_sAddArray","d":"

    Add one ore more values to a Redis SET key. This is an alternative to Redis::sadd() but\ninstead of being variadic, takes a single array of values.

    "},{"t":"M","n":"Redis::sDiff","p":"Redis.html#method_sDiff","d":"

    Given one or more Redis SETS, this command returns all of the members from the first\nset that are not in any subsequent set.

    "},{"t":"M","n":"Redis::sDiffStore","p":"Redis.html#method_sDiffStore","d":"

    This method performs the same operation as SDIFF except it stores the resulting diff\nvalues in a specified destination key.

    "},{"t":"M","n":"Redis::sInter","p":"Redis.html#method_sInter","d":"

    Given one or more Redis SET keys, this command will return all of the elements that are\nin every one.

    "},{"t":"M","n":"Redis::sintercard","p":"Redis.html#method_sintercard","d":"

    Compute the intersection of one or more sets and return the cardinality of the result.

    "},{"t":"M","n":"Redis::sInterStore","p":"Redis.html#method_sInterStore","d":"

    Perform the intersection of one or more Redis SETs, storing the result in a destination\nkey, rather than returning them.

    "},{"t":"M","n":"Redis::sMembers","p":"Redis.html#method_sMembers","d":"

    Retrieve every member from a set key.

    "},{"t":"M","n":"Redis::sMisMember","p":"Redis.html#method_sMisMember","d":"

    Check if one or more values are members of a set.

    "},{"t":"M","n":"Redis::sMove","p":"Redis.html#method_sMove","d":"

    Pop a member from one set and push it onto another. This command will create the\ndestination set if it does not currently exist.

    "},{"t":"M","n":"Redis::sPop","p":"Redis.html#method_sPop","d":"

    Remove one or more elements from a set.

    "},{"t":"M","n":"Redis::sRandMember","p":"Redis.html#method_sRandMember","d":"

    Retrieve one or more random members of a set.

    "},{"t":"M","n":"Redis::sUnion","p":"Redis.html#method_sUnion","d":"

    Returns the union of one or more Redis SET keys.

    "},{"t":"M","n":"Redis::sUnionStore","p":"Redis.html#method_sUnionStore","d":"

    Perform a union of one or more Redis SET keys and store the result in a new set

    "},{"t":"M","n":"Redis::save","p":"Redis.html#method_save","d":"

    Persist the Redis database to disk. This command will block the server until the save is\ncompleted. For a nonblocking alternative, see Redis::bgsave().

    "},{"t":"M","n":"Redis::scan","p":"Redis.html#method_scan","d":"

    Incrementally scan the Redis keyspace, with optional pattern and type matching.

    "},{"t":"M","n":"Redis::scard","p":"Redis.html#method_scard","d":"

    Retrieve the number of members in a Redis set.

    "},{"t":"M","n":"Redis::script","p":"Redis.html#method_script","d":"

    An administrative command used to interact with LUA scripts stored on the server.

    "},{"t":"M","n":"Redis::select","p":"Redis.html#method_select","d":"

    Select a specific Redis database.

    "},{"t":"M","n":"Redis::set","p":"Redis.html#method_set","d":"

    Create or set a Redis STRING key to a value.

    "},{"t":"M","n":"Redis::setBit","p":"Redis.html#method_setBit","d":"

    Set a specific bit in a Redis string to zero or one

    "},{"t":"M","n":"Redis::setRange","p":"Redis.html#method_setRange","d":"

    Update or append to a Redis string at a specific starting index

    "},{"t":"M","n":"Redis::setOption","p":"Redis.html#method_setOption","d":"

    Set a configurable option on the Redis object.

    "},{"t":"M","n":"Redis::setex","p":"Redis.html#method_setex","d":"

    Set a Redis STRING key with a specific expiration in seconds.

    "},{"t":"M","n":"Redis::setnx","p":"Redis.html#method_setnx","d":"

    Set a key to a value, but only if that key does not already exist.

    "},{"t":"M","n":"Redis::sismember","p":"Redis.html#method_sismember","d":"

    Check whether a given value is the member of a Redis SET.

    "},{"t":"M","n":"Redis::slaveof","p":"Redis.html#method_slaveof","d":"

    Turn a redis instance into a replica of another or promote a replica\nto a primary.

    "},{"t":"M","n":"Redis::replicaof","p":"Redis.html#method_replicaof","d":"

    Used to turn a Redis instance into a replica of another, or to remove\nreplica status promoting the instance to a primary.

    "},{"t":"M","n":"Redis::touch","p":"Redis.html#method_touch","d":"

    Update one or more keys last modified metadata.

    "},{"t":"M","n":"Redis::slowlog","p":"Redis.html#method_slowlog","d":"

    Interact with Redis' slowlog functionality in various ways, depending\non the value of 'operation'.

    "},{"t":"M","n":"Redis::sort","p":"Redis.html#method_sort","d":"

    Sort the contents of a Redis key in various ways.

    "},{"t":"M","n":"Redis::sort_ro","p":"Redis.html#method_sort_ro","d":"

    This is simply a read-only variant of the sort command

    "},{"t":"M","n":"Redis::sortAsc","p":"Redis.html#method_sortAsc","d":""},{"t":"M","n":"Redis::sortAscAlpha","p":"Redis.html#method_sortAscAlpha","d":""},{"t":"M","n":"Redis::sortDesc","p":"Redis.html#method_sortDesc","d":""},{"t":"M","n":"Redis::sortDescAlpha","p":"Redis.html#method_sortDescAlpha","d":""},{"t":"M","n":"Redis::srem","p":"Redis.html#method_srem","d":"

    Remove one or more values from a Redis SET key.

    "},{"t":"M","n":"Redis::sscan","p":"Redis.html#method_sscan","d":"

    Scan the members of a redis SET key.

    "},{"t":"M","n":"Redis::strlen","p":"Redis.html#method_strlen","d":"

    Retrieve the length of a Redis STRING key.

    "},{"t":"M","n":"Redis::subscribe","p":"Redis.html#method_subscribe","d":"

    Subscribe to one or more Redis pubsub channels.

    "},{"t":"M","n":"Redis::swapdb","p":"Redis.html#method_swapdb","d":"

    Atomically swap two Redis databases so that all of the keys in the source database will\nnow be in the destination database and vice-versa.

    "},{"t":"M","n":"Redis::time","p":"Redis.html#method_time","d":"

    Retrieve the server time from the connected Redis instance.

    "},{"t":"M","n":"Redis::ttl","p":"Redis.html#method_ttl","d":"

    Get the amount of time a Redis key has before it will expire, in seconds.

    "},{"t":"M","n":"Redis::type","p":"Redis.html#method_type","d":"

    Get the type of a given Redis key.

    "},{"t":"M","n":"Redis::unlink","p":"Redis.html#method_unlink","d":"

    Delete one or more keys from the Redis database. Unlike this operation, the actual\ndeletion is asynchronous, meaning it is safe to delete large keys without fear of\nRedis blocking for a long period of time.

    "},{"t":"M","n":"Redis::unsubscribe","p":"Redis.html#method_unsubscribe","d":"

    Unsubscribe from one or more subscribed channels.

    "},{"t":"M","n":"Redis::unwatch","p":"Redis.html#method_unwatch","d":"

    Remove any previously WATCH'ed keys in a transaction.

    "},{"t":"M","n":"Redis::watch","p":"Redis.html#method_watch","d":"

    Watch one or more keys for conditional execution of a transaction.

    "},{"t":"M","n":"Redis::wait","p":"Redis.html#method_wait","d":"

    Block the client up to the provided timeout until a certain number of replicas have confirmed\nrecieving them.

    "},{"t":"M","n":"Redis::xack","p":"Redis.html#method_xack","d":"

    Acknowledge one ore more messages that are pending (have been consumed using XREADGROUP but\nnot yet acknowledged by XACK.)

    "},{"t":"M","n":"Redis::xadd","p":"Redis.html#method_xadd","d":"

    Append a message to a stream.

    "},{"t":"M","n":"Redis::xautoclaim","p":"Redis.html#method_xautoclaim","d":"

    This command allows a consumer to claim pending messages that have been idle for a specified period of time.

    "},{"t":"M","n":"Redis::xclaim","p":"Redis.html#method_xclaim","d":"

    This method allows a consumer to take ownership of pending stream entries, by ID. Another\ncommand that does much the same thing but does not require passing specific IDs is Redis::xAutoClaim.

    "},{"t":"M","n":"Redis::xdel","p":"Redis.html#method_xdel","d":"

    Remove one or more specific IDs from a stream.

    "},{"t":"M","n":"Redis::xgroup","p":"Redis.html#method_xgroup","d":"XGROUP"},{"t":"M","n":"Redis::xinfo","p":"Redis.html#method_xinfo","d":"

    Retrieve information about a stream key.

    "},{"t":"M","n":"Redis::xlen","p":"Redis.html#method_xlen","d":"

    Get the number of messages in a Redis STREAM key.

    "},{"t":"M","n":"Redis::xpending","p":"Redis.html#method_xpending","d":"

    Interact with stream messages that have been consumed by a consumer group but not yet\nacknowledged with XACK.

    "},{"t":"M","n":"Redis::xrange","p":"Redis.html#method_xrange","d":"

    Get a range of entries from a STREAM key.

    "},{"t":"M","n":"Redis::xread","p":"Redis.html#method_xread","d":"

    Consume one or more unconsumed elements in one or more streams.

    "},{"t":"M","n":"Redis::xreadgroup","p":"Redis.html#method_xreadgroup","d":"

    Read one or more messages using a consumer group.

    "},{"t":"M","n":"Redis::xrevrange","p":"Redis.html#method_xrevrange","d":"

    Get a range of entries from a STREAM ke in reverse cronological order.

    "},{"t":"M","n":"Redis::xtrim","p":"Redis.html#method_xtrim","d":"

    Truncate a STREAM key in various ways.

    "},{"t":"M","n":"Redis::zAdd","p":"Redis.html#method_zAdd","d":"

    Add one or more elements and scores to a Redis sorted set.

    "},{"t":"M","n":"Redis::zCard","p":"Redis.html#method_zCard","d":"

    Return the number of elements in a sorted set.

    "},{"t":"M","n":"Redis::zCount","p":"Redis.html#method_zCount","d":"

    Count the number of members in a sorted set with scores inside a provided range.

    "},{"t":"M","n":"Redis::zIncrBy","p":"Redis.html#method_zIncrBy","d":"

    Create or increment the score of a member in a Redis sorted set

    "},{"t":"M","n":"Redis::zLexCount","p":"Redis.html#method_zLexCount","d":"

    Count the number of elements in a sorted set whos members fall within the provided\nlexographical range.

    "},{"t":"M","n":"Redis::zMscore","p":"Redis.html#method_zMscore","d":"

    Retrieve the score of one or more members in a sorted set.

    "},{"t":"M","n":"Redis::zPopMax","p":"Redis.html#method_zPopMax","d":"

    Pop one or more of the highest scoring elements from a sorted set.

    "},{"t":"M","n":"Redis::zPopMin","p":"Redis.html#method_zPopMin","d":"

    Pop one or more of the lowest scoring elements from a sorted set.

    "},{"t":"M","n":"Redis::zRange","p":"Redis.html#method_zRange","d":"

    Retrieve a range of elements of a sorted set between a start and end point.

    "},{"t":"M","n":"Redis::zRangeByLex","p":"Redis.html#method_zRangeByLex","d":"

    Retrieve a range of elements from a sorted set by legographical range.

    "},{"t":"M","n":"Redis::zRangeByScore","p":"Redis.html#method_zRangeByScore","d":"

    Retrieve a range of members from a sorted set by their score.

    "},{"t":"M","n":"Redis::zrangestore","p":"Redis.html#method_zrangestore","d":"

    This command is similar to ZRANGE except that instead of returning the values directly\nit will store them in a destination key provided by the user

    "},{"t":"M","n":"Redis::zRandMember","p":"Redis.html#method_zRandMember","d":"

    Retrieve one or more random members from a Redis sorted set.

    "},{"t":"M","n":"Redis::zRank","p":"Redis.html#method_zRank","d":"

    Get the rank of a member of a sorted set, by score.

    "},{"t":"M","n":"Redis::zRem","p":"Redis.html#method_zRem","d":"

    Remove one or more members from a Redis sorted set.

    "},{"t":"M","n":"Redis::zRemRangeByLex","p":"Redis.html#method_zRemRangeByLex","d":"

    Remove zero or more elements from a Redis sorted set by legographical range.

    "},{"t":"M","n":"Redis::zRemRangeByRank","p":"Redis.html#method_zRemRangeByRank","d":"

    Remove one or more members of a sorted set by their rank.

    "},{"t":"M","n":"Redis::zRemRangeByScore","p":"Redis.html#method_zRemRangeByScore","d":"

    Remove one or more members of a sorted set by their score.

    "},{"t":"M","n":"Redis::zRevRange","p":"Redis.html#method_zRevRange","d":"

    List the members of a Redis sorted set in reverse order

    "},{"t":"M","n":"Redis::zRevRangeByLex","p":"Redis.html#method_zRevRangeByLex","d":"

    List members of a Redis sorted set within a legographical range, in reverse order.

    "},{"t":"M","n":"Redis::zRevRangeByScore","p":"Redis.html#method_zRevRangeByScore","d":"

    List elements from a Redis sorted set by score, highest to lowest

    "},{"t":"M","n":"Redis::zRevRank","p":"Redis.html#method_zRevRank","d":"

    Retrieve a member of a sorted set by reverse rank.

    "},{"t":"M","n":"Redis::zScore","p":"Redis.html#method_zScore","d":"

    Get the score of a member of a sorted set.

    "},{"t":"M","n":"Redis::zdiff","p":"Redis.html#method_zdiff","d":"

    Given one or more sorted set key names, return every element that is in the first\nset but not any of the others.

    "},{"t":"M","n":"Redis::zdiffstore","p":"Redis.html#method_zdiffstore","d":"

    Store the difference of one or more sorted sets in a destination sorted set.

    "},{"t":"M","n":"Redis::zinter","p":"Redis.html#method_zinter","d":"

    Compute the intersection of one or more sorted sets and return the members

    "},{"t":"M","n":"Redis::zintercard","p":"Redis.html#method_zintercard","d":"

    Similar to ZINTER but instead of returning the intersected values, this command returns the\ncardinality of the intersected set.

    "},{"t":"M","n":"Redis::zinterstore","p":"Redis.html#method_zinterstore","d":"

    Compute the intersection of one ore more sorted sets storing the result in a new sorted set.

    "},{"t":"M","n":"Redis::zscan","p":"Redis.html#method_zscan","d":"

    Scan the members of a sorted set incrementally, using a cursor

    "},{"t":"M","n":"Redis::zunion","p":"Redis.html#method_zunion","d":"

    Retrieve the union of one or more sorted sets

    "},{"t":"M","n":"Redis::zunionstore","p":"Redis.html#method_zunionstore","d":"

    Perform a union on one or more Redis sets and store the result in a destination sorted set.

    "},{"t":"M","n":"RedisArray::__call","p":"RedisArray.html#method___call","d":null},{"t":"M","n":"RedisArray::__construct","p":"RedisArray.html#method___construct","d":null},{"t":"M","n":"RedisArray::_continuum","p":"RedisArray.html#method__continuum","d":null},{"t":"M","n":"RedisArray::_distributor","p":"RedisArray.html#method__distributor","d":null},{"t":"M","n":"RedisArray::_function","p":"RedisArray.html#method__function","d":null},{"t":"M","n":"RedisArray::_hosts","p":"RedisArray.html#method__hosts","d":null},{"t":"M","n":"RedisArray::_instance","p":"RedisArray.html#method__instance","d":null},{"t":"M","n":"RedisArray::_rehash","p":"RedisArray.html#method__rehash","d":null},{"t":"M","n":"RedisArray::_target","p":"RedisArray.html#method__target","d":null},{"t":"M","n":"RedisArray::bgsave","p":"RedisArray.html#method_bgsave","d":null},{"t":"M","n":"RedisArray::del","p":"RedisArray.html#method_del","d":null},{"t":"M","n":"RedisArray::discard","p":"RedisArray.html#method_discard","d":null},{"t":"M","n":"RedisArray::exec","p":"RedisArray.html#method_exec","d":null},{"t":"M","n":"RedisArray::flushall","p":"RedisArray.html#method_flushall","d":null},{"t":"M","n":"RedisArray::flushdb","p":"RedisArray.html#method_flushdb","d":null},{"t":"M","n":"RedisArray::getOption","p":"RedisArray.html#method_getOption","d":null},{"t":"M","n":"RedisArray::hscan","p":"RedisArray.html#method_hscan","d":null},{"t":"M","n":"RedisArray::info","p":"RedisArray.html#method_info","d":null},{"t":"M","n":"RedisArray::keys","p":"RedisArray.html#method_keys","d":null},{"t":"M","n":"RedisArray::mget","p":"RedisArray.html#method_mget","d":null},{"t":"M","n":"RedisArray::mset","p":"RedisArray.html#method_mset","d":null},{"t":"M","n":"RedisArray::multi","p":"RedisArray.html#method_multi","d":null},{"t":"M","n":"RedisArray::ping","p":"RedisArray.html#method_ping","d":null},{"t":"M","n":"RedisArray::save","p":"RedisArray.html#method_save","d":null},{"t":"M","n":"RedisArray::scan","p":"RedisArray.html#method_scan","d":null},{"t":"M","n":"RedisArray::select","p":"RedisArray.html#method_select","d":null},{"t":"M","n":"RedisArray::setOption","p":"RedisArray.html#method_setOption","d":null},{"t":"M","n":"RedisArray::sscan","p":"RedisArray.html#method_sscan","d":null},{"t":"M","n":"RedisArray::unlink","p":"RedisArray.html#method_unlink","d":null},{"t":"M","n":"RedisArray::unwatch","p":"RedisArray.html#method_unwatch","d":null},{"t":"M","n":"RedisArray::zscan","p":"RedisArray.html#method_zscan","d":null},{"t":"M","n":"RedisCluster::__construct","p":"RedisCluster.html#method___construct","d":null},{"t":"M","n":"RedisCluster::_compress","p":"RedisCluster.html#method__compress","d":""},{"t":"M","n":"RedisCluster::_uncompress","p":"RedisCluster.html#method__uncompress","d":""},{"t":"M","n":"RedisCluster::_serialize","p":"RedisCluster.html#method__serialize","d":""},{"t":"M","n":"RedisCluster::_unserialize","p":"RedisCluster.html#method__unserialize","d":""},{"t":"M","n":"RedisCluster::_pack","p":"RedisCluster.html#method__pack","d":""},{"t":"M","n":"RedisCluster::_unpack","p":"RedisCluster.html#method__unpack","d":""},{"t":"M","n":"RedisCluster::_prefix","p":"RedisCluster.html#method__prefix","d":""},{"t":"M","n":"RedisCluster::_masters","p":"RedisCluster.html#method__masters","d":null},{"t":"M","n":"RedisCluster::_redir","p":"RedisCluster.html#method__redir","d":null},{"t":"M","n":"RedisCluster::acl","p":"RedisCluster.html#method_acl","d":""},{"t":"M","n":"RedisCluster::append","p":"RedisCluster.html#method_append","d":""},{"t":"M","n":"RedisCluster::bgrewriteaof","p":"RedisCluster.html#method_bgrewriteaof","d":""},{"t":"M","n":"RedisCluster::bgsave","p":"RedisCluster.html#method_bgsave","d":""},{"t":"M","n":"RedisCluster::bitcount","p":"RedisCluster.html#method_bitcount","d":""},{"t":"M","n":"RedisCluster::bitop","p":"RedisCluster.html#method_bitop","d":""},{"t":"M","n":"RedisCluster::bitpos","p":"RedisCluster.html#method_bitpos","d":"

    Return the position of the first bit set to 0 or 1 in a string.

    "},{"t":"M","n":"RedisCluster::blpop","p":"RedisCluster.html#method_blpop","d":"

    See Redis::blpop()

    "},{"t":"M","n":"RedisCluster::brpop","p":"RedisCluster.html#method_brpop","d":"

    See Redis::brpop()

    "},{"t":"M","n":"RedisCluster::brpoplpush","p":"RedisCluster.html#method_brpoplpush","d":"

    See Redis::brpoplpush()

    "},{"t":"M","n":"RedisCluster::bzpopmax","p":"RedisCluster.html#method_bzpopmax","d":""},{"t":"M","n":"RedisCluster::bzpopmin","p":"RedisCluster.html#method_bzpopmin","d":""},{"t":"M","n":"RedisCluster::bzmpop","p":"RedisCluster.html#method_bzmpop","d":""},{"t":"M","n":"RedisCluster::zmpop","p":"RedisCluster.html#method_zmpop","d":""},{"t":"M","n":"RedisCluster::blmpop","p":"RedisCluster.html#method_blmpop","d":""},{"t":"M","n":"RedisCluster::lmpop","p":"RedisCluster.html#method_lmpop","d":""},{"t":"M","n":"RedisCluster::clearlasterror","p":"RedisCluster.html#method_clearlasterror","d":""},{"t":"M","n":"RedisCluster::client","p":"RedisCluster.html#method_client","d":""},{"t":"M","n":"RedisCluster::close","p":"RedisCluster.html#method_close","d":""},{"t":"M","n":"RedisCluster::cluster","p":"RedisCluster.html#method_cluster","d":""},{"t":"M","n":"RedisCluster::command","p":"RedisCluster.html#method_command","d":""},{"t":"M","n":"RedisCluster::config","p":"RedisCluster.html#method_config","d":""},{"t":"M","n":"RedisCluster::dbsize","p":"RedisCluster.html#method_dbsize","d":""},{"t":"M","n":"RedisCluster::decr","p":"RedisCluster.html#method_decr","d":""},{"t":"M","n":"RedisCluster::decrby","p":"RedisCluster.html#method_decrby","d":""},{"t":"M","n":"RedisCluster::decrbyfloat","p":"RedisCluster.html#method_decrbyfloat","d":""},{"t":"M","n":"RedisCluster::del","p":"RedisCluster.html#method_del","d":""},{"t":"M","n":"RedisCluster::discard","p":"RedisCluster.html#method_discard","d":""},{"t":"M","n":"RedisCluster::dump","p":"RedisCluster.html#method_dump","d":""},{"t":"M","n":"RedisCluster::echo","p":"RedisCluster.html#method_echo","d":""},{"t":"M","n":"RedisCluster::eval","p":"RedisCluster.html#method_eval","d":""},{"t":"M","n":"RedisCluster::eval_ro","p":"RedisCluster.html#method_eval_ro","d":""},{"t":"M","n":"RedisCluster::evalsha","p":"RedisCluster.html#method_evalsha","d":""},{"t":"M","n":"RedisCluster::evalsha_ro","p":"RedisCluster.html#method_evalsha_ro","d":""},{"t":"M","n":"RedisCluster::exec","p":"RedisCluster.html#method_exec","d":""},{"t":"M","n":"RedisCluster::exists","p":"RedisCluster.html#method_exists","d":""},{"t":"M","n":"RedisCluster::touch","p":"RedisCluster.html#method_touch","d":""},{"t":"M","n":"RedisCluster::expire","p":"RedisCluster.html#method_expire","d":""},{"t":"M","n":"RedisCluster::expireat","p":"RedisCluster.html#method_expireat","d":""},{"t":"M","n":"RedisCluster::expiretime","p":"RedisCluster.html#method_expiretime","d":""},{"t":"M","n":"RedisCluster::pexpiretime","p":"RedisCluster.html#method_pexpiretime","d":""},{"t":"M","n":"RedisCluster::flushall","p":"RedisCluster.html#method_flushall","d":""},{"t":"M","n":"RedisCluster::flushdb","p":"RedisCluster.html#method_flushdb","d":""},{"t":"M","n":"RedisCluster::geoadd","p":"RedisCluster.html#method_geoadd","d":""},{"t":"M","n":"RedisCluster::geodist","p":"RedisCluster.html#method_geodist","d":""},{"t":"M","n":"RedisCluster::geohash","p":"RedisCluster.html#method_geohash","d":""},{"t":"M","n":"RedisCluster::geopos","p":"RedisCluster.html#method_geopos","d":""},{"t":"M","n":"RedisCluster::georadius","p":"RedisCluster.html#method_georadius","d":""},{"t":"M","n":"RedisCluster::georadius_ro","p":"RedisCluster.html#method_georadius_ro","d":""},{"t":"M","n":"RedisCluster::georadiusbymember","p":"RedisCluster.html#method_georadiusbymember","d":""},{"t":"M","n":"RedisCluster::georadiusbymember_ro","p":"RedisCluster.html#method_georadiusbymember_ro","d":""},{"t":"M","n":"RedisCluster::get","p":"RedisCluster.html#method_get","d":""},{"t":"M","n":"RedisCluster::getbit","p":"RedisCluster.html#method_getbit","d":""},{"t":"M","n":"RedisCluster::getlasterror","p":"RedisCluster.html#method_getlasterror","d":""},{"t":"M","n":"RedisCluster::getmode","p":"RedisCluster.html#method_getmode","d":""},{"t":"M","n":"RedisCluster::getoption","p":"RedisCluster.html#method_getoption","d":""},{"t":"M","n":"RedisCluster::getrange","p":"RedisCluster.html#method_getrange","d":""},{"t":"M","n":"RedisCluster::lcs","p":"RedisCluster.html#method_lcs","d":""},{"t":"M","n":"RedisCluster::getset","p":"RedisCluster.html#method_getset","d":""},{"t":"M","n":"RedisCluster::gettransferredbytes","p":"RedisCluster.html#method_gettransferredbytes","d":""},{"t":"M","n":"RedisCluster::hdel","p":"RedisCluster.html#method_hdel","d":""},{"t":"M","n":"RedisCluster::hexists","p":"RedisCluster.html#method_hexists","d":""},{"t":"M","n":"RedisCluster::hget","p":"RedisCluster.html#method_hget","d":""},{"t":"M","n":"RedisCluster::hgetall","p":"RedisCluster.html#method_hgetall","d":""},{"t":"M","n":"RedisCluster::hincrby","p":"RedisCluster.html#method_hincrby","d":""},{"t":"M","n":"RedisCluster::hincrbyfloat","p":"RedisCluster.html#method_hincrbyfloat","d":""},{"t":"M","n":"RedisCluster::hkeys","p":"RedisCluster.html#method_hkeys","d":""},{"t":"M","n":"RedisCluster::hlen","p":"RedisCluster.html#method_hlen","d":""},{"t":"M","n":"RedisCluster::hmget","p":"RedisCluster.html#method_hmget","d":""},{"t":"M","n":"RedisCluster::hmset","p":"RedisCluster.html#method_hmset","d":""},{"t":"M","n":"RedisCluster::hscan","p":"RedisCluster.html#method_hscan","d":""},{"t":"M","n":"RedisCluster::hset","p":"RedisCluster.html#method_hset","d":""},{"t":"M","n":"RedisCluster::hsetnx","p":"RedisCluster.html#method_hsetnx","d":""},{"t":"M","n":"RedisCluster::hstrlen","p":"RedisCluster.html#method_hstrlen","d":""},{"t":"M","n":"RedisCluster::hvals","p":"RedisCluster.html#method_hvals","d":""},{"t":"M","n":"RedisCluster::incr","p":"RedisCluster.html#method_incr","d":""},{"t":"M","n":"RedisCluster::incrby","p":"RedisCluster.html#method_incrby","d":""},{"t":"M","n":"RedisCluster::incrbyfloat","p":"RedisCluster.html#method_incrbyfloat","d":""},{"t":"M","n":"RedisCluster::info","p":"RedisCluster.html#method_info","d":"

    Retrieve information about the connected redis-server. If no arguments are passed to\nthis function, redis will return every info field. Alternatively you may pass a specific\nsection you want returned (e.g. 'server', or 'memory') to receive only information pertaining\nto that section.

    "},{"t":"M","n":"RedisCluster::keys","p":"RedisCluster.html#method_keys","d":""},{"t":"M","n":"RedisCluster::lastsave","p":"RedisCluster.html#method_lastsave","d":""},{"t":"M","n":"RedisCluster::lget","p":"RedisCluster.html#method_lget","d":""},{"t":"M","n":"RedisCluster::lindex","p":"RedisCluster.html#method_lindex","d":""},{"t":"M","n":"RedisCluster::linsert","p":"RedisCluster.html#method_linsert","d":""},{"t":"M","n":"RedisCluster::llen","p":"RedisCluster.html#method_llen","d":""},{"t":"M","n":"RedisCluster::lpop","p":"RedisCluster.html#method_lpop","d":""},{"t":"M","n":"RedisCluster::lpush","p":"RedisCluster.html#method_lpush","d":""},{"t":"M","n":"RedisCluster::lpushx","p":"RedisCluster.html#method_lpushx","d":""},{"t":"M","n":"RedisCluster::lrange","p":"RedisCluster.html#method_lrange","d":""},{"t":"M","n":"RedisCluster::lrem","p":"RedisCluster.html#method_lrem","d":""},{"t":"M","n":"RedisCluster::lset","p":"RedisCluster.html#method_lset","d":""},{"t":"M","n":"RedisCluster::ltrim","p":"RedisCluster.html#method_ltrim","d":""},{"t":"M","n":"RedisCluster::mget","p":"RedisCluster.html#method_mget","d":""},{"t":"M","n":"RedisCluster::mset","p":"RedisCluster.html#method_mset","d":""},{"t":"M","n":"RedisCluster::msetnx","p":"RedisCluster.html#method_msetnx","d":""},{"t":"M","n":"RedisCluster::multi","p":"RedisCluster.html#method_multi","d":null},{"t":"M","n":"RedisCluster::object","p":"RedisCluster.html#method_object","d":""},{"t":"M","n":"RedisCluster::persist","p":"RedisCluster.html#method_persist","d":""},{"t":"M","n":"RedisCluster::pexpire","p":"RedisCluster.html#method_pexpire","d":""},{"t":"M","n":"RedisCluster::pexpireat","p":"RedisCluster.html#method_pexpireat","d":""},{"t":"M","n":"RedisCluster::pfadd","p":"RedisCluster.html#method_pfadd","d":""},{"t":"M","n":"RedisCluster::pfcount","p":"RedisCluster.html#method_pfcount","d":""},{"t":"M","n":"RedisCluster::pfmerge","p":"RedisCluster.html#method_pfmerge","d":""},{"t":"M","n":"RedisCluster::ping","p":"RedisCluster.html#method_ping","d":"

    PING an instance in the redis cluster.

    "},{"t":"M","n":"RedisCluster::psetex","p":"RedisCluster.html#method_psetex","d":""},{"t":"M","n":"RedisCluster::psubscribe","p":"RedisCluster.html#method_psubscribe","d":""},{"t":"M","n":"RedisCluster::pttl","p":"RedisCluster.html#method_pttl","d":""},{"t":"M","n":"RedisCluster::publish","p":"RedisCluster.html#method_publish","d":""},{"t":"M","n":"RedisCluster::pubsub","p":"RedisCluster.html#method_pubsub","d":""},{"t":"M","n":"RedisCluster::punsubscribe","p":"RedisCluster.html#method_punsubscribe","d":""},{"t":"M","n":"RedisCluster::randomkey","p":"RedisCluster.html#method_randomkey","d":""},{"t":"M","n":"RedisCluster::rawcommand","p":"RedisCluster.html#method_rawcommand","d":""},{"t":"M","n":"RedisCluster::rename","p":"RedisCluster.html#method_rename","d":""},{"t":"M","n":"RedisCluster::renamenx","p":"RedisCluster.html#method_renamenx","d":""},{"t":"M","n":"RedisCluster::restore","p":"RedisCluster.html#method_restore","d":""},{"t":"M","n":"RedisCluster::role","p":"RedisCluster.html#method_role","d":""},{"t":"M","n":"RedisCluster::rpop","p":"RedisCluster.html#method_rpop","d":""},{"t":"M","n":"RedisCluster::rpoplpush","p":"RedisCluster.html#method_rpoplpush","d":""},{"t":"M","n":"RedisCluster::rpush","p":"RedisCluster.html#method_rpush","d":""},{"t":"M","n":"RedisCluster::rpushx","p":"RedisCluster.html#method_rpushx","d":""},{"t":"M","n":"RedisCluster::sadd","p":"RedisCluster.html#method_sadd","d":""},{"t":"M","n":"RedisCluster::saddarray","p":"RedisCluster.html#method_saddarray","d":""},{"t":"M","n":"RedisCluster::save","p":"RedisCluster.html#method_save","d":""},{"t":"M","n":"RedisCluster::scan","p":"RedisCluster.html#method_scan","d":""},{"t":"M","n":"RedisCluster::scard","p":"RedisCluster.html#method_scard","d":""},{"t":"M","n":"RedisCluster::script","p":"RedisCluster.html#method_script","d":""},{"t":"M","n":"RedisCluster::sdiff","p":"RedisCluster.html#method_sdiff","d":""},{"t":"M","n":"RedisCluster::sdiffstore","p":"RedisCluster.html#method_sdiffstore","d":""},{"t":"M","n":"RedisCluster::set","p":"RedisCluster.html#method_set","d":""},{"t":"M","n":"RedisCluster::setbit","p":"RedisCluster.html#method_setbit","d":""},{"t":"M","n":"RedisCluster::setex","p":"RedisCluster.html#method_setex","d":""},{"t":"M","n":"RedisCluster::setnx","p":"RedisCluster.html#method_setnx","d":""},{"t":"M","n":"RedisCluster::setoption","p":"RedisCluster.html#method_setoption","d":""},{"t":"M","n":"RedisCluster::setrange","p":"RedisCluster.html#method_setrange","d":""},{"t":"M","n":"RedisCluster::sinter","p":"RedisCluster.html#method_sinter","d":""},{"t":"M","n":"RedisCluster::sintercard","p":"RedisCluster.html#method_sintercard","d":""},{"t":"M","n":"RedisCluster::sinterstore","p":"RedisCluster.html#method_sinterstore","d":""},{"t":"M","n":"RedisCluster::sismember","p":"RedisCluster.html#method_sismember","d":""},{"t":"M","n":"RedisCluster::slowlog","p":"RedisCluster.html#method_slowlog","d":""},{"t":"M","n":"RedisCluster::smembers","p":"RedisCluster.html#method_smembers","d":""},{"t":"M","n":"RedisCluster::smove","p":"RedisCluster.html#method_smove","d":""},{"t":"M","n":"RedisCluster::sort","p":"RedisCluster.html#method_sort","d":""},{"t":"M","n":"RedisCluster::sort_ro","p":"RedisCluster.html#method_sort_ro","d":""},{"t":"M","n":"RedisCluster::spop","p":"RedisCluster.html#method_spop","d":""},{"t":"M","n":"RedisCluster::srandmember","p":"RedisCluster.html#method_srandmember","d":""},{"t":"M","n":"RedisCluster::srem","p":"RedisCluster.html#method_srem","d":""},{"t":"M","n":"RedisCluster::sscan","p":"RedisCluster.html#method_sscan","d":""},{"t":"M","n":"RedisCluster::strlen","p":"RedisCluster.html#method_strlen","d":""},{"t":"M","n":"RedisCluster::subscribe","p":"RedisCluster.html#method_subscribe","d":""},{"t":"M","n":"RedisCluster::sunion","p":"RedisCluster.html#method_sunion","d":""},{"t":"M","n":"RedisCluster::sunionstore","p":"RedisCluster.html#method_sunionstore","d":""},{"t":"M","n":"RedisCluster::time","p":"RedisCluster.html#method_time","d":""},{"t":"M","n":"RedisCluster::ttl","p":"RedisCluster.html#method_ttl","d":""},{"t":"M","n":"RedisCluster::type","p":"RedisCluster.html#method_type","d":""},{"t":"M","n":"RedisCluster::unsubscribe","p":"RedisCluster.html#method_unsubscribe","d":""},{"t":"M","n":"RedisCluster::unlink","p":"RedisCluster.html#method_unlink","d":""},{"t":"M","n":"RedisCluster::unwatch","p":"RedisCluster.html#method_unwatch","d":""},{"t":"M","n":"RedisCluster::watch","p":"RedisCluster.html#method_watch","d":""},{"t":"M","n":"RedisCluster::xack","p":"RedisCluster.html#method_xack","d":""},{"t":"M","n":"RedisCluster::xadd","p":"RedisCluster.html#method_xadd","d":""},{"t":"M","n":"RedisCluster::xclaim","p":"RedisCluster.html#method_xclaim","d":""},{"t":"M","n":"RedisCluster::xdel","p":"RedisCluster.html#method_xdel","d":""},{"t":"M","n":"RedisCluster::xgroup","p":"RedisCluster.html#method_xgroup","d":""},{"t":"M","n":"RedisCluster::xautoclaim","p":"RedisCluster.html#method_xautoclaim","d":""},{"t":"M","n":"RedisCluster::xinfo","p":"RedisCluster.html#method_xinfo","d":""},{"t":"M","n":"RedisCluster::xlen","p":"RedisCluster.html#method_xlen","d":""},{"t":"M","n":"RedisCluster::xpending","p":"RedisCluster.html#method_xpending","d":""},{"t":"M","n":"RedisCluster::xrange","p":"RedisCluster.html#method_xrange","d":""},{"t":"M","n":"RedisCluster::xread","p":"RedisCluster.html#method_xread","d":""},{"t":"M","n":"RedisCluster::xreadgroup","p":"RedisCluster.html#method_xreadgroup","d":""},{"t":"M","n":"RedisCluster::xrevrange","p":"RedisCluster.html#method_xrevrange","d":""},{"t":"M","n":"RedisCluster::xtrim","p":"RedisCluster.html#method_xtrim","d":""},{"t":"M","n":"RedisCluster::zadd","p":"RedisCluster.html#method_zadd","d":""},{"t":"M","n":"RedisCluster::zcard","p":"RedisCluster.html#method_zcard","d":""},{"t":"M","n":"RedisCluster::zcount","p":"RedisCluster.html#method_zcount","d":""},{"t":"M","n":"RedisCluster::zincrby","p":"RedisCluster.html#method_zincrby","d":""},{"t":"M","n":"RedisCluster::zinterstore","p":"RedisCluster.html#method_zinterstore","d":""},{"t":"M","n":"RedisCluster::zintercard","p":"RedisCluster.html#method_zintercard","d":""},{"t":"M","n":"RedisCluster::zlexcount","p":"RedisCluster.html#method_zlexcount","d":""},{"t":"M","n":"RedisCluster::zpopmax","p":"RedisCluster.html#method_zpopmax","d":""},{"t":"M","n":"RedisCluster::zpopmin","p":"RedisCluster.html#method_zpopmin","d":""},{"t":"M","n":"RedisCluster::zrange","p":"RedisCluster.html#method_zrange","d":""},{"t":"M","n":"RedisCluster::zrangestore","p":"RedisCluster.html#method_zrangestore","d":""},{"t":"M","n":"RedisCluster::zrangebylex","p":"RedisCluster.html#method_zrangebylex","d":""},{"t":"M","n":"RedisCluster::zrangebyscore","p":"RedisCluster.html#method_zrangebyscore","d":""},{"t":"M","n":"RedisCluster::zrank","p":"RedisCluster.html#method_zrank","d":""},{"t":"M","n":"RedisCluster::zrem","p":"RedisCluster.html#method_zrem","d":""},{"t":"M","n":"RedisCluster::zremrangebylex","p":"RedisCluster.html#method_zremrangebylex","d":""},{"t":"M","n":"RedisCluster::zremrangebyrank","p":"RedisCluster.html#method_zremrangebyrank","d":""},{"t":"M","n":"RedisCluster::zremrangebyscore","p":"RedisCluster.html#method_zremrangebyscore","d":""},{"t":"M","n":"RedisCluster::zrevrange","p":"RedisCluster.html#method_zrevrange","d":""},{"t":"M","n":"RedisCluster::zrevrangebylex","p":"RedisCluster.html#method_zrevrangebylex","d":""},{"t":"M","n":"RedisCluster::zrevrangebyscore","p":"RedisCluster.html#method_zrevrangebyscore","d":""},{"t":"M","n":"RedisCluster::zrevrank","p":"RedisCluster.html#method_zrevrank","d":""},{"t":"M","n":"RedisCluster::zscan","p":"RedisCluster.html#method_zscan","d":""},{"t":"M","n":"RedisCluster::zscore","p":"RedisCluster.html#method_zscore","d":""},{"t":"M","n":"RedisCluster::zunionstore","p":"RedisCluster.html#method_zunionstore","d":""},{"t":"M","n":"RedisSentinel::__construct","p":"RedisSentinel.html#method___construct","d":null},{"t":"M","n":"RedisSentinel::ckquorum","p":"RedisSentinel.html#method_ckquorum","d":""},{"t":"M","n":"RedisSentinel::failover","p":"RedisSentinel.html#method_failover","d":""},{"t":"M","n":"RedisSentinel::flushconfig","p":"RedisSentinel.html#method_flushconfig","d":""},{"t":"M","n":"RedisSentinel::getMasterAddrByName","p":"RedisSentinel.html#method_getMasterAddrByName","d":""},{"t":"M","n":"RedisSentinel::master","p":"RedisSentinel.html#method_master","d":""},{"t":"M","n":"RedisSentinel::masters","p":"RedisSentinel.html#method_masters","d":""},{"t":"M","n":"RedisSentinel::myid","p":"RedisSentinel.html#method_myid","d":null},{"t":"M","n":"RedisSentinel::ping","p":"RedisSentinel.html#method_ping","d":""},{"t":"M","n":"RedisSentinel::reset","p":"RedisSentinel.html#method_reset","d":""},{"t":"M","n":"RedisSentinel::sentinels","p":"RedisSentinel.html#method_sentinels","d":""},{"t":"M","n":"RedisSentinel::slaves","p":"RedisSentinel.html#method_slaves","d":""},{"t":"N","n":"","p":"[Global_Namespace].html"}]} +{"items":[{"t":"C","n":"Redis","p":"Redis.html","d":"","f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"C","n":"RedisArray","p":"RedisArray.html","d":"","f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"C","n":"RedisCluster","p":"RedisCluster.html","d":"","f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"C","n":"RedisClusterException","p":"RedisClusterException.html","d":null,"f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"C","n":"RedisException","p":"RedisException.html","d":null,"f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"C","n":"RedisSentinel","p":"RedisSentinel.html","d":"","f":{"n":"[Global Namespace]","p":"[Global_Namespace].html"}},{"t":"M","n":"Redis::__construct","p":"Redis.html#method___construct","d":"

    Create a new Redis instance. If passed sufficient information in the\noptions array it is also possible to connect to an instance at the same\ntime.

    "},{"t":"M","n":"Redis::__destruct","p":"Redis.html#method___destruct","d":null},{"t":"M","n":"Redis::_compress","p":"Redis.html#method__compress","d":"

    Compress a value with the currently configured compressor (Redis::OPT_COMPRESSION)\nexactly the same way PhpRedis does before sending data to Redis.

    "},{"t":"M","n":"Redis::_uncompress","p":"Redis.html#method__uncompress","d":"

    Uncompress the provided argument using the compressor configured via\nRedis::setOption() (Redis::OPT_COMPRESSION).

    "},{"t":"M","n":"Redis::_prefix","p":"Redis.html#method__prefix","d":"

    Prefix the passed argument with the currently set key prefix as set\nwith Redis::setOption().

    "},{"t":"M","n":"Redis::_serialize","p":"Redis.html#method__serialize","d":"

    Serialize the provided value with the currently set serializer as set\nwith Redis::setOption().

    "},{"t":"M","n":"Redis::_unserialize","p":"Redis.html#method__unserialize","d":"

    Unserialize the passed argument with the currently set serializer as set\nwith Redis::setOption().

    "},{"t":"M","n":"Redis::_pack","p":"Redis.html#method__pack","d":"

    Pack the provided value by first serializing it (if Redis::OPT_SERIALIZER is set)\nand then compressing the serialized payload (if Redis::OPT_COMPRESSION is set),\nmirroring exactly what PhpRedis transmits to Redis.

    "},{"t":"M","n":"Redis::_digest","p":"Redis.html#method__digest","d":"

    Compute the XXH3 digest of a PHP value after it has been _packed, producing\nthe same digest Redis' DIGEST command would return for the stored value.

    "},{"t":"M","n":"Redis::_unpack","p":"Redis.html#method__unpack","d":"

    Unpack the provided value by first uncompressing it (if Redis::OPT_COMPRESSION\nis set) and then unserializing it (if Redis::OPT_SERIALIZER is set) to recover\nthe original PHP value.

    "},{"t":"M","n":"Redis::acl","p":"Redis.html#method_acl","d":null},{"t":"M","n":"Redis::append","p":"Redis.html#method_append","d":"

    Append data to a Redis STRING key.

    "},{"t":"M","n":"Redis::auth","p":"Redis.html#method_auth","d":"

    Authenticate a Redis connection after its been established.

    "},{"t":"M","n":"Redis::bgSave","p":"Redis.html#method_bgSave","d":"

    Execute a save of the Redis database in the background.

    "},{"t":"M","n":"Redis::bgrewriteaof","p":"Redis.html#method_bgrewriteaof","d":"

    Asynchronously rewrite Redis' append-only file

    "},{"t":"M","n":"Redis::waitaof","p":"Redis.html#method_waitaof","d":""},{"t":"M","n":"Redis::bitcount","p":"Redis.html#method_bitcount","d":"

    Count the number of set bits in a Redis string.

    "},{"t":"M","n":"Redis::bitop","p":"Redis.html#method_bitop","d":null},{"t":"M","n":"Redis::bitpos","p":"Redis.html#method_bitpos","d":"

    Return the position of the first bit set to 0 or 1 in a string.

    "},{"t":"M","n":"Redis::blPop","p":"Redis.html#method_blPop","d":"

    Pop an element off the beginning of a Redis list or lists, potentially blocking up to a specified\ntimeout. This method may be called in two distinct ways, of which examples are provided below.

    "},{"t":"M","n":"Redis::brPop","p":"Redis.html#method_brPop","d":"

    Pop an element off of the end of a Redis list or lists, potentially blocking up to a specified timeout.

    "},{"t":"M","n":"Redis::brpoplpush","p":"Redis.html#method_brpoplpush","d":"

    Pop an element from the end of a Redis list, pushing it to the beginning of another Redis list,\noptionally blocking up to a specified timeout.

    "},{"t":"M","n":"Redis::bzPopMax","p":"Redis.html#method_bzPopMax","d":"

    POP the maximum scoring element off of one or more sorted sets, blocking up to a specified\ntimeout if no elements are available.

    "},{"t":"M","n":"Redis::bzPopMin","p":"Redis.html#method_bzPopMin","d":"

    POP the minimum scoring element off of one or more sorted sets, blocking up to a specified timeout\nif no elements are available

    "},{"t":"M","n":"Redis::bzmpop","p":"Redis.html#method_bzmpop","d":"

    POP one or more elements from one or more sorted sets, blocking up to a specified amount of time\nwhen no elements are available.

    "},{"t":"M","n":"Redis::zmpop","p":"Redis.html#method_zmpop","d":"

    POP one or more of the highest or lowest scoring elements from one or more sorted sets.

    "},{"t":"M","n":"Redis::blmpop","p":"Redis.html#method_blmpop","d":"

    Pop one or more elements from one or more Redis LISTs, blocking up to a specified timeout when\nno elements are available.

    "},{"t":"M","n":"Redis::lmpop","p":"Redis.html#method_lmpop","d":"

    Pop one or more elements off of one or more Redis LISTs.

    "},{"t":"M","n":"Redis::clearLastError","p":"Redis.html#method_clearLastError","d":"

    Reset any last error on the connection to NULL

    "},{"t":"M","n":"Redis::client","p":"Redis.html#method_client","d":null},{"t":"M","n":"Redis::close","p":"Redis.html#method_close","d":null},{"t":"M","n":"Redis::command","p":"Redis.html#method_command","d":null},{"t":"M","n":"Redis::config","p":"Redis.html#method_config","d":"

    Execute the Redis CONFIG command in a variety of ways.

    "},{"t":"M","n":"Redis::connect","p":"Redis.html#method_connect","d":null},{"t":"M","n":"Redis::copy","p":"Redis.html#method_copy","d":"

    Make a copy of a key.

    "},{"t":"M","n":"Redis::dbSize","p":"Redis.html#method_dbSize","d":"

    Return the number of keys in the currently selected Redis database.

    "},{"t":"M","n":"Redis::debug","p":"Redis.html#method_debug","d":null},{"t":"M","n":"Redis::decr","p":"Redis.html#method_decr","d":"

    Decrement a Redis integer by 1 or a provided value.

    "},{"t":"M","n":"Redis::decrBy","p":"Redis.html#method_decrBy","d":"

    Decrement a redis integer by a value

    "},{"t":"M","n":"Redis::del","p":"Redis.html#method_del","d":"

    Delete one or more keys from Redis.

    "},{"t":"M","n":"Redis::delex","p":"Redis.html#method_delex","d":"

    Delete a key conditionally based on its value or hash digest

    "},{"t":"M","n":"Redis::delifeq","p":"Redis.html#method_delifeq","d":"

    Delete a key if it's equal to the specified value. This command is\nspecific to Valkey >= 9.0

    "},{"t":"M","n":"Redis::delete","p":"Redis.html#method_delete","d":""},{"t":"M","n":"Redis::discard","p":"Redis.html#method_discard","d":"

    Discard a transaction currently in progress.

    "},{"t":"M","n":"Redis::dump","p":"Redis.html#method_dump","d":"

    Dump Redis' internal binary representation of a key.

    "},{"t":"M","n":"Redis::echo","p":"Redis.html#method_echo","d":"

    Have Redis repeat back an arbitrary string to the client.

    "},{"t":"M","n":"Redis::eval","p":"Redis.html#method_eval","d":"

    Execute a LUA script on the redis server.

    "},{"t":"M","n":"Redis::eval_ro","p":"Redis.html#method_eval_ro","d":"

    This is simply the read-only variant of eval, meaning the underlying script\nmay not modify data in redis.

    "},{"t":"M","n":"Redis::evalsha","p":"Redis.html#method_evalsha","d":"

    Execute a LUA script on the server but instead of sending the script, send\nthe SHA1 hash of the script.

    "},{"t":"M","n":"Redis::evalsha_ro","p":"Redis.html#method_evalsha_ro","d":"

    This is simply the read-only variant of evalsha, meaning the underlying script\nmay not modify data in redis.

    "},{"t":"M","n":"Redis::exec","p":"Redis.html#method_exec","d":"

    Execute either a MULTI or PIPELINE block and return the array of replies.

    "},{"t":"M","n":"Redis::exists","p":"Redis.html#method_exists","d":"

    Test if one or more keys exist.

    "},{"t":"M","n":"Redis::expire","p":"Redis.html#method_expire","d":"

    Sets an expiration in seconds on the key in question. If connected to\nredis-server >= 7.0.0 you may send an additional "mode" argument which\nmodifies how the command will execute.

    "},{"t":"M","n":"Redis::expireAt","p":"Redis.html#method_expireAt","d":"

    Set a key to expire at an exact unix timestamp.

    "},{"t":"M","n":"Redis::failover","p":"Redis.html#method_failover","d":null},{"t":"M","n":"Redis::expiretime","p":"Redis.html#method_expiretime","d":"

    Get the expiration of a given key as a unix timestamp

    "},{"t":"M","n":"Redis::pexpiretime","p":"Redis.html#method_pexpiretime","d":"

    Get the expiration timestamp of a given Redis key but in milliseconds.

    "},{"t":"M","n":"Redis::fcall","p":"Redis.html#method_fcall","d":"

    Invoke a function.

    "},{"t":"M","n":"Redis::fcall_ro","p":"Redis.html#method_fcall_ro","d":"

    This is a read-only variant of the FCALL command that cannot execute commands that modify data.

    "},{"t":"M","n":"Redis::flushAll","p":"Redis.html#method_flushAll","d":"

    Deletes every key in all Redis databases

    "},{"t":"M","n":"Redis::flushDB","p":"Redis.html#method_flushDB","d":"

    Deletes all the keys of the currently selected database.

    "},{"t":"M","n":"Redis::function","p":"Redis.html#method_function","d":"

    Functions is an API for managing code to be executed on the server.

    "},{"t":"M","n":"Redis::geoadd","p":"Redis.html#method_geoadd","d":"

    Add one or more members to a geospacial sorted set

    "},{"t":"M","n":"Redis::geodist","p":"Redis.html#method_geodist","d":"

    Get the distance between two members of a geospacially encoded sorted set.

    "},{"t":"M","n":"Redis::geohash","p":"Redis.html#method_geohash","d":"

    Retrieve one or more GeoHash encoded strings for members of the set.

    "},{"t":"M","n":"Redis::geopos","p":"Redis.html#method_geopos","d":"

    Return the longitude and latitude for one or more members of a geospacially encoded sorted set.

    "},{"t":"M","n":"Redis::georadius","p":"Redis.html#method_georadius","d":"

    Retrieve members of a geospacially sorted set that are within a certain radius of a location.

    "},{"t":"M","n":"Redis::georadius_ro","p":"Redis.html#method_georadius_ro","d":"

    A readonly variant of GEORADIUS that may be executed on replicas.

    "},{"t":"M","n":"Redis::georadiusbymember","p":"Redis.html#method_georadiusbymember","d":"

    Similar to GEORADIUS except it uses a member as the center of the query.

    "},{"t":"M","n":"Redis::georadiusbymember_ro","p":"Redis.html#method_georadiusbymember_ro","d":"

    This is the read-only variant of GEORADIUSBYMEMBER that can be run on replicas.

    "},{"t":"M","n":"Redis::geosearch","p":"Redis.html#method_geosearch","d":"

    Search a geospacial sorted set for members in various ways.

    "},{"t":"M","n":"Redis::geosearchstore","p":"Redis.html#method_geosearchstore","d":"

    Search a geospacial sorted set for members within a given area or range, storing the results into\na new set.

    "},{"t":"M","n":"Redis::get","p":"Redis.html#method_get","d":"

    Retrieve a string keys value.

    "},{"t":"M","n":"Redis::getWithMeta","p":"Redis.html#method_getWithMeta","d":"

    Retrieve a value and metadata of key.

    "},{"t":"M","n":"Redis::getAuth","p":"Redis.html#method_getAuth","d":"

    Get the authentication information on the connection, if any.

    "},{"t":"M","n":"Redis::getBit","p":"Redis.html#method_getBit","d":"

    Get the bit at a given index in a string key.

    "},{"t":"M","n":"Redis::getEx","p":"Redis.html#method_getEx","d":"

    Get the value of a key and optionally set it's expiration.

    "},{"t":"M","n":"Redis::getDBNum","p":"Redis.html#method_getDBNum","d":"

    Get the database number PhpRedis thinks we're connected to.

    "},{"t":"M","n":"Redis::getDel","p":"Redis.html#method_getDel","d":"

    Get a key from Redis and delete it in an atomic operation.

    "},{"t":"M","n":"Redis::getHost","p":"Redis.html#method_getHost","d":"

    Return the host or Unix socket we are connected to.

    "},{"t":"M","n":"Redis::getLastError","p":"Redis.html#method_getLastError","d":"

    Get the last error returned to us from Redis, if any.

    "},{"t":"M","n":"Redis::getMode","p":"Redis.html#method_getMode","d":"

    Returns whether the connection is in ATOMIC, MULTI, or PIPELINE mode

    "},{"t":"M","n":"Redis::getOption","p":"Redis.html#method_getOption","d":"

    Retrieve the value of a configuration setting as set by Redis::setOption()

    "},{"t":"M","n":"Redis::getPersistentID","p":"Redis.html#method_getPersistentID","d":"

    Get the persistent connection ID, if there is one.

    "},{"t":"M","n":"Redis::getPort","p":"Redis.html#method_getPort","d":"

    Get the port we are connected to. This number will be zero if we are connected to a unix socket.

    "},{"t":"M","n":"Redis::serverName","p":"Redis.html#method_serverName","d":"

    Get the server name as reported by the HELLO response.

    "},{"t":"M","n":"Redis::serverVersion","p":"Redis.html#method_serverVersion","d":"

    Get the server version as reported by the HELLO response.

    "},{"t":"M","n":"Redis::getRange","p":"Redis.html#method_getRange","d":"

    Retrieve a substring of a string by index.

    "},{"t":"M","n":"Redis::lcs","p":"Redis.html#method_lcs","d":"

    Get the longest common subsequence between two string keys.

    "},{"t":"M","n":"Redis::getReadTimeout","p":"Redis.html#method_getReadTimeout","d":"

    Get the currently set read timeout on the connection.

    "},{"t":"M","n":"Redis::getset","p":"Redis.html#method_getset","d":"

    Sets a key and returns any previously set value, if the key already existed.

    "},{"t":"M","n":"Redis::getTimeout","p":"Redis.html#method_getTimeout","d":"

    Retrieve any set connection timeout

    "},{"t":"M","n":"Redis::getTransferredBytes","p":"Redis.html#method_getTransferredBytes","d":"

    Get the number of bytes sent and received on the socket.

    "},{"t":"M","n":"Redis::clearTransferredBytes","p":"Redis.html#method_clearTransferredBytes","d":"

    Reset the number of bytes sent and received on the socket.

    "},{"t":"M","n":"Redis::hDel","p":"Redis.html#method_hDel","d":"

    Remove one or more fields from a hash.

    "},{"t":"M","n":"Redis::hExists","p":"Redis.html#method_hExists","d":"

    Checks whether a field exists in a hash.

    "},{"t":"M","n":"Redis::hGet","p":"Redis.html#method_hGet","d":null},{"t":"M","n":"Redis::hGetAll","p":"Redis.html#method_hGetAll","d":"

    Read every field and value from a hash.

    "},{"t":"M","n":"Redis::hGetWithMeta","p":"Redis.html#method_hGetWithMeta","d":"

    Retrieve a value and metadata of hash field.

    "},{"t":"M","n":"Redis::hIncrBy","p":"Redis.html#method_hIncrBy","d":"

    Increment a hash field's value by an integer

    "},{"t":"M","n":"Redis::hIncrByFloat","p":"Redis.html#method_hIncrByFloat","d":"

    Increment a hash field by a floating point value

    "},{"t":"M","n":"Redis::hKeys","p":"Redis.html#method_hKeys","d":"

    Retrieve all of the fields of a hash.

    "},{"t":"M","n":"Redis::hLen","p":"Redis.html#method_hLen","d":"

    Get the number of fields in a hash.

    "},{"t":"M","n":"Redis::hMget","p":"Redis.html#method_hMget","d":"

    Get one or more fields from a hash.

    "},{"t":"M","n":"Redis::hgetex","p":"Redis.html#method_hgetex","d":"

    Get one or more fields of a hash while optionally setting expiration\ninformation

    "},{"t":"M","n":"Redis::hsetex","p":"Redis.html#method_hsetex","d":"

    Set one or more fields in a hash with optional expiration information.

    "},{"t":"M","n":"Redis::hgetdel","p":"Redis.html#method_hgetdel","d":"

    Get one or more fields and delete them

    "},{"t":"M","n":"Redis::hMset","p":"Redis.html#method_hMset","d":"

    Add or update one or more hash fields and values

    "},{"t":"M","n":"Redis::hRandField","p":"Redis.html#method_hRandField","d":"

    Get one or more random field from a hash.

    "},{"t":"M","n":"Redis::hSet","p":"Redis.html#method_hSet","d":"

    Add or update one or more hash fields and values.

    "},{"t":"M","n":"Redis::hSetNx","p":"Redis.html#method_hSetNx","d":"

    Set a hash field and value, but only if that field does not exist

    "},{"t":"M","n":"Redis::hStrLen","p":"Redis.html#method_hStrLen","d":"

    Get the string length of a hash field

    "},{"t":"M","n":"Redis::hVals","p":"Redis.html#method_hVals","d":"

    Get all of the values from a hash.

    "},{"t":"M","n":"Redis::hexpire","p":"Redis.html#method_hexpire","d":"

    Set the expiration on one or more fields in a hash.

    "},{"t":"M","n":"Redis::hpexpire","p":"Redis.html#method_hpexpire","d":"

    Set the expiration on one or more fields in a hash in milliseconds.

    "},{"t":"M","n":"Redis::hexpireat","p":"Redis.html#method_hexpireat","d":"

    Set the expiration time on one or more fields of a hash.

    "},{"t":"M","n":"Redis::hpexpireat","p":"Redis.html#method_hpexpireat","d":"

    Set the expiration time on one or more fields of a hash in milliseconds.

    "},{"t":"M","n":"Redis::httl","p":"Redis.html#method_httl","d":"

    Get the TTL of one or more fields in a hash

    "},{"t":"M","n":"Redis::hpttl","p":"Redis.html#method_hpttl","d":"

    Get the millisecond TTL of one or more fields in a hash

    "},{"t":"M","n":"Redis::hexpiretime","p":"Redis.html#method_hexpiretime","d":"

    Get the expiration time of one or more fields in a hash

    "},{"t":"M","n":"Redis::hpexpiretime","p":"Redis.html#method_hpexpiretime","d":"

    Get the expiration time in milliseconds of one or more fields in a hash

    "},{"t":"M","n":"Redis::hpersist","p":"Redis.html#method_hpersist","d":"

    Persist one or more hash fields

    "},{"t":"M","n":"Redis::hscan","p":"Redis.html#method_hscan","d":"

    Iterate over the fields and values of a hash in an incremental fashion.

    "},{"t":"M","n":"Redis::expiremember","p":"Redis.html#method_expiremember","d":"

    Set an expiration on a key member (KeyDB only).

    "},{"t":"M","n":"Redis::expirememberat","p":"Redis.html#method_expirememberat","d":"

    Set an expiration on a key membert to a specific unix timestamp (KeyDB only).

    "},{"t":"M","n":"Redis::incr","p":"Redis.html#method_incr","d":"

    Increment a key's value, optionally by a specific amount.

    "},{"t":"M","n":"Redis::incrBy","p":"Redis.html#method_incrBy","d":"

    Increment a key by a specific integer value

    "},{"t":"M","n":"Redis::incrByFloat","p":"Redis.html#method_incrByFloat","d":"

    Increment a numeric key by a floating point value.

    "},{"t":"M","n":"Redis::info","p":"Redis.html#method_info","d":"

    Retrieve information about the connected redis-server. If no arguments are passed to\nthis function, redis will return every info field. Alternatively you may pass a specific\nsection you want returned (e.g. 'server', or 'memory') to receive only information pertaining\nto that section.

    "},{"t":"M","n":"Redis::isConnected","p":"Redis.html#method_isConnected","d":"

    Check if we are currently connected to a Redis instance.

    "},{"t":"M","n":"Redis::keys","p":"Redis.html#method_keys","d":""},{"t":"M","n":"Redis::lInsert","p":"Redis.html#method_lInsert","d":""},{"t":"M","n":"Redis::lLen","p":"Redis.html#method_lLen","d":"

    Retrieve the length of a list.

    "},{"t":"M","n":"Redis::lMove","p":"Redis.html#method_lMove","d":"

    Move an element from one list into another.

    "},{"t":"M","n":"Redis::blmove","p":"Redis.html#method_blmove","d":null},{"t":"M","n":"Redis::lPop","p":"Redis.html#method_lPop","d":"

    Pop one or more elements off a list.

    "},{"t":"M","n":"Redis::lPos","p":"Redis.html#method_lPos","d":"

    Retrieve the index of an element in a list.

    "},{"t":"M","n":"Redis::lPush","p":"Redis.html#method_lPush","d":"

    Prepend one or more elements to a list.

    "},{"t":"M","n":"Redis::rPush","p":"Redis.html#method_rPush","d":"

    Append one or more elements to a list.

    "},{"t":"M","n":"Redis::lPushx","p":"Redis.html#method_lPushx","d":"

    Prepend an element to a list but only if the list exists

    "},{"t":"M","n":"Redis::rPushx","p":"Redis.html#method_rPushx","d":"

    Append an element to a list but only if the list exists

    "},{"t":"M","n":"Redis::lSet","p":"Redis.html#method_lSet","d":"

    Set a list element at an index to a specific value.

    "},{"t":"M","n":"Redis::lastSave","p":"Redis.html#method_lastSave","d":"

    Retrieve the last time Redis' database was persisted to disk.

    "},{"t":"M","n":"Redis::lindex","p":"Redis.html#method_lindex","d":"

    Get the element of a list by its index.

    "},{"t":"M","n":"Redis::lrange","p":"Redis.html#method_lrange","d":"

    Retrieve elements from a list.

    "},{"t":"M","n":"Redis::lrem","p":"Redis.html#method_lrem","d":"

    Remove one or more matching elements from a list.

    "},{"t":"M","n":"Redis::ltrim","p":"Redis.html#method_ltrim","d":"

    Trim a list to a subrange of elements.

    "},{"t":"M","n":"Redis::mget","p":"Redis.html#method_mget","d":"

    Get one or more string keys.

    "},{"t":"M","n":"Redis::migrate","p":"Redis.html#method_migrate","d":null},{"t":"M","n":"Redis::move","p":"Redis.html#method_move","d":"

    Move a key to a different database on the same redis instance.

    "},{"t":"M","n":"Redis::mset","p":"Redis.html#method_mset","d":"

    Set one or more string keys.

    "},{"t":"M","n":"Redis::msetnx","p":"Redis.html#method_msetnx","d":"

    Set one or more string keys but only if none of the key exist.

    "},{"t":"M","n":"Redis::multi","p":"Redis.html#method_multi","d":"

    Begin a transaction.

    "},{"t":"M","n":"Redis::object","p":"Redis.html#method_object","d":null},{"t":"M","n":"Redis::open","p":"Redis.html#method_open","d":""},{"t":"M","n":"Redis::pconnect","p":"Redis.html#method_pconnect","d":null},{"t":"M","n":"Redis::persist","p":"Redis.html#method_persist","d":"

    Remove the expiration from a key.

    "},{"t":"M","n":"Redis::pexpire","p":"Redis.html#method_pexpire","d":"

    Sets an expiration in milliseconds on a given key. If connected to Redis >= 7.0.0\nyou can pass an optional mode argument that modifies how the command will execute.

    "},{"t":"M","n":"Redis::pexpireAt","p":"Redis.html#method_pexpireAt","d":"

    Set a key's expiration to a specific Unix Timestamp in milliseconds. If connected to\nRedis >= 7.0.0 you can pass an optional 'mode' argument.

    "},{"t":"M","n":"Redis::pfadd","p":"Redis.html#method_pfadd","d":"

    Add one or more elements to a Redis HyperLogLog key

    "},{"t":"M","n":"Redis::pfcount","p":"Redis.html#method_pfcount","d":"

    Retrieve the cardinality of a Redis HyperLogLog key.

    "},{"t":"M","n":"Redis::pfmerge","p":"Redis.html#method_pfmerge","d":"

    Merge one or more source HyperLogLog sets into a destination set.

    "},{"t":"M","n":"Redis::ping","p":"Redis.html#method_ping","d":"

    PING the redis server with an optional string argument.

    "},{"t":"M","n":"Redis::pipeline","p":"Redis.html#method_pipeline","d":"

    Enter into pipeline mode.

    "},{"t":"M","n":"Redis::popen","p":"Redis.html#method_popen","d":""},{"t":"M","n":"Redis::psetex","p":"Redis.html#method_psetex","d":"

    Set a key with an expiration time in milliseconds

    "},{"t":"M","n":"Redis::psubscribe","p":"Redis.html#method_psubscribe","d":"

    Subscribe to one or more glob-style patterns

    "},{"t":"M","n":"Redis::pttl","p":"Redis.html#method_pttl","d":"

    Get a keys time to live in milliseconds.

    "},{"t":"M","n":"Redis::publish","p":"Redis.html#method_publish","d":"

    Publish a message to a pubsub channel

    "},{"t":"M","n":"Redis::pubsub","p":"Redis.html#method_pubsub","d":null},{"t":"M","n":"Redis::punsubscribe","p":"Redis.html#method_punsubscribe","d":"

    Unsubscribe from one or more channels by pattern

    "},{"t":"M","n":"Redis::rPop","p":"Redis.html#method_rPop","d":"

    Pop one or more elements from the end of a list.

    "},{"t":"M","n":"Redis::randomKey","p":"Redis.html#method_randomKey","d":"

    Return a random key from the current database

    "},{"t":"M","n":"Redis::rawcommand","p":"Redis.html#method_rawcommand","d":"

    Execute any arbitrary Redis command by name.

    "},{"t":"M","n":"Redis::rename","p":"Redis.html#method_rename","d":"

    Unconditionally rename a key from $old_name to $new_name

    "},{"t":"M","n":"Redis::renameNx","p":"Redis.html#method_renameNx","d":"

    Renames $key_src to $key_dst but only if newkey does not exist.

    "},{"t":"M","n":"Redis::reset","p":"Redis.html#method_reset","d":"

    Reset the state of the connection.

    "},{"t":"M","n":"Redis::restore","p":"Redis.html#method_restore","d":"

    Restore a key by the binary payload generated by the DUMP command.

    "},{"t":"M","n":"Redis::role","p":"Redis.html#method_role","d":"

    Query whether the connected instance is a primary or replica

    "},{"t":"M","n":"Redis::rpoplpush","p":"Redis.html#method_rpoplpush","d":"

    Atomically pop an element off the end of a Redis LIST and push it to the beginning of\nanother.

    "},{"t":"M","n":"Redis::sAdd","p":"Redis.html#method_sAdd","d":"

    Add one or more values to a Redis SET key.

    "},{"t":"M","n":"Redis::sAddArray","p":"Redis.html#method_sAddArray","d":"

    Add one or more values to a Redis SET key. This is an alternative to Redis::sadd() but\ninstead of being variadic, takes a single array of values.

    "},{"t":"M","n":"Redis::sDiff","p":"Redis.html#method_sDiff","d":"

    Given one or more Redis SETS, this command returns all of the members from the first\nset that are not in any subsequent set.

    "},{"t":"M","n":"Redis::sDiffStore","p":"Redis.html#method_sDiffStore","d":"

    This method performs the same operation as SDIFF except it stores the resulting diff\nvalues in a specified destination key.

    "},{"t":"M","n":"Redis::sInter","p":"Redis.html#method_sInter","d":"

    Given one or more Redis SET keys, this command will return all of the elements that are\nin every one.

    "},{"t":"M","n":"Redis::sintercard","p":"Redis.html#method_sintercard","d":"

    Compute the intersection of one or more sets and return the cardinality of the result.

    "},{"t":"M","n":"Redis::sInterStore","p":"Redis.html#method_sInterStore","d":"

    Perform the intersection of one or more Redis SETs, storing the result in a destination\nkey, rather than returning them.

    "},{"t":"M","n":"Redis::sMembers","p":"Redis.html#method_sMembers","d":"

    Retrieve every member from a set key.

    "},{"t":"M","n":"Redis::sMisMember","p":"Redis.html#method_sMisMember","d":"

    Check if one or more values are members of a set.

    "},{"t":"M","n":"Redis::sMove","p":"Redis.html#method_sMove","d":"

    Pop a member from one set and push it onto another. This command will create the\ndestination set if it does not currently exist.

    "},{"t":"M","n":"Redis::sPop","p":"Redis.html#method_sPop","d":"

    Remove one or more elements from a set.

    "},{"t":"M","n":"Redis::sRandMember","p":"Redis.html#method_sRandMember","d":"

    Retrieve one or more random members of a set.

    "},{"t":"M","n":"Redis::sUnion","p":"Redis.html#method_sUnion","d":"

    Returns the union of one or more Redis SET keys.

    "},{"t":"M","n":"Redis::sUnionStore","p":"Redis.html#method_sUnionStore","d":"

    Perform a union of one or more Redis SET keys and store the result in a new set

    "},{"t":"M","n":"Redis::save","p":"Redis.html#method_save","d":"

    Persist the Redis database to disk. This command will block the server until the save is\ncompleted. For a nonblocking alternative, see Redis::bgsave().

    "},{"t":"M","n":"Redis::scan","p":"Redis.html#method_scan","d":"

    Incrementally scan the Redis keyspace, with optional pattern and type matching.

    "},{"t":"M","n":"Redis::scard","p":"Redis.html#method_scard","d":"

    Retrieve the number of members in a Redis set.

    "},{"t":"M","n":"Redis::script","p":"Redis.html#method_script","d":"

    An administrative command used to interact with LUA scripts stored on the server.

    "},{"t":"M","n":"Redis::select","p":"Redis.html#method_select","d":"

    Select a specific Redis database.

    "},{"t":"M","n":"Redis::set","p":"Redis.html#method_set","d":"

    Create or set a Redis STRING key to a value.

    "},{"t":"M","n":"Redis::setBit","p":"Redis.html#method_setBit","d":"

    Set a specific bit in a Redis string to zero or one

    "},{"t":"M","n":"Redis::setRange","p":"Redis.html#method_setRange","d":"

    Update or append to a Redis string at a specific starting index

    "},{"t":"M","n":"Redis::setOption","p":"Redis.html#method_setOption","d":"

    Set a configurable option on the Redis object.

    "},{"t":"M","n":"Redis::setex","p":"Redis.html#method_setex","d":"

    Set a Redis STRING key with a specific expiration in seconds.

    "},{"t":"M","n":"Redis::setnx","p":"Redis.html#method_setnx","d":"

    Set a key to a value, but only if that key does not already exist.

    "},{"t":"M","n":"Redis::sismember","p":"Redis.html#method_sismember","d":"

    Check whether a given value is the member of a Redis SET.

    "},{"t":"M","n":"Redis::slaveof","p":"Redis.html#method_slaveof","d":"

    Turn a redis instance into a replica of another or promote a replica\nto a primary.

    "},{"t":"M","n":"Redis::replicaof","p":"Redis.html#method_replicaof","d":"

    Used to turn a Redis instance into a replica of another, or to remove\nreplica status promoting the instance to a primary.

    "},{"t":"M","n":"Redis::touch","p":"Redis.html#method_touch","d":"

    Update one or more keys last modified metadata.

    "},{"t":"M","n":"Redis::slowlog","p":"Redis.html#method_slowlog","d":"

    Interact with Redis' slowlog functionality in various ways, depending\non the value of 'operation'.

    "},{"t":"M","n":"Redis::sort","p":"Redis.html#method_sort","d":"

    Sort the contents of a Redis key in various ways.

    "},{"t":"M","n":"Redis::sort_ro","p":"Redis.html#method_sort_ro","d":"

    This is simply a read-only variant of the sort command

    "},{"t":"M","n":"Redis::sortAsc","p":"Redis.html#method_sortAsc","d":""},{"t":"M","n":"Redis::sortAscAlpha","p":"Redis.html#method_sortAscAlpha","d":""},{"t":"M","n":"Redis::sortDesc","p":"Redis.html#method_sortDesc","d":""},{"t":"M","n":"Redis::sortDescAlpha","p":"Redis.html#method_sortDescAlpha","d":""},{"t":"M","n":"Redis::srem","p":"Redis.html#method_srem","d":"

    Remove one or more values from a Redis SET key.

    "},{"t":"M","n":"Redis::sscan","p":"Redis.html#method_sscan","d":"

    Scan the members of a redis SET key.

    "},{"t":"M","n":"Redis::ssubscribe","p":"Redis.html#method_ssubscribe","d":"

    Subscribes the client to the specified shard channels.

    "},{"t":"M","n":"Redis::strlen","p":"Redis.html#method_strlen","d":"

    Retrieve the length of a Redis STRING key.

    "},{"t":"M","n":"Redis::subscribe","p":"Redis.html#method_subscribe","d":"

    Subscribe to one or more Redis pubsub channels.

    "},{"t":"M","n":"Redis::sunsubscribe","p":"Redis.html#method_sunsubscribe","d":"

    Unsubscribes the client from the given shard channels,\nor from all of them if none is given.

    "},{"t":"M","n":"Redis::swapdb","p":"Redis.html#method_swapdb","d":"

    Atomically swap two Redis databases so that all of the keys in the source database will\nnow be in the destination database and vice-versa.

    "},{"t":"M","n":"Redis::time","p":"Redis.html#method_time","d":"

    Retrieve the server time from the connected Redis instance.

    "},{"t":"M","n":"Redis::ttl","p":"Redis.html#method_ttl","d":"

    Get the amount of time a Redis key has before it will expire, in seconds.

    "},{"t":"M","n":"Redis::type","p":"Redis.html#method_type","d":"

    Get the type of a given Redis key.

    "},{"t":"M","n":"Redis::unlink","p":"Redis.html#method_unlink","d":"

    Delete one or more keys from the Redis database. Unlike this operation, the actual\ndeletion is asynchronous, meaning it is safe to delete large keys without fear of\nRedis blocking for a long period of time.

    "},{"t":"M","n":"Redis::unsubscribe","p":"Redis.html#method_unsubscribe","d":"

    Unsubscribe from one or more subscribed channels.

    "},{"t":"M","n":"Redis::unwatch","p":"Redis.html#method_unwatch","d":"

    Remove any previously WATCH'ed keys in a transaction.

    "},{"t":"M","n":"Redis::watch","p":"Redis.html#method_watch","d":"

    Watch one or more keys for conditional execution of a transaction.

    "},{"t":"M","n":"Redis::wait","p":"Redis.html#method_wait","d":"

    Block the client up to the provided timeout until a certain number of replicas have confirmed\nreceiving them.

    "},{"t":"M","n":"Redis::xack","p":"Redis.html#method_xack","d":"

    Acknowledge one or more messages that are pending (have been consumed using XREADGROUP but\nnot yet acknowledged by XACK.)

    "},{"t":"M","n":"Redis::xadd","p":"Redis.html#method_xadd","d":"

    Append a message to a stream.

    "},{"t":"M","n":"Redis::xautoclaim","p":"Redis.html#method_xautoclaim","d":"

    This command allows a consumer to claim pending messages that have been idle for a specified period of time.

    "},{"t":"M","n":"Redis::xclaim","p":"Redis.html#method_xclaim","d":"

    This method allows a consumer to take ownership of pending stream entries, by ID. Another\ncommand that does much the same thing but does not require passing specific IDs is Redis::xAutoClaim.

    "},{"t":"M","n":"Redis::xdel","p":"Redis.html#method_xdel","d":"

    Remove one or more specific IDs from a stream.

    "},{"t":"M","n":"Redis::xgroup","p":"Redis.html#method_xgroup","d":"XGROUP"},{"t":"M","n":"Redis::xinfo","p":"Redis.html#method_xinfo","d":"

    Retrieve information about a stream key.

    "},{"t":"M","n":"Redis::xlen","p":"Redis.html#method_xlen","d":"

    Get the number of messages in a Redis STREAM key.

    "},{"t":"M","n":"Redis::xpending","p":"Redis.html#method_xpending","d":"

    Interact with stream messages that have been consumed by a consumer group but not yet\nacknowledged with XACK.

    "},{"t":"M","n":"Redis::xrange","p":"Redis.html#method_xrange","d":"

    Get a range of entries from a STREAM key.

    "},{"t":"M","n":"Redis::xread","p":"Redis.html#method_xread","d":"

    Consume one or more unconsumed elements in one or more streams.

    "},{"t":"M","n":"Redis::xreadgroup","p":"Redis.html#method_xreadgroup","d":"

    Read one or more messages using a consumer group.

    "},{"t":"M","n":"Redis::xrevrange","p":"Redis.html#method_xrevrange","d":"

    Get a range of entries from a STREAM key in reverse chronological order.

    "},{"t":"M","n":"Redis::vadd","p":"Redis.html#method_vadd","d":"

    Add to a vector set

    "},{"t":"M","n":"Redis::vsim","p":"Redis.html#method_vsim","d":"

    Query similarity of a vector by element or scores

    "},{"t":"M","n":"Redis::vcard","p":"Redis.html#method_vcard","d":"

    Get the length of a vector set

    "},{"t":"M","n":"Redis::vdim","p":"Redis.html#method_vdim","d":"

    Get the dimensions of a vector set

    "},{"t":"M","n":"Redis::vinfo","p":"Redis.html#method_vinfo","d":"

    Get various bits of information about a vector set

    "},{"t":"M","n":"Redis::vismember","p":"Redis.html#method_vismember","d":"

    Check if an element is a member of a vectorset

    "},{"t":"M","n":"Redis::vemb","p":"Redis.html#method_vemb","d":"

    Get the embeddings for a specific member

    "},{"t":"M","n":"Redis::vrandmember","p":"Redis.html#method_vrandmember","d":"

    Get one or more random members from a vector set

    "},{"t":"M","n":"Redis::vrange","p":"Redis.html#method_vrange","d":"

    Retreive a lexographical range of elements from a vector set

    "},{"t":"M","n":"Redis::vrem","p":"Redis.html#method_vrem","d":"

    Remove an element from a vector set

    "},{"t":"M","n":"Redis::vsetattr","p":"Redis.html#method_vsetattr","d":"

    Set the attributes of a vector set element

    "},{"t":"M","n":"Redis::vgetattr","p":"Redis.html#method_vgetattr","d":"

    Get the attributes of a vector set element

    "},{"t":"M","n":"Redis::vlinks","p":"Redis.html#method_vlinks","d":"

    Get any adajcent values for a member of a vector set.

    "},{"t":"M","n":"Redis::xtrim","p":"Redis.html#method_xtrim","d":"

    Truncate a STREAM key in various ways.

    "},{"t":"M","n":"Redis::zAdd","p":"Redis.html#method_zAdd","d":"

    Add one or more elements and scores to a Redis sorted set.

    "},{"t":"M","n":"Redis::zCard","p":"Redis.html#method_zCard","d":"

    Return the number of elements in a sorted set.

    "},{"t":"M","n":"Redis::zCount","p":"Redis.html#method_zCount","d":"

    Count the number of members in a sorted set with scores inside a provided range.

    "},{"t":"M","n":"Redis::zIncrBy","p":"Redis.html#method_zIncrBy","d":"

    Create or increment the score of a member in a Redis sorted set

    "},{"t":"M","n":"Redis::zLexCount","p":"Redis.html#method_zLexCount","d":"

    Count the number of elements in a sorted set whose members fall within the provided\nlexographical range.

    "},{"t":"M","n":"Redis::zMscore","p":"Redis.html#method_zMscore","d":"

    Retrieve the score of one or more members in a sorted set.

    "},{"t":"M","n":"Redis::zPopMax","p":"Redis.html#method_zPopMax","d":"

    Pop one or more of the highest scoring elements from a sorted set.

    "},{"t":"M","n":"Redis::zPopMin","p":"Redis.html#method_zPopMin","d":"

    Pop one or more of the lowest scoring elements from a sorted set.

    "},{"t":"M","n":"Redis::zRange","p":"Redis.html#method_zRange","d":"

    Retrieve a range of elements of a sorted set between a start and end point.

    "},{"t":"M","n":"Redis::zRangeByLex","p":"Redis.html#method_zRangeByLex","d":"

    Retrieve a range of elements from a sorted set by legographical range.

    "},{"t":"M","n":"Redis::zRangeByScore","p":"Redis.html#method_zRangeByScore","d":"

    Retrieve a range of members from a sorted set by their score.

    "},{"t":"M","n":"Redis::zrangestore","p":"Redis.html#method_zrangestore","d":"

    This command is similar to ZRANGE except that instead of returning the values directly\nit will store them in a destination key provided by the user

    "},{"t":"M","n":"Redis::zRandMember","p":"Redis.html#method_zRandMember","d":"

    Retrieve one or more random members from a Redis sorted set.

    "},{"t":"M","n":"Redis::zRank","p":"Redis.html#method_zRank","d":"

    Get the rank of a member of a sorted set, by score.

    "},{"t":"M","n":"Redis::zRem","p":"Redis.html#method_zRem","d":"

    Remove one or more members from a Redis sorted set.

    "},{"t":"M","n":"Redis::zRemRangeByLex","p":"Redis.html#method_zRemRangeByLex","d":"

    Remove zero or more elements from a Redis sorted set by legographical range.

    "},{"t":"M","n":"Redis::zRemRangeByRank","p":"Redis.html#method_zRemRangeByRank","d":"

    Remove one or more members of a sorted set by their rank.

    "},{"t":"M","n":"Redis::zRemRangeByScore","p":"Redis.html#method_zRemRangeByScore","d":"

    Remove one or more members of a sorted set by their score.

    "},{"t":"M","n":"Redis::zRevRange","p":"Redis.html#method_zRevRange","d":"

    List the members of a Redis sorted set in reverse order

    "},{"t":"M","n":"Redis::zRevRangeByLex","p":"Redis.html#method_zRevRangeByLex","d":"

    List members of a Redis sorted set within a legographical range, in reverse order.

    "},{"t":"M","n":"Redis::zRevRangeByScore","p":"Redis.html#method_zRevRangeByScore","d":"

    List elements from a Redis sorted set by score, highest to lowest

    "},{"t":"M","n":"Redis::zRevRank","p":"Redis.html#method_zRevRank","d":"

    Retrieve a member of a sorted set by reverse rank.

    "},{"t":"M","n":"Redis::zScore","p":"Redis.html#method_zScore","d":"

    Get the score of a member of a sorted set.

    "},{"t":"M","n":"Redis::zdiff","p":"Redis.html#method_zdiff","d":"

    Given one or more sorted set key names, return every element that is in the first\nset but not any of the others.

    "},{"t":"M","n":"Redis::zdiffstore","p":"Redis.html#method_zdiffstore","d":"

    Store the difference of one or more sorted sets in a destination sorted set.

    "},{"t":"M","n":"Redis::zinter","p":"Redis.html#method_zinter","d":"

    Compute the intersection of one or more sorted sets and return the members

    "},{"t":"M","n":"Redis::zintercard","p":"Redis.html#method_zintercard","d":"

    Similar to ZINTER but instead of returning the intersected values, this command returns the\ncardinality of the intersected set.

    "},{"t":"M","n":"Redis::zinterstore","p":"Redis.html#method_zinterstore","d":"

    Compute the intersection of one or more sorted sets storing the result in a new sorted set.

    "},{"t":"M","n":"Redis::zscan","p":"Redis.html#method_zscan","d":"

    Scan the members of a sorted set incrementally, using a cursor

    "},{"t":"M","n":"Redis::zunion","p":"Redis.html#method_zunion","d":"

    Retrieve the union of one or more sorted sets

    "},{"t":"M","n":"Redis::zunionstore","p":"Redis.html#method_zunionstore","d":"

    Perform a union on one or more Redis sets and store the result in a destination sorted set.

    "},{"t":"M","n":"Redis::digest","p":"Redis.html#method_digest","d":"

    Ask the server for the XXH3 digest of a given key's value

    "},{"t":"M","n":"RedisArray::__call","p":"RedisArray.html#method___call","d":null},{"t":"M","n":"RedisArray::__construct","p":"RedisArray.html#method___construct","d":null},{"t":"M","n":"RedisArray::_continuum","p":"RedisArray.html#method__continuum","d":null},{"t":"M","n":"RedisArray::_distributor","p":"RedisArray.html#method__distributor","d":null},{"t":"M","n":"RedisArray::_function","p":"RedisArray.html#method__function","d":null},{"t":"M","n":"RedisArray::_hosts","p":"RedisArray.html#method__hosts","d":null},{"t":"M","n":"RedisArray::_instance","p":"RedisArray.html#method__instance","d":null},{"t":"M","n":"RedisArray::_rehash","p":"RedisArray.html#method__rehash","d":null},{"t":"M","n":"RedisArray::_target","p":"RedisArray.html#method__target","d":null},{"t":"M","n":"RedisArray::bgsave","p":"RedisArray.html#method_bgsave","d":null},{"t":"M","n":"RedisArray::del","p":"RedisArray.html#method_del","d":null},{"t":"M","n":"RedisArray::discard","p":"RedisArray.html#method_discard","d":null},{"t":"M","n":"RedisArray::exec","p":"RedisArray.html#method_exec","d":null},{"t":"M","n":"RedisArray::flushall","p":"RedisArray.html#method_flushall","d":null},{"t":"M","n":"RedisArray::flushdb","p":"RedisArray.html#method_flushdb","d":null},{"t":"M","n":"RedisArray::getOption","p":"RedisArray.html#method_getOption","d":null},{"t":"M","n":"RedisArray::hscan","p":"RedisArray.html#method_hscan","d":null},{"t":"M","n":"RedisArray::info","p":"RedisArray.html#method_info","d":null},{"t":"M","n":"RedisArray::keys","p":"RedisArray.html#method_keys","d":null},{"t":"M","n":"RedisArray::mget","p":"RedisArray.html#method_mget","d":null},{"t":"M","n":"RedisArray::mset","p":"RedisArray.html#method_mset","d":null},{"t":"M","n":"RedisArray::multi","p":"RedisArray.html#method_multi","d":null},{"t":"M","n":"RedisArray::ping","p":"RedisArray.html#method_ping","d":null},{"t":"M","n":"RedisArray::save","p":"RedisArray.html#method_save","d":null},{"t":"M","n":"RedisArray::scan","p":"RedisArray.html#method_scan","d":null},{"t":"M","n":"RedisArray::select","p":"RedisArray.html#method_select","d":null},{"t":"M","n":"RedisArray::setOption","p":"RedisArray.html#method_setOption","d":null},{"t":"M","n":"RedisArray::sscan","p":"RedisArray.html#method_sscan","d":null},{"t":"M","n":"RedisArray::unlink","p":"RedisArray.html#method_unlink","d":null},{"t":"M","n":"RedisArray::unwatch","p":"RedisArray.html#method_unwatch","d":null},{"t":"M","n":"RedisArray::zscan","p":"RedisArray.html#method_zscan","d":null},{"t":"M","n":"RedisArray::acl","p":"RedisArray.html#method_acl","d":""},{"t":"M","n":"RedisArray::append","p":"RedisArray.html#method_append","d":""},{"t":"M","n":"RedisArray::auth","p":"RedisArray.html#method_auth","d":""},{"t":"M","n":"RedisArray::bgrewriteaof","p":"RedisArray.html#method_bgrewriteaof","d":""},{"t":"M","n":"RedisArray::waitaof","p":"RedisArray.html#method_waitaof","d":""},{"t":"M","n":"RedisArray::bitcount","p":"RedisArray.html#method_bitcount","d":""},{"t":"M","n":"RedisArray::bitop","p":"RedisArray.html#method_bitop","d":""},{"t":"M","n":"RedisArray::bitpos","p":"RedisArray.html#method_bitpos","d":""},{"t":"M","n":"RedisArray::blPop","p":"RedisArray.html#method_blPop","d":""},{"t":"M","n":"RedisArray::brPop","p":"RedisArray.html#method_brPop","d":""},{"t":"M","n":"RedisArray::brpoplpush","p":"RedisArray.html#method_brpoplpush","d":""},{"t":"M","n":"RedisArray::bzPopMax","p":"RedisArray.html#method_bzPopMax","d":""},{"t":"M","n":"RedisArray::bzPopMin","p":"RedisArray.html#method_bzPopMin","d":""},{"t":"M","n":"RedisArray::bzmpop","p":"RedisArray.html#method_bzmpop","d":""},{"t":"M","n":"RedisArray::zmpop","p":"RedisArray.html#method_zmpop","d":""},{"t":"M","n":"RedisArray::blmpop","p":"RedisArray.html#method_blmpop","d":""},{"t":"M","n":"RedisArray::lmpop","p":"RedisArray.html#method_lmpop","d":""},{"t":"M","n":"RedisArray::clearLastError","p":"RedisArray.html#method_clearLastError","d":""},{"t":"M","n":"RedisArray::client","p":"RedisArray.html#method_client","d":""},{"t":"M","n":"RedisArray::close","p":"RedisArray.html#method_close","d":""},{"t":"M","n":"RedisArray::command","p":"RedisArray.html#method_command","d":""},{"t":"M","n":"RedisArray::config","p":"RedisArray.html#method_config","d":""},{"t":"M","n":"RedisArray::copy","p":"RedisArray.html#method_copy","d":""},{"t":"M","n":"RedisArray::dbSize","p":"RedisArray.html#method_dbSize","d":""},{"t":"M","n":"RedisArray::debug","p":"RedisArray.html#method_debug","d":""},{"t":"M","n":"RedisArray::decr","p":"RedisArray.html#method_decr","d":""},{"t":"M","n":"RedisArray::decrBy","p":"RedisArray.html#method_decrBy","d":""},{"t":"M","n":"RedisArray::delifeq","p":"RedisArray.html#method_delifeq","d":""},{"t":"M","n":"RedisArray::delete","p":"RedisArray.html#method_delete","d":""},{"t":"M","n":"RedisArray::dump","p":"RedisArray.html#method_dump","d":""},{"t":"M","n":"RedisArray::echo","p":"RedisArray.html#method_echo","d":""},{"t":"M","n":"RedisArray::eval","p":"RedisArray.html#method_eval","d":""},{"t":"M","n":"RedisArray::eval_ro","p":"RedisArray.html#method_eval_ro","d":""},{"t":"M","n":"RedisArray::evalsha","p":"RedisArray.html#method_evalsha","d":""},{"t":"M","n":"RedisArray::evalsha_ro","p":"RedisArray.html#method_evalsha_ro","d":""},{"t":"M","n":"RedisArray::exists","p":"RedisArray.html#method_exists","d":""},{"t":"M","n":"RedisArray::expire","p":"RedisArray.html#method_expire","d":""},{"t":"M","n":"RedisArray::expireAt","p":"RedisArray.html#method_expireAt","d":""},{"t":"M","n":"RedisArray::failover","p":"RedisArray.html#method_failover","d":""},{"t":"M","n":"RedisArray::expiretime","p":"RedisArray.html#method_expiretime","d":""},{"t":"M","n":"RedisArray::pexpiretime","p":"RedisArray.html#method_pexpiretime","d":""},{"t":"M","n":"RedisArray::fcall","p":"RedisArray.html#method_fcall","d":""},{"t":"M","n":"RedisArray::fcall_ro","p":"RedisArray.html#method_fcall_ro","d":""},{"t":"M","n":"RedisArray::function","p":"RedisArray.html#method_function","d":""},{"t":"M","n":"RedisArray::geoadd","p":"RedisArray.html#method_geoadd","d":""},{"t":"M","n":"RedisArray::geodist","p":"RedisArray.html#method_geodist","d":""},{"t":"M","n":"RedisArray::geohash","p":"RedisArray.html#method_geohash","d":""},{"t":"M","n":"RedisArray::geopos","p":"RedisArray.html#method_geopos","d":""},{"t":"M","n":"RedisArray::georadius","p":"RedisArray.html#method_georadius","d":""},{"t":"M","n":"RedisArray::georadius_ro","p":"RedisArray.html#method_georadius_ro","d":""},{"t":"M","n":"RedisArray::georadiusbymember","p":"RedisArray.html#method_georadiusbymember","d":""},{"t":"M","n":"RedisArray::georadiusbymember_ro","p":"RedisArray.html#method_georadiusbymember_ro","d":""},{"t":"M","n":"RedisArray::geosearch","p":"RedisArray.html#method_geosearch","d":""},{"t":"M","n":"RedisArray::geosearchstore","p":"RedisArray.html#method_geosearchstore","d":""},{"t":"M","n":"RedisArray::get","p":"RedisArray.html#method_get","d":""},{"t":"M","n":"RedisArray::getWithMeta","p":"RedisArray.html#method_getWithMeta","d":""},{"t":"M","n":"RedisArray::getAuth","p":"RedisArray.html#method_getAuth","d":""},{"t":"M","n":"RedisArray::getBit","p":"RedisArray.html#method_getBit","d":""},{"t":"M","n":"RedisArray::getEx","p":"RedisArray.html#method_getEx","d":""},{"t":"M","n":"RedisArray::getDBNum","p":"RedisArray.html#method_getDBNum","d":""},{"t":"M","n":"RedisArray::getDel","p":"RedisArray.html#method_getDel","d":""},{"t":"M","n":"RedisArray::getHost","p":"RedisArray.html#method_getHost","d":""},{"t":"M","n":"RedisArray::getLastError","p":"RedisArray.html#method_getLastError","d":""},{"t":"M","n":"RedisArray::getMode","p":"RedisArray.html#method_getMode","d":""},{"t":"M","n":"RedisArray::getPersistentID","p":"RedisArray.html#method_getPersistentID","d":""},{"t":"M","n":"RedisArray::getPort","p":"RedisArray.html#method_getPort","d":""},{"t":"M","n":"RedisArray::serverName","p":"RedisArray.html#method_serverName","d":""},{"t":"M","n":"RedisArray::serverVersion","p":"RedisArray.html#method_serverVersion","d":""},{"t":"M","n":"RedisArray::getRange","p":"RedisArray.html#method_getRange","d":""},{"t":"M","n":"RedisArray::lcs","p":"RedisArray.html#method_lcs","d":""},{"t":"M","n":"RedisArray::getReadTimeout","p":"RedisArray.html#method_getReadTimeout","d":""},{"t":"M","n":"RedisArray::getset","p":"RedisArray.html#method_getset","d":""},{"t":"M","n":"RedisArray::getTimeout","p":"RedisArray.html#method_getTimeout","d":""},{"t":"M","n":"RedisArray::getTransferredBytes","p":"RedisArray.html#method_getTransferredBytes","d":""},{"t":"M","n":"RedisArray::clearTransferredBytes","p":"RedisArray.html#method_clearTransferredBytes","d":""},{"t":"M","n":"RedisArray::hDel","p":"RedisArray.html#method_hDel","d":""},{"t":"M","n":"RedisArray::hExists","p":"RedisArray.html#method_hExists","d":""},{"t":"M","n":"RedisArray::hGet","p":"RedisArray.html#method_hGet","d":""},{"t":"M","n":"RedisArray::hGetAll","p":"RedisArray.html#method_hGetAll","d":""},{"t":"M","n":"RedisArray::hGetWithMeta","p":"RedisArray.html#method_hGetWithMeta","d":""},{"t":"M","n":"RedisArray::hIncrBy","p":"RedisArray.html#method_hIncrBy","d":""},{"t":"M","n":"RedisArray::hIncrByFloat","p":"RedisArray.html#method_hIncrByFloat","d":""},{"t":"M","n":"RedisArray::hKeys","p":"RedisArray.html#method_hKeys","d":""},{"t":"M","n":"RedisArray::hLen","p":"RedisArray.html#method_hLen","d":""},{"t":"M","n":"RedisArray::hMget","p":"RedisArray.html#method_hMget","d":""},{"t":"M","n":"RedisArray::hgetex","p":"RedisArray.html#method_hgetex","d":""},{"t":"M","n":"RedisArray::hsetex","p":"RedisArray.html#method_hsetex","d":""},{"t":"M","n":"RedisArray::hgetdel","p":"RedisArray.html#method_hgetdel","d":""},{"t":"M","n":"RedisArray::hMset","p":"RedisArray.html#method_hMset","d":""},{"t":"M","n":"RedisArray::hRandField","p":"RedisArray.html#method_hRandField","d":""},{"t":"M","n":"RedisArray::hSet","p":"RedisArray.html#method_hSet","d":""},{"t":"M","n":"RedisArray::hSetNx","p":"RedisArray.html#method_hSetNx","d":""},{"t":"M","n":"RedisArray::hStrLen","p":"RedisArray.html#method_hStrLen","d":""},{"t":"M","n":"RedisArray::hVals","p":"RedisArray.html#method_hVals","d":""},{"t":"M","n":"RedisArray::httl","p":"RedisArray.html#method_httl","d":""},{"t":"M","n":"RedisArray::hpttl","p":"RedisArray.html#method_hpttl","d":""},{"t":"M","n":"RedisArray::hexpiretime","p":"RedisArray.html#method_hexpiretime","d":""},{"t":"M","n":"RedisArray::hpexpiretime","p":"RedisArray.html#method_hpexpiretime","d":""},{"t":"M","n":"RedisArray::hpersist","p":"RedisArray.html#method_hpersist","d":""},{"t":"M","n":"RedisArray::expiremember","p":"RedisArray.html#method_expiremember","d":""},{"t":"M","n":"RedisArray::expirememberat","p":"RedisArray.html#method_expirememberat","d":""},{"t":"M","n":"RedisArray::incr","p":"RedisArray.html#method_incr","d":""},{"t":"M","n":"RedisArray::incrBy","p":"RedisArray.html#method_incrBy","d":""},{"t":"M","n":"RedisArray::incrByFloat","p":"RedisArray.html#method_incrByFloat","d":""},{"t":"M","n":"RedisArray::isConnected","p":"RedisArray.html#method_isConnected","d":""},{"t":"M","n":"RedisArray::lInsert","p":"RedisArray.html#method_lInsert","d":""},{"t":"M","n":"RedisArray::lLen","p":"RedisArray.html#method_lLen","d":""},{"t":"M","n":"RedisArray::lMove","p":"RedisArray.html#method_lMove","d":""},{"t":"M","n":"RedisArray::blmove","p":"RedisArray.html#method_blmove","d":""},{"t":"M","n":"RedisArray::lPop","p":"RedisArray.html#method_lPop","d":""},{"t":"M","n":"RedisArray::lPos","p":"RedisArray.html#method_lPos","d":""},{"t":"M","n":"RedisArray::lPush","p":"RedisArray.html#method_lPush","d":""},{"t":"M","n":"RedisArray::rPush","p":"RedisArray.html#method_rPush","d":""},{"t":"M","n":"RedisArray::lPushx","p":"RedisArray.html#method_lPushx","d":""},{"t":"M","n":"RedisArray::rPushx","p":"RedisArray.html#method_rPushx","d":""},{"t":"M","n":"RedisArray::lSet","p":"RedisArray.html#method_lSet","d":""},{"t":"M","n":"RedisArray::lastSave","p":"RedisArray.html#method_lastSave","d":""},{"t":"M","n":"RedisArray::lindex","p":"RedisArray.html#method_lindex","d":""},{"t":"M","n":"RedisArray::lrange","p":"RedisArray.html#method_lrange","d":""},{"t":"M","n":"RedisArray::lrem","p":"RedisArray.html#method_lrem","d":""},{"t":"M","n":"RedisArray::ltrim","p":"RedisArray.html#method_ltrim","d":""},{"t":"M","n":"RedisArray::move","p":"RedisArray.html#method_move","d":""},{"t":"M","n":"RedisArray::msetnx","p":"RedisArray.html#method_msetnx","d":""},{"t":"M","n":"RedisArray::object","p":"RedisArray.html#method_object","d":""},{"t":"M","n":"RedisArray::open","p":"RedisArray.html#method_open","d":""},{"t":"M","n":"RedisArray::pconnect","p":"RedisArray.html#method_pconnect","d":""},{"t":"M","n":"RedisArray::persist","p":"RedisArray.html#method_persist","d":""},{"t":"M","n":"RedisArray::pexpire","p":"RedisArray.html#method_pexpire","d":""},{"t":"M","n":"RedisArray::pexpireAt","p":"RedisArray.html#method_pexpireAt","d":""},{"t":"M","n":"RedisArray::pfadd","p":"RedisArray.html#method_pfadd","d":""},{"t":"M","n":"RedisArray::pfcount","p":"RedisArray.html#method_pfcount","d":""},{"t":"M","n":"RedisArray::pfmerge","p":"RedisArray.html#method_pfmerge","d":""},{"t":"M","n":"RedisArray::pipeline","p":"RedisArray.html#method_pipeline","d":""},{"t":"M","n":"RedisArray::popen","p":"RedisArray.html#method_popen","d":""},{"t":"M","n":"RedisArray::psetex","p":"RedisArray.html#method_psetex","d":""},{"t":"M","n":"RedisArray::psubscribe","p":"RedisArray.html#method_psubscribe","d":""},{"t":"M","n":"RedisArray::pttl","p":"RedisArray.html#method_pttl","d":""},{"t":"M","n":"RedisArray::publish","p":"RedisArray.html#method_publish","d":""},{"t":"M","n":"RedisArray::pubsub","p":"RedisArray.html#method_pubsub","d":""},{"t":"M","n":"RedisArray::punsubscribe","p":"RedisArray.html#method_punsubscribe","d":""},{"t":"M","n":"RedisArray::rPop","p":"RedisArray.html#method_rPop","d":""},{"t":"M","n":"RedisArray::randomKey","p":"RedisArray.html#method_randomKey","d":""},{"t":"M","n":"RedisArray::rawcommand","p":"RedisArray.html#method_rawcommand","d":""},{"t":"M","n":"RedisArray::rename","p":"RedisArray.html#method_rename","d":""},{"t":"M","n":"RedisArray::renameNx","p":"RedisArray.html#method_renameNx","d":""},{"t":"M","n":"RedisArray::reset","p":"RedisArray.html#method_reset","d":""},{"t":"M","n":"RedisArray::restore","p":"RedisArray.html#method_restore","d":""},{"t":"M","n":"RedisArray::role","p":"RedisArray.html#method_role","d":""},{"t":"M","n":"RedisArray::rpoplpush","p":"RedisArray.html#method_rpoplpush","d":""},{"t":"M","n":"RedisArray::sAdd","p":"RedisArray.html#method_sAdd","d":""},{"t":"M","n":"RedisArray::sAddArray","p":"RedisArray.html#method_sAddArray","d":""},{"t":"M","n":"RedisArray::sDiff","p":"RedisArray.html#method_sDiff","d":""},{"t":"M","n":"RedisArray::sDiffStore","p":"RedisArray.html#method_sDiffStore","d":""},{"t":"M","n":"RedisArray::sInter","p":"RedisArray.html#method_sInter","d":""},{"t":"M","n":"RedisArray::sintercard","p":"RedisArray.html#method_sintercard","d":""},{"t":"M","n":"RedisArray::sInterStore","p":"RedisArray.html#method_sInterStore","d":""},{"t":"M","n":"RedisArray::sMembers","p":"RedisArray.html#method_sMembers","d":""},{"t":"M","n":"RedisArray::sMisMember","p":"RedisArray.html#method_sMisMember","d":""},{"t":"M","n":"RedisArray::sMove","p":"RedisArray.html#method_sMove","d":""},{"t":"M","n":"RedisArray::sPop","p":"RedisArray.html#method_sPop","d":""},{"t":"M","n":"RedisArray::sRandMember","p":"RedisArray.html#method_sRandMember","d":""},{"t":"M","n":"RedisArray::sUnion","p":"RedisArray.html#method_sUnion","d":""},{"t":"M","n":"RedisArray::sUnionStore","p":"RedisArray.html#method_sUnionStore","d":""},{"t":"M","n":"RedisArray::scard","p":"RedisArray.html#method_scard","d":""},{"t":"M","n":"RedisArray::script","p":"RedisArray.html#method_script","d":""},{"t":"M","n":"RedisArray::set","p":"RedisArray.html#method_set","d":""},{"t":"M","n":"RedisArray::setBit","p":"RedisArray.html#method_setBit","d":""},{"t":"M","n":"RedisArray::setRange","p":"RedisArray.html#method_setRange","d":""},{"t":"M","n":"RedisArray::setex","p":"RedisArray.html#method_setex","d":""},{"t":"M","n":"RedisArray::setnx","p":"RedisArray.html#method_setnx","d":""},{"t":"M","n":"RedisArray::sismember","p":"RedisArray.html#method_sismember","d":""},{"t":"M","n":"RedisArray::slaveof","p":"RedisArray.html#method_slaveof","d":""},{"t":"M","n":"RedisArray::replicaof","p":"RedisArray.html#method_replicaof","d":""},{"t":"M","n":"RedisArray::touch","p":"RedisArray.html#method_touch","d":""},{"t":"M","n":"RedisArray::slowlog","p":"RedisArray.html#method_slowlog","d":""},{"t":"M","n":"RedisArray::sort","p":"RedisArray.html#method_sort","d":""},{"t":"M","n":"RedisArray::sort_ro","p":"RedisArray.html#method_sort_ro","d":""},{"t":"M","n":"RedisArray::sortAsc","p":"RedisArray.html#method_sortAsc","d":""},{"t":"M","n":"RedisArray::sortAscAlpha","p":"RedisArray.html#method_sortAscAlpha","d":""},{"t":"M","n":"RedisArray::sortDesc","p":"RedisArray.html#method_sortDesc","d":""},{"t":"M","n":"RedisArray::sortDescAlpha","p":"RedisArray.html#method_sortDescAlpha","d":""},{"t":"M","n":"RedisArray::srem","p":"RedisArray.html#method_srem","d":""},{"t":"M","n":"RedisArray::ssubscribe","p":"RedisArray.html#method_ssubscribe","d":""},{"t":"M","n":"RedisArray::strlen","p":"RedisArray.html#method_strlen","d":""},{"t":"M","n":"RedisArray::subscribe","p":"RedisArray.html#method_subscribe","d":""},{"t":"M","n":"RedisArray::sunsubscribe","p":"RedisArray.html#method_sunsubscribe","d":""},{"t":"M","n":"RedisArray::swapdb","p":"RedisArray.html#method_swapdb","d":""},{"t":"M","n":"RedisArray::time","p":"RedisArray.html#method_time","d":""},{"t":"M","n":"RedisArray::ttl","p":"RedisArray.html#method_ttl","d":""},{"t":"M","n":"RedisArray::type","p":"RedisArray.html#method_type","d":""},{"t":"M","n":"RedisArray::unsubscribe","p":"RedisArray.html#method_unsubscribe","d":""},{"t":"M","n":"RedisArray::watch","p":"RedisArray.html#method_watch","d":""},{"t":"M","n":"RedisArray::wait","p":"RedisArray.html#method_wait","d":""},{"t":"M","n":"RedisArray::xack","p":"RedisArray.html#method_xack","d":""},{"t":"M","n":"RedisArray::xadd","p":"RedisArray.html#method_xadd","d":""},{"t":"M","n":"RedisArray::xautoclaim","p":"RedisArray.html#method_xautoclaim","d":""},{"t":"M","n":"RedisArray::xclaim","p":"RedisArray.html#method_xclaim","d":""},{"t":"M","n":"RedisArray::xdel","p":"RedisArray.html#method_xdel","d":""},{"t":"M","n":"RedisArray::xinfo","p":"RedisArray.html#method_xinfo","d":""},{"t":"M","n":"RedisArray::xlen","p":"RedisArray.html#method_xlen","d":""},{"t":"M","n":"RedisArray::xpending","p":"RedisArray.html#method_xpending","d":""},{"t":"M","n":"RedisArray::xrange","p":"RedisArray.html#method_xrange","d":""},{"t":"M","n":"RedisArray::xread","p":"RedisArray.html#method_xread","d":""},{"t":"M","n":"RedisArray::xreadgroup","p":"RedisArray.html#method_xreadgroup","d":""},{"t":"M","n":"RedisArray::xrevrange","p":"RedisArray.html#method_xrevrange","d":""},{"t":"M","n":"RedisArray::vadd","p":"RedisArray.html#method_vadd","d":""},{"t":"M","n":"RedisArray::vsim","p":"RedisArray.html#method_vsim","d":""},{"t":"M","n":"RedisArray::vcard","p":"RedisArray.html#method_vcard","d":""},{"t":"M","n":"RedisArray::vdim","p":"RedisArray.html#method_vdim","d":""},{"t":"M","n":"RedisArray::vinfo","p":"RedisArray.html#method_vinfo","d":""},{"t":"M","n":"RedisArray::vismember","p":"RedisArray.html#method_vismember","d":""},{"t":"M","n":"RedisArray::vemb","p":"RedisArray.html#method_vemb","d":""},{"t":"M","n":"RedisArray::vrandmember","p":"RedisArray.html#method_vrandmember","d":""},{"t":"M","n":"RedisArray::vrange","p":"RedisArray.html#method_vrange","d":""},{"t":"M","n":"RedisArray::vrem","p":"RedisArray.html#method_vrem","d":""},{"t":"M","n":"RedisArray::vsetattr","p":"RedisArray.html#method_vsetattr","d":""},{"t":"M","n":"RedisArray::vgetattr","p":"RedisArray.html#method_vgetattr","d":""},{"t":"M","n":"RedisArray::vlinks","p":"RedisArray.html#method_vlinks","d":""},{"t":"M","n":"RedisArray::xtrim","p":"RedisArray.html#method_xtrim","d":""},{"t":"M","n":"RedisArray::zAdd","p":"RedisArray.html#method_zAdd","d":""},{"t":"M","n":"RedisArray::zCard","p":"RedisArray.html#method_zCard","d":""},{"t":"M","n":"RedisArray::zCount","p":"RedisArray.html#method_zCount","d":""},{"t":"M","n":"RedisArray::zIncrBy","p":"RedisArray.html#method_zIncrBy","d":""},{"t":"M","n":"RedisArray::zLexCount","p":"RedisArray.html#method_zLexCount","d":""},{"t":"M","n":"RedisArray::zMscore","p":"RedisArray.html#method_zMscore","d":""},{"t":"M","n":"RedisArray::zPopMax","p":"RedisArray.html#method_zPopMax","d":""},{"t":"M","n":"RedisArray::zPopMin","p":"RedisArray.html#method_zPopMin","d":""},{"t":"M","n":"RedisArray::zRange","p":"RedisArray.html#method_zRange","d":""},{"t":"M","n":"RedisArray::zRangeByLex","p":"RedisArray.html#method_zRangeByLex","d":""},{"t":"M","n":"RedisArray::zRangeByScore","p":"RedisArray.html#method_zRangeByScore","d":""},{"t":"M","n":"RedisArray::zRandMember","p":"RedisArray.html#method_zRandMember","d":""},{"t":"M","n":"RedisArray::zRank","p":"RedisArray.html#method_zRank","d":""},{"t":"M","n":"RedisArray::zRem","p":"RedisArray.html#method_zRem","d":""},{"t":"M","n":"RedisArray::zRemRangeByLex","p":"RedisArray.html#method_zRemRangeByLex","d":""},{"t":"M","n":"RedisArray::zRemRangeByRank","p":"RedisArray.html#method_zRemRangeByRank","d":""},{"t":"M","n":"RedisArray::zRemRangeByScore","p":"RedisArray.html#method_zRemRangeByScore","d":""},{"t":"M","n":"RedisArray::zRevRange","p":"RedisArray.html#method_zRevRange","d":""},{"t":"M","n":"RedisArray::zRevRangeByLex","p":"RedisArray.html#method_zRevRangeByLex","d":""},{"t":"M","n":"RedisArray::zRevRangeByScore","p":"RedisArray.html#method_zRevRangeByScore","d":""},{"t":"M","n":"RedisArray::zRevRank","p":"RedisArray.html#method_zRevRank","d":""},{"t":"M","n":"RedisArray::zScore","p":"RedisArray.html#method_zScore","d":""},{"t":"M","n":"RedisArray::zdiff","p":"RedisArray.html#method_zdiff","d":""},{"t":"M","n":"RedisArray::zdiffstore","p":"RedisArray.html#method_zdiffstore","d":""},{"t":"M","n":"RedisArray::zinter","p":"RedisArray.html#method_zinter","d":""},{"t":"M","n":"RedisArray::zintercard","p":"RedisArray.html#method_zintercard","d":""},{"t":"M","n":"RedisArray::zinterstore","p":"RedisArray.html#method_zinterstore","d":""},{"t":"M","n":"RedisArray::zunion","p":"RedisArray.html#method_zunion","d":""},{"t":"M","n":"RedisArray::zunionstore","p":"RedisArray.html#method_zunionstore","d":""},{"t":"M","n":"RedisCluster::__construct","p":"RedisCluster.html#method___construct","d":null},{"t":"M","n":"RedisCluster::_compress","p":"RedisCluster.html#method__compress","d":""},{"t":"M","n":"RedisCluster::_uncompress","p":"RedisCluster.html#method__uncompress","d":""},{"t":"M","n":"RedisCluster::_serialize","p":"RedisCluster.html#method__serialize","d":""},{"t":"M","n":"RedisCluster::_unserialize","p":"RedisCluster.html#method__unserialize","d":""},{"t":"M","n":"RedisCluster::_pack","p":"RedisCluster.html#method__pack","d":""},{"t":"M","n":"RedisCluster::_digest","p":"RedisCluster.html#method__digest","d":""},{"t":"M","n":"RedisCluster::_unpack","p":"RedisCluster.html#method__unpack","d":""},{"t":"M","n":"RedisCluster::_prefix","p":"RedisCluster.html#method__prefix","d":""},{"t":"M","n":"RedisCluster::_masters","p":"RedisCluster.html#method__masters","d":null},{"t":"M","n":"RedisCluster::_redir","p":"RedisCluster.html#method__redir","d":null},{"t":"M","n":"RedisCluster::acl","p":"RedisCluster.html#method_acl","d":""},{"t":"M","n":"RedisCluster::append","p":"RedisCluster.html#method_append","d":""},{"t":"M","n":"RedisCluster::bgrewriteaof","p":"RedisCluster.html#method_bgrewriteaof","d":""},{"t":"M","n":"RedisCluster::wait","p":"RedisCluster.html#method_wait","d":""},{"t":"M","n":"RedisCluster::waitaof","p":"RedisCluster.html#method_waitaof","d":""},{"t":"M","n":"RedisCluster::bgsave","p":"RedisCluster.html#method_bgsave","d":""},{"t":"M","n":"RedisCluster::bitcount","p":"RedisCluster.html#method_bitcount","d":""},{"t":"M","n":"RedisCluster::bitop","p":"RedisCluster.html#method_bitop","d":""},{"t":"M","n":"RedisCluster::bitpos","p":"RedisCluster.html#method_bitpos","d":"

    Return the position of the first bit set to 0 or 1 in a string.

    "},{"t":"M","n":"RedisCluster::blpop","p":"RedisCluster.html#method_blpop","d":"

    See Redis::blpop()

    "},{"t":"M","n":"RedisCluster::brpop","p":"RedisCluster.html#method_brpop","d":"

    See Redis::brpop()

    "},{"t":"M","n":"RedisCluster::brpoplpush","p":"RedisCluster.html#method_brpoplpush","d":"

    See Redis::brpoplpush()

    "},{"t":"M","n":"RedisCluster::lmove","p":"RedisCluster.html#method_lmove","d":"

    Move an element from one list into another.

    "},{"t":"M","n":"RedisCluster::blmove","p":"RedisCluster.html#method_blmove","d":"

    Move an element from one list to another, blocking up to a timeout until an element is available.

    "},{"t":"M","n":"RedisCluster::bzpopmax","p":"RedisCluster.html#method_bzpopmax","d":""},{"t":"M","n":"RedisCluster::bzpopmin","p":"RedisCluster.html#method_bzpopmin","d":""},{"t":"M","n":"RedisCluster::bzmpop","p":"RedisCluster.html#method_bzmpop","d":""},{"t":"M","n":"RedisCluster::zmpop","p":"RedisCluster.html#method_zmpop","d":""},{"t":"M","n":"RedisCluster::blmpop","p":"RedisCluster.html#method_blmpop","d":""},{"t":"M","n":"RedisCluster::lmpop","p":"RedisCluster.html#method_lmpop","d":""},{"t":"M","n":"RedisCluster::clearlasterror","p":"RedisCluster.html#method_clearlasterror","d":""},{"t":"M","n":"RedisCluster::client","p":"RedisCluster.html#method_client","d":""},{"t":"M","n":"RedisCluster::close","p":"RedisCluster.html#method_close","d":""},{"t":"M","n":"RedisCluster::cluster","p":"RedisCluster.html#method_cluster","d":""},{"t":"M","n":"RedisCluster::command","p":"RedisCluster.html#method_command","d":""},{"t":"M","n":"RedisCluster::config","p":"RedisCluster.html#method_config","d":""},{"t":"M","n":"RedisCluster::dbsize","p":"RedisCluster.html#method_dbsize","d":""},{"t":"M","n":"RedisCluster::copy","p":"RedisCluster.html#method_copy","d":""},{"t":"M","n":"RedisCluster::decr","p":"RedisCluster.html#method_decr","d":""},{"t":"M","n":"RedisCluster::decrby","p":"RedisCluster.html#method_decrby","d":""},{"t":"M","n":"RedisCluster::decrbyfloat","p":"RedisCluster.html#method_decrbyfloat","d":""},{"t":"M","n":"RedisCluster::del","p":"RedisCluster.html#method_del","d":""},{"t":"M","n":"RedisCluster::delex","p":"RedisCluster.html#method_delex","d":"

    Delete a key conditionally based on its value or hash digest

    "},{"t":"M","n":"RedisCluster::delifeq","p":"RedisCluster.html#method_delifeq","d":"

    Delete a key if it's equal to the specified value. This command is\nspecific to Valkey >= 9.0

    "},{"t":"M","n":"RedisCluster::discard","p":"RedisCluster.html#method_discard","d":""},{"t":"M","n":"RedisCluster::dump","p":"RedisCluster.html#method_dump","d":""},{"t":"M","n":"RedisCluster::echo","p":"RedisCluster.html#method_echo","d":""},{"t":"M","n":"RedisCluster::eval","p":"RedisCluster.html#method_eval","d":""},{"t":"M","n":"RedisCluster::eval_ro","p":"RedisCluster.html#method_eval_ro","d":""},{"t":"M","n":"RedisCluster::evalsha","p":"RedisCluster.html#method_evalsha","d":""},{"t":"M","n":"RedisCluster::evalsha_ro","p":"RedisCluster.html#method_evalsha_ro","d":""},{"t":"M","n":"RedisCluster::exec","p":"RedisCluster.html#method_exec","d":""},{"t":"M","n":"RedisCluster::exists","p":"RedisCluster.html#method_exists","d":""},{"t":"M","n":"RedisCluster::touch","p":"RedisCluster.html#method_touch","d":""},{"t":"M","n":"RedisCluster::expire","p":"RedisCluster.html#method_expire","d":""},{"t":"M","n":"RedisCluster::expireat","p":"RedisCluster.html#method_expireat","d":""},{"t":"M","n":"RedisCluster::expiretime","p":"RedisCluster.html#method_expiretime","d":""},{"t":"M","n":"RedisCluster::pexpiretime","p":"RedisCluster.html#method_pexpiretime","d":""},{"t":"M","n":"RedisCluster::flushall","p":"RedisCluster.html#method_flushall","d":""},{"t":"M","n":"RedisCluster::flushdb","p":"RedisCluster.html#method_flushdb","d":""},{"t":"M","n":"RedisCluster::geoadd","p":"RedisCluster.html#method_geoadd","d":""},{"t":"M","n":"RedisCluster::geodist","p":"RedisCluster.html#method_geodist","d":""},{"t":"M","n":"RedisCluster::geohash","p":"RedisCluster.html#method_geohash","d":""},{"t":"M","n":"RedisCluster::geopos","p":"RedisCluster.html#method_geopos","d":""},{"t":"M","n":"RedisCluster::georadius","p":"RedisCluster.html#method_georadius","d":""},{"t":"M","n":"RedisCluster::georadius_ro","p":"RedisCluster.html#method_georadius_ro","d":""},{"t":"M","n":"RedisCluster::georadiusbymember","p":"RedisCluster.html#method_georadiusbymember","d":""},{"t":"M","n":"RedisCluster::georadiusbymember_ro","p":"RedisCluster.html#method_georadiusbymember_ro","d":""},{"t":"M","n":"RedisCluster::geosearch","p":"RedisCluster.html#method_geosearch","d":""},{"t":"M","n":"RedisCluster::geosearchstore","p":"RedisCluster.html#method_geosearchstore","d":""},{"t":"M","n":"RedisCluster::get","p":"RedisCluster.html#method_get","d":""},{"t":"M","n":"RedisCluster::getdel","p":"RedisCluster.html#method_getdel","d":""},{"t":"M","n":"RedisCluster::getWithMeta","p":"RedisCluster.html#method_getWithMeta","d":""},{"t":"M","n":"RedisCluster::getex","p":"RedisCluster.html#method_getex","d":""},{"t":"M","n":"RedisCluster::getbit","p":"RedisCluster.html#method_getbit","d":""},{"t":"M","n":"RedisCluster::getlasterror","p":"RedisCluster.html#method_getlasterror","d":""},{"t":"M","n":"RedisCluster::getmode","p":"RedisCluster.html#method_getmode","d":""},{"t":"M","n":"RedisCluster::getoption","p":"RedisCluster.html#method_getoption","d":""},{"t":"M","n":"RedisCluster::getrange","p":"RedisCluster.html#method_getrange","d":""},{"t":"M","n":"RedisCluster::lcs","p":"RedisCluster.html#method_lcs","d":""},{"t":"M","n":"RedisCluster::getset","p":"RedisCluster.html#method_getset","d":""},{"t":"M","n":"RedisCluster::gettransferredbytes","p":"RedisCluster.html#method_gettransferredbytes","d":""},{"t":"M","n":"RedisCluster::cleartransferredbytes","p":"RedisCluster.html#method_cleartransferredbytes","d":""},{"t":"M","n":"RedisCluster::hdel","p":"RedisCluster.html#method_hdel","d":""},{"t":"M","n":"RedisCluster::hexists","p":"RedisCluster.html#method_hexists","d":""},{"t":"M","n":"RedisCluster::hget","p":"RedisCluster.html#method_hget","d":""},{"t":"M","n":"RedisCluster::hgetall","p":"RedisCluster.html#method_hgetall","d":""},{"t":"M","n":"RedisCluster::hgetWithMeta","p":"RedisCluster.html#method_hgetWithMeta","d":""},{"t":"M","n":"RedisCluster::hincrby","p":"RedisCluster.html#method_hincrby","d":""},{"t":"M","n":"RedisCluster::hincrbyfloat","p":"RedisCluster.html#method_hincrbyfloat","d":""},{"t":"M","n":"RedisCluster::hkeys","p":"RedisCluster.html#method_hkeys","d":""},{"t":"M","n":"RedisCluster::hlen","p":"RedisCluster.html#method_hlen","d":""},{"t":"M","n":"RedisCluster::hmget","p":"RedisCluster.html#method_hmget","d":""},{"t":"M","n":"RedisCluster::hgetex","p":"RedisCluster.html#method_hgetex","d":""},{"t":"M","n":"RedisCluster::hsetex","p":"RedisCluster.html#method_hsetex","d":""},{"t":"M","n":"RedisCluster::hgetdel","p":"RedisCluster.html#method_hgetdel","d":""},{"t":"M","n":"RedisCluster::hmset","p":"RedisCluster.html#method_hmset","d":""},{"t":"M","n":"RedisCluster::hscan","p":"RedisCluster.html#method_hscan","d":""},{"t":"M","n":"RedisCluster::expiremember","p":"RedisCluster.html#method_expiremember","d":""},{"t":"M","n":"RedisCluster::expirememberat","p":"RedisCluster.html#method_expirememberat","d":""},{"t":"M","n":"RedisCluster::hrandfield","p":"RedisCluster.html#method_hrandfield","d":""},{"t":"M","n":"RedisCluster::hset","p":"RedisCluster.html#method_hset","d":""},{"t":"M","n":"RedisCluster::hsetnx","p":"RedisCluster.html#method_hsetnx","d":""},{"t":"M","n":"RedisCluster::hstrlen","p":"RedisCluster.html#method_hstrlen","d":""},{"t":"M","n":"RedisCluster::hexpire","p":"RedisCluster.html#method_hexpire","d":""},{"t":"M","n":"RedisCluster::hpexpire","p":"RedisCluster.html#method_hpexpire","d":""},{"t":"M","n":"RedisCluster::hexpireat","p":"RedisCluster.html#method_hexpireat","d":""},{"t":"M","n":"RedisCluster::hpexpireat","p":"RedisCluster.html#method_hpexpireat","d":""},{"t":"M","n":"RedisCluster::httl","p":"RedisCluster.html#method_httl","d":""},{"t":"M","n":"RedisCluster::hpttl","p":"RedisCluster.html#method_hpttl","d":""},{"t":"M","n":"RedisCluster::hexpiretime","p":"RedisCluster.html#method_hexpiretime","d":""},{"t":"M","n":"RedisCluster::hpexpiretime","p":"RedisCluster.html#method_hpexpiretime","d":""},{"t":"M","n":"RedisCluster::hpersist","p":"RedisCluster.html#method_hpersist","d":""},{"t":"M","n":"RedisCluster::hvals","p":"RedisCluster.html#method_hvals","d":""},{"t":"M","n":"RedisCluster::incr","p":"RedisCluster.html#method_incr","d":""},{"t":"M","n":"RedisCluster::incrby","p":"RedisCluster.html#method_incrby","d":""},{"t":"M","n":"RedisCluster::incrbyfloat","p":"RedisCluster.html#method_incrbyfloat","d":""},{"t":"M","n":"RedisCluster::info","p":"RedisCluster.html#method_info","d":"

    Retrieve information about the connected redis-server. If no arguments are passed to\nthis function, redis will return every info field. Alternatively you may pass a specific\nsection you want returned (e.g. 'server', or 'memory') to receive only information pertaining\nto that section.

    "},{"t":"M","n":"RedisCluster::keys","p":"RedisCluster.html#method_keys","d":""},{"t":"M","n":"RedisCluster::lastsave","p":"RedisCluster.html#method_lastsave","d":""},{"t":"M","n":"RedisCluster::lget","p":"RedisCluster.html#method_lget","d":""},{"t":"M","n":"RedisCluster::lindex","p":"RedisCluster.html#method_lindex","d":""},{"t":"M","n":"RedisCluster::linsert","p":"RedisCluster.html#method_linsert","d":""},{"t":"M","n":"RedisCluster::llen","p":"RedisCluster.html#method_llen","d":""},{"t":"M","n":"RedisCluster::lpop","p":"RedisCluster.html#method_lpop","d":""},{"t":"M","n":"RedisCluster::lpos","p":"RedisCluster.html#method_lpos","d":""},{"t":"M","n":"RedisCluster::lpush","p":"RedisCluster.html#method_lpush","d":""},{"t":"M","n":"RedisCluster::lpushx","p":"RedisCluster.html#method_lpushx","d":""},{"t":"M","n":"RedisCluster::lrange","p":"RedisCluster.html#method_lrange","d":""},{"t":"M","n":"RedisCluster::lrem","p":"RedisCluster.html#method_lrem","d":""},{"t":"M","n":"RedisCluster::lset","p":"RedisCluster.html#method_lset","d":""},{"t":"M","n":"RedisCluster::ltrim","p":"RedisCluster.html#method_ltrim","d":""},{"t":"M","n":"RedisCluster::mget","p":"RedisCluster.html#method_mget","d":""},{"t":"M","n":"RedisCluster::mset","p":"RedisCluster.html#method_mset","d":""},{"t":"M","n":"RedisCluster::msetnx","p":"RedisCluster.html#method_msetnx","d":""},{"t":"M","n":"RedisCluster::multi","p":"RedisCluster.html#method_multi","d":null},{"t":"M","n":"RedisCluster::object","p":"RedisCluster.html#method_object","d":""},{"t":"M","n":"RedisCluster::persist","p":"RedisCluster.html#method_persist","d":""},{"t":"M","n":"RedisCluster::pexpire","p":"RedisCluster.html#method_pexpire","d":""},{"t":"M","n":"RedisCluster::pexpireat","p":"RedisCluster.html#method_pexpireat","d":""},{"t":"M","n":"RedisCluster::pfadd","p":"RedisCluster.html#method_pfadd","d":""},{"t":"M","n":"RedisCluster::pfcount","p":"RedisCluster.html#method_pfcount","d":""},{"t":"M","n":"RedisCluster::pfmerge","p":"RedisCluster.html#method_pfmerge","d":""},{"t":"M","n":"RedisCluster::ping","p":"RedisCluster.html#method_ping","d":"

    PING an instance in the redis cluster.

    "},{"t":"M","n":"RedisCluster::psetex","p":"RedisCluster.html#method_psetex","d":""},{"t":"M","n":"RedisCluster::psubscribe","p":"RedisCluster.html#method_psubscribe","d":""},{"t":"M","n":"RedisCluster::pttl","p":"RedisCluster.html#method_pttl","d":""},{"t":"M","n":"RedisCluster::publish","p":"RedisCluster.html#method_publish","d":""},{"t":"M","n":"RedisCluster::pubsub","p":"RedisCluster.html#method_pubsub","d":""},{"t":"M","n":"RedisCluster::punsubscribe","p":"RedisCluster.html#method_punsubscribe","d":""},{"t":"M","n":"RedisCluster::randomkey","p":"RedisCluster.html#method_randomkey","d":""},{"t":"M","n":"RedisCluster::rawcommand","p":"RedisCluster.html#method_rawcommand","d":""},{"t":"M","n":"RedisCluster::rename","p":"RedisCluster.html#method_rename","d":""},{"t":"M","n":"RedisCluster::renamenx","p":"RedisCluster.html#method_renamenx","d":""},{"t":"M","n":"RedisCluster::restore","p":"RedisCluster.html#method_restore","d":""},{"t":"M","n":"RedisCluster::role","p":"RedisCluster.html#method_role","d":""},{"t":"M","n":"RedisCluster::rpop","p":"RedisCluster.html#method_rpop","d":""},{"t":"M","n":"RedisCluster::rpoplpush","p":"RedisCluster.html#method_rpoplpush","d":""},{"t":"M","n":"RedisCluster::rpush","p":"RedisCluster.html#method_rpush","d":""},{"t":"M","n":"RedisCluster::rpushx","p":"RedisCluster.html#method_rpushx","d":""},{"t":"M","n":"RedisCluster::sadd","p":"RedisCluster.html#method_sadd","d":""},{"t":"M","n":"RedisCluster::saddarray","p":"RedisCluster.html#method_saddarray","d":""},{"t":"M","n":"RedisCluster::save","p":"RedisCluster.html#method_save","d":""},{"t":"M","n":"RedisCluster::scan","p":"RedisCluster.html#method_scan","d":""},{"t":"M","n":"RedisCluster::scard","p":"RedisCluster.html#method_scard","d":""},{"t":"M","n":"RedisCluster::script","p":"RedisCluster.html#method_script","d":""},{"t":"M","n":"RedisCluster::sdiff","p":"RedisCluster.html#method_sdiff","d":""},{"t":"M","n":"RedisCluster::sdiffstore","p":"RedisCluster.html#method_sdiffstore","d":""},{"t":"M","n":"RedisCluster::set","p":"RedisCluster.html#method_set","d":""},{"t":"M","n":"RedisCluster::setbit","p":"RedisCluster.html#method_setbit","d":""},{"t":"M","n":"RedisCluster::setex","p":"RedisCluster.html#method_setex","d":""},{"t":"M","n":"RedisCluster::setnx","p":"RedisCluster.html#method_setnx","d":""},{"t":"M","n":"RedisCluster::setoption","p":"RedisCluster.html#method_setoption","d":""},{"t":"M","n":"RedisCluster::setrange","p":"RedisCluster.html#method_setrange","d":""},{"t":"M","n":"RedisCluster::sinter","p":"RedisCluster.html#method_sinter","d":""},{"t":"M","n":"RedisCluster::sintercard","p":"RedisCluster.html#method_sintercard","d":""},{"t":"M","n":"RedisCluster::sinterstore","p":"RedisCluster.html#method_sinterstore","d":""},{"t":"M","n":"RedisCluster::sismember","p":"RedisCluster.html#method_sismember","d":""},{"t":"M","n":"RedisCluster::smismember","p":"RedisCluster.html#method_smismember","d":""},{"t":"M","n":"RedisCluster::slowlog","p":"RedisCluster.html#method_slowlog","d":""},{"t":"M","n":"RedisCluster::smembers","p":"RedisCluster.html#method_smembers","d":""},{"t":"M","n":"RedisCluster::smove","p":"RedisCluster.html#method_smove","d":""},{"t":"M","n":"RedisCluster::sort","p":"RedisCluster.html#method_sort","d":""},{"t":"M","n":"RedisCluster::sort_ro","p":"RedisCluster.html#method_sort_ro","d":""},{"t":"M","n":"RedisCluster::spop","p":"RedisCluster.html#method_spop","d":""},{"t":"M","n":"RedisCluster::srandmember","p":"RedisCluster.html#method_srandmember","d":""},{"t":"M","n":"RedisCluster::srem","p":"RedisCluster.html#method_srem","d":""},{"t":"M","n":"RedisCluster::sscan","p":"RedisCluster.html#method_sscan","d":""},{"t":"M","n":"RedisCluster::strlen","p":"RedisCluster.html#method_strlen","d":""},{"t":"M","n":"RedisCluster::subscribe","p":"RedisCluster.html#method_subscribe","d":""},{"t":"M","n":"RedisCluster::sunion","p":"RedisCluster.html#method_sunion","d":""},{"t":"M","n":"RedisCluster::sunionstore","p":"RedisCluster.html#method_sunionstore","d":""},{"t":"M","n":"RedisCluster::time","p":"RedisCluster.html#method_time","d":""},{"t":"M","n":"RedisCluster::ttl","p":"RedisCluster.html#method_ttl","d":""},{"t":"M","n":"RedisCluster::type","p":"RedisCluster.html#method_type","d":""},{"t":"M","n":"RedisCluster::unsubscribe","p":"RedisCluster.html#method_unsubscribe","d":""},{"t":"M","n":"RedisCluster::unlink","p":"RedisCluster.html#method_unlink","d":""},{"t":"M","n":"RedisCluster::unwatch","p":"RedisCluster.html#method_unwatch","d":""},{"t":"M","n":"RedisCluster::watch","p":"RedisCluster.html#method_watch","d":""},{"t":"M","n":"RedisCluster::vadd","p":"RedisCluster.html#method_vadd","d":""},{"t":"M","n":"RedisCluster::vsim","p":"RedisCluster.html#method_vsim","d":""},{"t":"M","n":"RedisCluster::vcard","p":"RedisCluster.html#method_vcard","d":""},{"t":"M","n":"RedisCluster::vdim","p":"RedisCluster.html#method_vdim","d":""},{"t":"M","n":"RedisCluster::vinfo","p":"RedisCluster.html#method_vinfo","d":""},{"t":"M","n":"RedisCluster::vismember","p":"RedisCluster.html#method_vismember","d":"

    Check if an element is a member of a vectorset

    "},{"t":"M","n":"RedisCluster::vemb","p":"RedisCluster.html#method_vemb","d":""},{"t":"M","n":"RedisCluster::vrandmember","p":"RedisCluster.html#method_vrandmember","d":""},{"t":"M","n":"RedisCluster::vrange","p":"RedisCluster.html#method_vrange","d":"

    Retreive a lexographical range of elements from a vector set

    "},{"t":"M","n":"RedisCluster::vrem","p":"RedisCluster.html#method_vrem","d":""},{"t":"M","n":"RedisCluster::vlinks","p":"RedisCluster.html#method_vlinks","d":""},{"t":"M","n":"RedisCluster::vgetattr","p":"RedisCluster.html#method_vgetattr","d":""},{"t":"M","n":"RedisCluster::vsetattr","p":"RedisCluster.html#method_vsetattr","d":""},{"t":"M","n":"RedisCluster::xack","p":"RedisCluster.html#method_xack","d":""},{"t":"M","n":"RedisCluster::xadd","p":"RedisCluster.html#method_xadd","d":""},{"t":"M","n":"RedisCluster::xclaim","p":"RedisCluster.html#method_xclaim","d":""},{"t":"M","n":"RedisCluster::xdel","p":"RedisCluster.html#method_xdel","d":""},{"t":"M","n":"RedisCluster::xgroup","p":"RedisCluster.html#method_xgroup","d":""},{"t":"M","n":"RedisCluster::xautoclaim","p":"RedisCluster.html#method_xautoclaim","d":""},{"t":"M","n":"RedisCluster::xinfo","p":"RedisCluster.html#method_xinfo","d":""},{"t":"M","n":"RedisCluster::xlen","p":"RedisCluster.html#method_xlen","d":""},{"t":"M","n":"RedisCluster::xpending","p":"RedisCluster.html#method_xpending","d":""},{"t":"M","n":"RedisCluster::xrange","p":"RedisCluster.html#method_xrange","d":""},{"t":"M","n":"RedisCluster::xread","p":"RedisCluster.html#method_xread","d":""},{"t":"M","n":"RedisCluster::xreadgroup","p":"RedisCluster.html#method_xreadgroup","d":""},{"t":"M","n":"RedisCluster::xrevrange","p":"RedisCluster.html#method_xrevrange","d":""},{"t":"M","n":"RedisCluster::xtrim","p":"RedisCluster.html#method_xtrim","d":""},{"t":"M","n":"RedisCluster::zadd","p":"RedisCluster.html#method_zadd","d":""},{"t":"M","n":"RedisCluster::zcard","p":"RedisCluster.html#method_zcard","d":""},{"t":"M","n":"RedisCluster::zcount","p":"RedisCluster.html#method_zcount","d":""},{"t":"M","n":"RedisCluster::zincrby","p":"RedisCluster.html#method_zincrby","d":""},{"t":"M","n":"RedisCluster::zinterstore","p":"RedisCluster.html#method_zinterstore","d":""},{"t":"M","n":"RedisCluster::zintercard","p":"RedisCluster.html#method_zintercard","d":""},{"t":"M","n":"RedisCluster::zlexcount","p":"RedisCluster.html#method_zlexcount","d":""},{"t":"M","n":"RedisCluster::zpopmax","p":"RedisCluster.html#method_zpopmax","d":""},{"t":"M","n":"RedisCluster::zpopmin","p":"RedisCluster.html#method_zpopmin","d":""},{"t":"M","n":"RedisCluster::zrange","p":"RedisCluster.html#method_zrange","d":""},{"t":"M","n":"RedisCluster::zrangestore","p":"RedisCluster.html#method_zrangestore","d":""},{"t":"M","n":"RedisCluster::zrandmember","p":"RedisCluster.html#method_zrandmember","d":""},{"t":"M","n":"RedisCluster::zrangebylex","p":"RedisCluster.html#method_zrangebylex","d":""},{"t":"M","n":"RedisCluster::zrangebyscore","p":"RedisCluster.html#method_zrangebyscore","d":""},{"t":"M","n":"RedisCluster::zrank","p":"RedisCluster.html#method_zrank","d":""},{"t":"M","n":"RedisCluster::zrem","p":"RedisCluster.html#method_zrem","d":""},{"t":"M","n":"RedisCluster::zremrangebylex","p":"RedisCluster.html#method_zremrangebylex","d":""},{"t":"M","n":"RedisCluster::zremrangebyrank","p":"RedisCluster.html#method_zremrangebyrank","d":""},{"t":"M","n":"RedisCluster::zremrangebyscore","p":"RedisCluster.html#method_zremrangebyscore","d":""},{"t":"M","n":"RedisCluster::zrevrange","p":"RedisCluster.html#method_zrevrange","d":""},{"t":"M","n":"RedisCluster::zrevrangebylex","p":"RedisCluster.html#method_zrevrangebylex","d":""},{"t":"M","n":"RedisCluster::zrevrangebyscore","p":"RedisCluster.html#method_zrevrangebyscore","d":""},{"t":"M","n":"RedisCluster::zrevrank","p":"RedisCluster.html#method_zrevrank","d":""},{"t":"M","n":"RedisCluster::zscan","p":"RedisCluster.html#method_zscan","d":""},{"t":"M","n":"RedisCluster::zscore","p":"RedisCluster.html#method_zscore","d":""},{"t":"M","n":"RedisCluster::zmscore","p":"RedisCluster.html#method_zmscore","d":""},{"t":"M","n":"RedisCluster::zunionstore","p":"RedisCluster.html#method_zunionstore","d":""},{"t":"M","n":"RedisCluster::zinter","p":"RedisCluster.html#method_zinter","d":""},{"t":"M","n":"RedisCluster::zdiffstore","p":"RedisCluster.html#method_zdiffstore","d":""},{"t":"M","n":"RedisCluster::zunion","p":"RedisCluster.html#method_zunion","d":""},{"t":"M","n":"RedisCluster::zdiff","p":"RedisCluster.html#method_zdiff","d":""},{"t":"M","n":"RedisCluster::digest","p":"RedisCluster.html#method_digest","d":""},{"t":"M","n":"RedisSentinel::__construct","p":"RedisSentinel.html#method___construct","d":null},{"t":"M","n":"RedisSentinel::ckquorum","p":"RedisSentinel.html#method_ckquorum","d":""},{"t":"M","n":"RedisSentinel::failover","p":"RedisSentinel.html#method_failover","d":""},{"t":"M","n":"RedisSentinel::flushconfig","p":"RedisSentinel.html#method_flushconfig","d":""},{"t":"M","n":"RedisSentinel::getMasterAddrByName","p":"RedisSentinel.html#method_getMasterAddrByName","d":""},{"t":"M","n":"RedisSentinel::master","p":"RedisSentinel.html#method_master","d":""},{"t":"M","n":"RedisSentinel::masters","p":"RedisSentinel.html#method_masters","d":""},{"t":"M","n":"RedisSentinel::myid","p":"RedisSentinel.html#method_myid","d":null},{"t":"M","n":"RedisSentinel::ping","p":"RedisSentinel.html#method_ping","d":""},{"t":"M","n":"RedisSentinel::reset","p":"RedisSentinel.html#method_reset","d":""},{"t":"M","n":"RedisSentinel::sentinels","p":"RedisSentinel.html#method_sentinels","d":""},{"t":"M","n":"RedisSentinel::slaves","p":"RedisSentinel.html#method_slaves","d":""},{"t":"N","n":"","p":"[Global_Namespace].html"}]} diff --git a/docs/doctum.js b/docs/doctum.js index dc773fac..59bc2082 100644 --- a/docs/doctum.js +++ b/docs/doctum.js @@ -168,7 +168,7 @@ var Doctum = { DoctumSearch.doctumSearchPageAutoCompleteProgressBar.className = 'progress-bar'; } }, - makeProgress: function () { + makeProgess: function () { Doctum.makeProgressOnProgressBar( Doctum.doctumSearchAutoCompleteProgressBarPercent, Doctum.doctumSearchAutoCompleteProgressBar @@ -209,7 +209,7 @@ var Doctum = { oReq.onprogress = function (pe) { if (pe.lengthComputable) { Doctum.doctumSearchAutoCompleteProgressBarPercent = parseInt(pe.loaded / pe.total * 100, 10); - Doctum.makeProgress(); + Doctum.makeProgess(); } }; oReq.onloadend = function (_) { @@ -261,10 +261,13 @@ var Doctum = { /** * Clean the search query * - * @param string query + * @param string|null query * @return string */ cleanSearchQuery: function (query) { + if (typeof query !== 'string') { + return ''; + } // replace any chars that could lead to injecting code in our regex // remove start or end spaces // replace backslashes by an escaped version, use case in search: \myRootFunction diff --git a/docs/renderer.index b/docs/renderer.index index 616851d6..574e4993 100644 --- a/docs/renderer.index +++ b/docs/renderer.index @@ -1 +1 @@ -O:21:"Doctum\Renderer\Index":3:{i:0;a:6:{s:5:"Redis";s:40:"39efb36886d0e29b476aa5ccb2e551c2a37fc7cb";s:10:"RedisArray";s:40:"fb17c785beccf1dbeedaa48afb4aa7d48fd8b655";s:12:"RedisCluster";s:40:"2f2132e45b1d60011f8ef9298cb35b7ba2b247d5";s:21:"RedisClusterException";s:40:"2f2132e45b1d60011f8ef9298cb35b7ba2b247d5";s:14:"RedisException";s:40:"39efb36886d0e29b476aa5ccb2e551c2a37fc7cb";s:13:"RedisSentinel";s:40:"4055ace9f1cf20bef89bdb5d3219470b4c8915e6";}i:1;a:1:{i:0;s:4:"main";}i:2;a:1:{i:0;s:0:"";}} \ No newline at end of file +O:21:"Doctum\Renderer\Index":3:{i:0;a:6:{s:5:"Redis";s:40:"11fcea52d11fbe82fd064d66a3dc7324371a94e6";s:10:"RedisArray";s:40:"2a50f02b4f62d96a18ec122fec35bd6e03bf735a";s:12:"RedisCluster";s:40:"76e57d541155478d414e8cfe84d56f6d07ec6e3d";s:21:"RedisClusterException";s:40:"76e57d541155478d414e8cfe84d56f6d07ec6e3d";s:14:"RedisException";s:40:"11fcea52d11fbe82fd064d66a3dc7324371a94e6";s:13:"RedisSentinel";s:40:"ca40579af888c5bb0661cd0201d840297474479a";}i:1;a:1:{i:0;s:4:"main";}i:2;a:1:{i:0;s:0:"";}} \ No newline at end of file