diff options
author | michael-grunder <michael.grunder@gmail.com> | 2022-11-11 06:31:38 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2022-11-11 06:36:06 +0300 |
commit | ef4699c726300a631fc9e1439b1c2aaa2004a3e6 (patch) | |
tree | 4de63ad3e94fb144823294d15a593ce5a783d9b4 | |
parent | 65c965638cf5412ac21d72df36b029789b13268b (diff) |
[skip ci]
-rw-r--r-- | docs/Redis.html | 1341 | ||||
-rw-r--r-- | docs/doc-index.html | 8 | ||||
-rw-r--r-- | docs/doctum-search.json | 2 | ||||
-rw-r--r-- | docs/renderer.index | 2 | ||||
-rw-r--r-- | redis.stub.php | 574 | ||||
-rw-r--r-- | redis_arginfo.h | 2 | ||||
-rw-r--r-- | redis_legacy_arginfo.h | 2 |
7 files changed, 917 insertions, 1014 deletions
diff --git a/docs/Redis.html b/docs/Redis.html index 05d15dcd..575df3d2 100644 --- a/docs/Redis.html +++ b/docs/Redis.html @@ -425,8 +425,7 @@ no elements are available.</p></p> </div> <div class="col-md-8"> <a href="#method_config">config</a>(string $operation, array|string|null $key_or_settings = NULL, string|null $value = NULL) - <p><p>Execute the Redis CONFIG command in a variety of ways. What the command does in particular depends -on the <code>$operation</code> qualifier.</p></p> </div> + <p><p>Execute the Redis CONFIG command in a variety of ways.</p></p> </div> <div class="col-md-2"></div> </div> <div class="row"> @@ -624,8 +623,7 @@ modifies how the command will execute.</p></p> </div> <div class="col-md-8"> <a href="#method_expireAt">expireAt</a>(string $key, int $timestamp, string|null $mode = NULL) - <p><p>Set a key's expiration to a specific Unix timestamp in seconds. If -connected to Redis >= 7.0.0 you can pass an optional 'mode' argument.</p></p> </div> + <p><p>Set a key to expire at an exact unix timestamp.</p></p> </div> <div class="col-md-2"></div> </div> <div class="row"> @@ -839,8 +837,7 @@ connected to Redis >= 7.0.0 you can pass an optional 'mode' argument.</p></p> <div class="col-md-8"> <a href="#method_getDBNum">getDBNum</a>() - <p class="no-description">No description</p> - </div> + <p><p>Get the database number PhpRedis thinks we're connected to.</p></p> </div> <div class="col-md-2"></div> </div> <div class="row"> @@ -3603,7 +3600,7 @@ was 0 and end was 2, Redis would only search the first two bits.</p></td> </div> <div class="method-item"> <h3 id="method_blPop"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L259">at line 259</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L255">at line 255</a></div> <code> Redis|array|null|false <strong>blPop</strong>(string|array $key_or_keys, string|float|int $timeout_or_key, mixed ...$extra_args) </code> @@ -3614,11 +3611,7 @@ was 0 and end was 2, Redis would only search the first two bits.</p></td> <div class="method-description"> <p><p>Pop an element off the beginning of a Redis list or lists, potentially blocking up to a specified -timeout. This method may be called in two distinct ways, of which examples are provided below.</p></p> <p><pre><code>// Variadic, with the final argument a timeout. -$redis->blPop('list1', 'list2', 'list3', 1.5); - -// Alternatively, you can send an array of keys -$relay->blPop(['list1', 'list2', 'list3'], 1.5);</code></pre></p> +timeout. This method may be called in two distinct ways, of which examples are provided below.</p></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -3668,13 +3661,22 @@ the command.</p></td> </table> + <h4>Examples</h4> + + <table class="table table-condensed"> + <tr> + <td><pre class="examples">$redis->blPop('list1', 'list2', 'list3', 1.5);<br /> +$relay->blPop(['list1', 'list2', 'list3'], 1.5);</pre></td> + </tr> + </table> + </div> </div> </div> <div class="method-item"> <h3 id="method_brPop"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L269">at line 269</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L265">at line 265</a></div> <code> Redis|array|null|false <strong>brPop</strong>(string|array $key_or_keys, string|float|int $timeout_or_key, mixed ...$extra_args) </code> @@ -3744,7 +3746,7 @@ Redis::blPop</a> </div> <div class="method-item"> <h3 id="method_brpoplpush"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L283">at line 283</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L279">at line 279</a></div> <code> Redis|string|false <strong>brpoplpush</strong>(string $src, string $dst, int|float $timeout) </code> @@ -3809,7 +3811,7 @@ to Redis >= 6.0.0 to send a floating point timeout.</p></td> </div> <div class="method-item"> <h3 id="method_bzPopMax"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L313">at line 313</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L305">at line 305</a></div> <code> Redis|array|false <strong>bzPopMax</strong>(string|array $key, string|int $timeout_or_key, mixed ...$extra_args) </code> @@ -3821,11 +3823,6 @@ to Redis >= 6.0.0 to send a floating point timeout.</p></td> <div class="method-description"> <p><p>POP the maximum scoring element off of one or more sorted sets, blocking up to a specified timeout if no elements are available.</p></p> <p><p>Following are examples of the two main ways to call this method.</p> -<pre><code>// Method 1 - Variadic, with the last argument being our timeout -$redis->bzPopMax('key1', 'key2', 'key3', 1.5); - -// Method 2 - A single array of keys, followed by the timeout -$redis->bzPopMax(['key1', 'key2', 'key3'], 1.5);</code></pre> <p><strong>NOTE</strong>: We reccomend calling this function with an array and a timeout as the other strategy may be deprecated in future versions of PhpRedis</p></p> </div> @@ -3877,13 +3874,22 @@ which needs to be a timeout.</p></td> </table> + <h4>Examples</h4> + + <table class="table table-condensed"> + <tr> + <td><pre class="examples">$redis->bzPopMax('key1', 'key2', 'key3', 1.5);<br /> +$redis->bzPopMax(['key1', 'key2', 'key3'], 1.5);</pre></td> + </tr> + </table> + </div> </div> </div> <div class="method-item"> <h3 id="method_bzPopMin"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L325">at line 325</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L317">at line 317</a></div> <code> Redis|array|false <strong>bzPopMin</strong>(string|array $key, string|int $timeout_or_key, mixed ...$extra_args) </code> @@ -3954,7 +3960,7 @@ Redis::bzPopMax</a> </div> <div class="method-item"> <h3 id="method_bzmpop"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L344">at line 344</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L336">at line 336</a></div> <code> Redis|array|null|false <strong>bzmpop</strong>(float $timeout, array $keys, string $from, int $count = 1) </code> @@ -4017,7 +4023,7 @@ instead return NULL when Redis doesn't pop any elements.</p></td> </div> <div class="method-item"> <h3 id="method_zmpop"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L358">at line 358</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L350">at line 350</a></div> <code> Redis|array|null|false <strong>zmpop</strong>(array $keys, string $from, int $count = 1) </code> @@ -4081,7 +4087,7 @@ pop the lowest or highest scoring elements.</p></td> </div> <div class="method-item"> <h3 id="method_blmpop"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L375">at line 375</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L367">at line 367</a></div> <code> Redis|array|null|false <strong>blmpop</strong>(float $timeout, array $keys, string $from, int $count = 1) </code> @@ -4152,7 +4158,7 @@ were empty.</p></td> </div> <div class="method-item"> <h3 id="method_lmpop"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L391">at line 391</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L383">at line 383</a></div> <code> Redis|array|null|false <strong>lmpop</strong>(array $keys, string $from, int $count = 1) </code> @@ -4217,7 +4223,7 @@ were empty.</p></td> </div> <div class="method-item"> <h3 id="method_clearLastError"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L410">at line 410</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L399">at line 399</a></div> <code> bool <strong>clearLastError</strong>() </code> @@ -4227,14 +4233,7 @@ were empty.</p></td> <div class="method-description"> - <p><p>Reset any last error on the connection to NULL</p></p> <p><pre><code>$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());</code></pre></p> + <p><p>Reset any last error on the connection to NULL</p></p> </div> <div class="tags"> @@ -4262,13 +4261,26 @@ Redis::getLastError</a> </table> + <h4>Examples</h4> + + <table class="table table-condensed"> + <tr> + <td><pre class="examples">$redis = new Redis(['host' => 'localhost']);<br /> +$redis->set('string', 'this_is_a_string');<br /> +$redis->smembers('string');<br /> +var_dump($redis->getLastError());<br /> +$redis->clearLastError();<br /> +var_dump($redis->getLastError());</pre></td> + </tr> + </table> + </div> </div> </div> <div class="method-item"> <h3 id="method_client"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L412">at line 412</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L401">at line 401</a></div> <code> mixed <strong>client</strong>(string $opt, mixed ...$args) </code> @@ -4316,7 +4328,7 @@ Redis::getLastError</a> </div> <div class="method-item"> <h3 id="method_close"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L414">at line 414</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L403">at line 403</a></div> <code> bool <strong>close</strong>() </code> @@ -4349,7 +4361,7 @@ Redis::getLastError</a> </div> <div class="method-item"> <h3 id="method_command"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L416">at line 416</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L405">at line 405</a></div> <code> mixed <strong>command</strong>(string $opt = null, string|array $arg) </code> @@ -4397,7 +4409,7 @@ Redis::getLastError</a> </div> <div class="method-item"> <h3 id="method_config"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L443">at line 443</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L424">at line 424</a></div> <code> mixed <strong>config</strong>(string $operation, array|string|null $key_or_settings = NULL, string|null $value = NULL) </code> @@ -4407,13 +4419,8 @@ Redis::getLastError</a> <div class="method-description"> - <p><p>Execute the Redis CONFIG command in a variety of ways. What the command does in particular depends -on the <code>$operation</code> qualifier.</p></p> <p><p>Operations that PhpRedis supports are: RESETSTAT, REWRITE, GET, and SET.</p> -<pre><code>$redis->config('GET', 'timeout'); -$redis->config('GET', ['timeout', 'databases']); - -$redis->config('SET', 'timeout', 30); -$redis->config('SET', ['timeout' => 30, 'loglevel' => 'warning']);</code></pre></p> + <p><p>Execute the Redis CONFIG command in a variety of ways.</p></p> <p><p>What the command does in particular depends on the <code>$operation</code> qualifier. +Operations that PhpRedis supports are: RESETSTAT, REWRITE, GET, and SET.</p></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -4422,23 +4429,17 @@ $redis->config('SET', ['timeout' => 30, 'loglevel' => 'warning']);</cod <tr> <td>string</td> <td>$operation</td> - <td><p>The CONFIG subcommand to execute -@param array|string|null $key_or_setting Can either be a setting string for the GET/SET operation or -an array of settings or settings and values. -Note: Redis 7.0.0 is required to send an array of settings. -@param string $value The setting value when the operation is SET.</p> -<p>@return mixed Can return various things depending on arguments sent.</p> -<p><a href="https://redis.io/commands/config">https://redis.io/commands/config</a></p></td> + <td><p>The CONFIG operation to execute (e.g. GET, SET, REWRITE).</p></td> </tr> <tr> <td>array|string|null</td> <td>$key_or_settings</td> - <td></td> + <td><p>One or more keys or values.</p></td> </tr> <tr> <td>string|null</td> <td>$value</td> - <td></td> + <td><p>The value if this is a <code>CONFIG SET</code> operation.</p></td> </tr> </table> @@ -4454,14 +4455,36 @@ Note: Redis 7.0.0 is required to send an array of settings. + <h4>See also</h4> + + <table class="table table-condensed"> + <tr> + <td> + <a href="https://redis.io/commands/config">https://redis.io/commands/config</a> + </td> + <td></td> + </tr> + </table> + + <h4>Examples</h4> + + <table class="table table-condensed"> + <tr> + <td><pre class="examples">$redis->config('GET', 'timeout');<br /> +$redis->config('GET', ['timeout', 'databases']);<br /> +$redis->config('SET', 'timeout', 30);<br /> +$redis->config('SET', ['timeout' => 30, 'loglevel' => 'warning']);</pre></td> + </tr> + </table> + </div> </div> </div> <div class="method-item"> <h3 id="method_connect"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L445">at line 445</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L426">at line 426</a></div> <code> bool <strong>connect</strong>(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array $context = null) </code> @@ -4534,7 +4557,7 @@ Note: Redis 7.0.0 is required to send an array of settings. </div> <div class="method-item"> <h3 id="method_copy"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L495">at line 495</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L462">at line 462</a></div> <code> Redis|bool <strong>copy</strong>(string $src, string $dst, array $options = null) </code> @@ -4544,44 +4567,7 @@ Note: Redis 7.0.0 is required to send an array of settings. <div class="method-description"> - <p><p>Make a copy of a key.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); - -$redis->pipeline() - ->select(1) - ->del('newkey') - ->select(0) - ->del('newkey') - ->mset(['source1' => 'value1', 'exists' => 'old_value']) - ->exec(); - -// Will succeed, as 'newkey' doesn't exist -var_dump($redis->copy('source1', 'newkey')); - -// Will succeed, because 'newkey' doesn't exist in DB 1 -var_dump($redis->copy('source1', 'newkey', ['db' => 1])); - -// Will fail, because 'exists' does exist -var_dump($redis->copy('source1', 'exists')); - -// Will succeed, because even though 'exists' is a key, we sent the REPLACE option. -var_dump($redis->copy('source1', 'exists', ['REPLACE' => true]));</code></pre> -<p><strong>Available Options</strong></p> -<table> -<thead> -<tr> -<th>OPTION</th> -<th>TYPE</th> -<th>DESCRIPTION</th> -</tr> -</thead> -<tbody> -<tr> -<td>OPT_MAX_RETRIES</td> -<td>int</td> -<td>foo</td> -</tr> -</tbody> -</table></p> + <p><p>Make a copy of a key.</p></p> <p><p>$redis = new Redis(['host' => 'localhost']);</p></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -4632,13 +4618,32 @@ var_dump($redis->copy('source1', 'exists', ['REPLACE' => true]));</code></ </table> + <h4>Examples</h4> + + <table class="table table-condensed"> + <tr> + <td><pre class="examples">$redis->pipeline()<br /> + ->select(1)<br /> + ->del('newkey')<br /> + ->select(0)<br /> + ->del('newkey')<br /> + ->mset(['source1' => 'value1', 'exists' => 'old_value'])<br /> + ->exec();<br /> +<br /> +var_dump($redis->copy('source1', 'newkey'));<br /> +var_dump($redis->copy('source1', 'newkey', ['db' => 1]));<br /> +var_dump($redis->copy('source1', 'exists'));<br /> +var_dump($redis->copy('source1', 'exists', ['REPLACE' => true]));</pre></td> + </tr> + </table> + </div> </div> </div> <div class="method-item"> <h3 id="method_dbSize"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L516">at line 516</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L479">at line 479</a></div> <code> Redis|int|false <strong>dbSize</strong>() </code> @@ -4648,15 +4653,7 @@ var_dump($redis->copy('source1', 'exists', ['REPLACE' => true]));</code></ <div class="method-description"> - <p><p>Return the number of keys in the currently selected Redis database.</p></p> <p><pre><code>$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());</code></pre></p> + <p><p>Return the number of keys in the currently selected Redis database.</p></p> </div> <div class="tags"> @@ -4683,13 +4680,26 @@ var_dump($redis->dbsize());</code></pre></p> </table> + <h4>Examples</h4> + + <table class="table table-condensed"> + <tr> + <td><pre class="examples">$redis = new Redis(['host' => 'localhost']);<br /> +$redis->flushdb();<br /> +$redis->set('foo', 'bar');<br /> +var_dump($redis->dbsize());<br /> +$redis->mset(['a' => 'a', 'b' => 'b', 'c' => 'c', 'd' => 'd']);<br /> +var_dump($redis->dbsize());</pre></td> + </tr> + </table> + </div> </div> </div> <div class="method-item"> <h3 id="method_debug"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L518">at line 518</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L481">at line 481</a></div> <code> Redis|string <strong>debug</strong>(string $key) </code> @@ -4732,7 +4742,7 @@ var_dump($redis->dbsize());</code></pre></p> </div> <div class="method-item"> <h3 id="method_decr"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L544">at line 544</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L507">at line 507</a></div> <code> Redis|int|false <strong>decr</strong>(string $key, int $by = 1) </code> @@ -4804,7 +4814,7 @@ PhpRedis will actually send the <code>DECRBY</code> command.</p></td> </div> <div class="method-item"> <h3 id="method_decrBy"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L570">at line 570</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L528">at line 528</a></div> <code> Redis|int|false <strong>decrBy</strong>(string $key, int $value) </code> @@ -4814,7 +4824,11 @@ PhpRedis will actually send the <code>DECRBY</code> command.</p></td> <div class="method-description"> - <p><p>Decrement a redis integer by a value</p></p> + <p><p>Decrement a redis integer by a value</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost'); + +$redis->set('counter', 3); +var_dump($redis->decrby('counter', 1)); +var_dump($redis->decrby('counter', 2));</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -4838,18 +4852,7 @@ PhpRedis will actually send the <code>DECRBY</code> command.</p></td> <table class="table table-condensed"> <tr> <td>Redis|int|false</td> - <td><p>The new value of the key or false on failure.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost'); - -$redis->set('counter', 3); -var_dump($redis->decrby('counter', 1)); -var_dump($redis->decrby('counter', 2)); - -// --- OUTPUT --- -// int(2) -// int(0) -?></code></pre></td> + <td><p>The new value of the key or false on failure.</p></td> </tr> </table> @@ -4873,7 +4876,7 @@ var_dump($redis->decrby('counter', 2)); </div> <div class="method-item"> <h3 id="method_del"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L602">at line 602</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L557">at line 557</a></div> <code> Redis|int|false <strong>del</strong>(array|string $key, string ...$other_keys) </code> @@ -4883,7 +4886,17 @@ var_dump($redis->decrby('counter', 2)); <div class="method-description"> - <p><p>Delete one or more keys from Redis.</p></p> + <p><p>Delete one or more keys from Redis.</p></p> <p><p>This method can be called in two distinct ways. The first is to pass a single array +of keys to delete, and the second is to pass N arguments, all names of keys. See +below for an example of both strategies.</p> +<pre><code>$redis = new Redis(['host' => 'localhost']); + +for ($i = 0; $i < 5; $i++) { + $redis->set("key:$i", "val:$i"); +} + +var_dump($redis->del('key:0', 'key:1')); +var_dump($redis->del(['key:2', 'key:3', 'key:4']));</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -4897,24 +4910,7 @@ var_dump($redis->decrby('counter', 2)); <tr> <td>string</td> <td>...$other_keys</td> - <td><p>One or more additional keys passed in a variadic fashion.</p> -<p>This method can be called in two distinct ways. The first is to pass a single array -of keys to delete, and the second is to pass N arguments, all names of keys. See -below for an example of both strategies.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -for ($i = 0; $i < 5; $i++) { - $redis->set("key:$i", "val:$i"); -} - -var_dump($redis->del('key:0', 'key:1')); -var_dump($redis->del(['key:2', 'key:3', 'key:4'])); - -// --- OUTPUT --- -// int(2) -// int(3) -?></code></pre></td> + <td><p>One or more additional keys passed in a variadic fashion.</p></td> </tr> </table> @@ -4924,7 +4920,7 @@ var_dump($redis->del(['key:2', 'key:3', 'key:4'])); <table class="table table-condensed"> <tr> <td>Redis|int|false</td> - <td></td> + <td><p>The number of keys that were deleted</p></td> </tr> </table> @@ -4948,7 +4944,7 @@ var_dump($redis->del(['key:2', 'key:3', 'key:4'])); </div> <div class="method-item"> <h3 id="method_delete"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L608">at line 608</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L563">at line 563</a></div> <code> Redis|int|false <strong>delete</strong>(array|string $key, string ...$other_keys) <small><span class="label label-danger">deprecated</span></small></code> @@ -5003,7 +4999,7 @@ var_dump($redis->del(['key:2', 'key:3', 'key:4'])); </div> <div class="method-item"> <h3 id="method_discard"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L633">at line 633</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L586">at line 586</a></div> <code> Redis|bool <strong>discard</strong>() </code> @@ -5013,18 +5009,7 @@ var_dump($redis->del(['key:2', 'key:3', 'key:4'])); <div class="method-description"> - <p><p>Discard a transaction currently in progress.</p></p> - </div> - <div class="tags"> - - <h4>Return Value</h4> - - <table class="table table-condensed"> - <tr> - <td>Redis|bool</td> - <td><p>True if we could discard the transaction.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); + <p><p>Discard a transaction currently in progress.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); $redis->multi()->set('foo', 'bar')->get('foo'); @@ -5035,9 +5020,16 @@ $redis->getMode(); $redis->discard(); // Redis::ATOMIC -$redis->getMode(); +$redis->getMode();</code></pre></p> + </div> + <div class="tags"> + + <h4>Return Value</h4> -?></code></pre></td> + <table class="table table-condensed"> + <tr> + <td>Redis|bool</td> + <td><p>True if we could discard the transaction.</p></td> </tr> </table> @@ -5050,7 +5042,7 @@ $redis->getMode(); </div> <div class="method-item"> <h3 id="method_dump"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L669">at line 669</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L614">at line 614</a></div> <code> Redis|string <strong>dump</strong>(string $key) </code> @@ -5060,7 +5052,19 @@ $redis->getMode(); <div class="method-description"> - <p><p>Dump Redis' internal binary representation of a key.</p></p> + <p><p>Dump Redis' internal binary representation of a key.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('zset'); + +$redis->zadd('zset', 0, 'zero', 1, 'one', 2, 'two'); + +// Retrieve the binary representation of the zset +$binary = $redis->dump('zset'); + +// Retore it to a different name +$redis->restore('new-zset', 0, $binary); + +$redis->zRange('new-zset', 0, -1, true);</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -5079,28 +5083,7 @@ $redis->getMode(); <table class="table table-condensed"> <tr> <td>Redis|string</td> - <td><p>A binary string representing the key's value.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->del('zset'); - -$redis->zadd('zset', 0, 'zero', 1, 'one', 2, 'two'); - -// Retrieve the binary representation of the zset -$binary = $redis->dump('zset'); - -// Retore it to a different name -$redis->restore('new-zset', 0, $binary); - -// Array -// ( -// [zero] => 0 -// [one] => 1 -// [two] => 2 -// ) -$redis->zRange('new-zset', 0, -1, true); -?></code></pre></td> + <td><p>A binary string representing the key's value.</p></td> </tr> </table> @@ -5124,7 +5107,7 @@ $redis->zRange('new-zset', 0, -1, true); </div> <div class="method-item"> <h3 id="method_echo"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L692">at line 692</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L631">at line 631</a></div> <code> Redis|string|false <strong>echo</strong>(string $str) </code> @@ -5134,7 +5117,9 @@ $redis->zRange('new-zset', 0, -1, true); <div class="method-description"> - <p><p>Have Redis repeat back an arbitrary string to the client.</p></p> + <p><p>Have Redis repeat back an arbitrary string to the client.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +var_dump($redis->echo('Hello, World'));</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -5153,16 +5138,7 @@ $redis->zRange('new-zset', 0, -1, true); <table class="table table-condensed"> <tr> <td>Redis|string|false</td> - <td><p>The string sent to Redis or false on failure.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -var_dump($redis->echo('Hello, World')); - -// --- OUTPUT --- -// string(12) "Hello, World" - -?></code></pre></td> + <td><p>The string sent to Redis or false on failure.</p></td> </tr> </table> @@ -5186,7 +5162,7 @@ var_dump($redis->echo('Hello, World')); </div> <div class="method-item"> <h3 id="method_eval"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L708">at line 708</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L647">at line 647</a></div> <code> mixed <strong>eval</strong>(string $script, array $args = [], int $num_keys = 0) </code> @@ -5252,7 +5228,7 @@ strings, arrays, nested arrays, etc.</p></td> </div> <div class="method-item"> <h3 id="method_eval_ro"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L716">at line 716</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L655">at line 655</a></div> <code> mixed <strong>eval_ro</strong>(string $script_sha, array $args = [], int $num_keys = 0) </code> @@ -5317,7 +5293,7 @@ Redis::eval</a> </div> <div class="method-item"> <h3 id="method_evalsha"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L732">at line 732</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L674">at line 674</a></div> <code> mixed <strong>evalsha</strong>(string $sha1, array $args = [], int $num_keys = 0) </code> @@ -5357,7 +5333,7 @@ the SHA1 hash of the script.</p></p> <table class="table table-condensed"> <tr> <td>mixed</td> - <td></td> + <td><p>Returns whatever the specific script does.</p></td> </tr> </table> @@ -5388,7 +5364,7 @@ Redis::eval</a> </div> <div class="method-item"> <h3 id="method_evalsha_ro"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L740">at line 740</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L682">at line 682</a></div> <code> mixed <strong>evalsha_ro</strong>(string $sha1, array $args = [], int $num_keys = 0) </code> @@ -5453,7 +5429,7 @@ Redis::evalsha</a> </div> <div class="method-item"> <h3 id="method_exec"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L778">at line 778</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L708">at line 708</a></div> <code> Redis|array|false <strong>exec</strong>() </code> @@ -5463,17 +5439,7 @@ Redis::evalsha</a> <div class="method-description"> - <p><p>Execute either a MULTI or PIPELINE block and return the array of replies.</p></p> - </div> - <div class="tags"> - - <h4>Return Value</h4> - - <table class="table table-condensed"> - <tr> - <td>Redis|array|false</td> - <td><p>The array of pipeline'd or multi replies or false on failure.</p> -<pre><code>$redis = new Redis(['host' => 'localhost']); + <p><p>Execute either a MULTI or PIPELINE block and return the array of replies.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); $res = $redis->multi() ->set('foo', 'bar') @@ -5482,20 +5448,16 @@ $res = $redis->multi() ->rpush('list', 'one', 'two', 'three') ->exec(); -var_dump($res); +var_dump($res);</code></pre></p> + </div> + <div class="tags"> + + <h4>Return Value</h4> -// --- OUTPUT --- -// array(4) { -// [0]=> -// bool(true) // set('foo', 'bar') -// [1]=> -// string(3) "bar" // get('foo') -// [2]=> -// int(1) // del('list') -// [3]=> -// int(3) // rpush('list', 'one', 'two', 'three') -// } -?></code></pre></td> + <table class="table table-condensed"> + <tr> + <td>Redis|array|false</td> + <td><p>The array of pipeline'd or multi replies or false on failure.</p></td> </tr> </table> @@ -5539,7 +5501,7 @@ Redis::multi</a> </div> <div class="method-item"> <h3 id="method_exists"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L811">at line 811</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L739">at line 739</a></div> <code> Redis|int|bool <strong>exists</strong>(mixed $key, mixed ...$other_keys) </code> @@ -5549,7 +5511,21 @@ Redis::multi</a> <div class="method-description"> - <p><p>Test if one or more keys exist.</p></p> + <p><p>Test if one or more keys exist.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->multi() + ->mset(['k1' => 'v1', 'k2' => 'v2', 'k3' => 'v3', 'k4' => 'v4']) + ->exec(); + +// Using a single array of keys +var_dump($redis->exists(['k1', 'k2', 'k3'])); + +// Calling via variadic arguments +var_dump($redis->exists('k4', 'k5', 'notakey')); + +// --- OUTPUT --- +// int(3) +// int(1)</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -5574,24 +5550,7 @@ additional keys to test.</p></td> <table class="table table-condensed"> <tr> <td>Redis|int|bool</td> - <td><p>The number of keys that do exist and false on failure</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->multi() - ->mset(['k1' => 'v1', 'k2' => 'v2', 'k3' => 'v3', 'k4' => 'v4']) - ->exec(); - -// Using a single array of keys -var_dump($redis->exists(['k1', 'k2', 'k3'])); - -// Calling via variadic arguments -var_dump($redis->exists('k4', 'k5', 'notakey')); - -// --- OUTPUT --- -// int(3) -// int(1) -?></code></pre></td> + <td><p>The number of keys that do exist and false on failure</p></td> </tr> </table> @@ -5615,7 +5574,7 @@ var_dump($redis->exists('k4', 'k5', 'notakey')); </div> <div class="method-item"> <h3 id="method_expire"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L828">at line 828</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L760">at line 760</a></div> <code> Redis|bool <strong>expire</strong>(string $key, int $timeout, string|null $mode = NULL) </code> @@ -5647,11 +5606,11 @@ modifies how the command will execute.</p></p> <td>string|null</td> <td>$mode</td> <td><p>A two character modifier that changes how the -command works. -NX - Set expiry only if key has no expiry +command works.</p> +<pre><code>NX - Set expiry only if key has no expiry XX - Set expiry only if key has an expiry LT - Set expiry only when new expiry is < current expiry -GT - Set expiry only when new expiry is > current expiry</p></td> +GT - Set expiry only when new expiry is > current expiry</code></pre></td> </tr> </table> @@ -5661,7 +5620,7 @@ GT - Set expiry only when new expiry is > current expiry</p></td> <table class="table table-condensed"> <tr> <td>Redis|bool</td> - <td></td> + <td><p>True if an expiration was set and false otherwise.</p></td> </tr> </table> @@ -5685,7 +5644,7 @@ GT - Set expiry only when new expiry is > current expiry</p></td> </div> <div class="method-item"> <h3 id="method_expireAt"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L840">at line 840</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L786">at line 786</a></div> <code> Redis|bool <strong>expireAt</strong>(string $key, int $timestamp, string|null $mode = NULL) </code> @@ -5695,8 +5654,7 @@ GT - Set expiry only when new expiry is > current expiry</p></td> <div class="method-description"> - <p><p>Set a key's expiration to a specific Unix timestamp in seconds. If -connected to Redis >= 7.0.0 you can pass an optional 'mode' argument.</p></p> + <p><p>Set a key to expire at an exact unix timestamp.</p></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -5705,17 +5663,17 @@ connected to Redis >= 7.0.0 you can pass an optional 'mode' argument.</p></p> <tr> <td>string</td> <td>$key</td> - <td></td> + <td><p>The key to set an expiration on.</p></td> </tr> <tr> <td>int</td> <td>$timestamp</td> - <td></td> + <td><p>The unix timestamp to expire at.</p></td> </tr> <tr> <td>string|null</td> <td>$mode</td> - <td></td> + <td><p>An option 'mode' that modifies how the command acts (see <a href="Redis.html#method_expire">Redis::expire</a>).</p></td> </tr> </table> @@ -5725,7 +5683,7 @@ connected to Redis >= 7.0.0 you can pass an optional 'mode' argument.</p></p> <table class="table table-condensed"> <tr> <td>Redis|bool</td> - <td></td> + <td><p>True if an expiration was set, false if not.</p></td> </tr> </table> @@ -5736,14 +5694,22 @@ connected to Redis >= 7.0.0 you can pass an optional 'mode' argument.</p></p> <table class="table table-condensed"> <tr> <td> + <a href="https://redis.io/commands/expireat">https://redis.io/commands/expireat</a> + </td> + <td></td> + </tr> + <tr> + <td> + <a href="https://redis.io/commands/expire">https://redis.io/commands/expire</a> + </td> + <td></td> + </tr> + <tr> + <td> <a href="Redis.html#method_expire"> Redis::expire</a> </td> - <td>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 - command works.</td> + <td></td> </tr> </table> @@ -5754,7 +5720,7 @@ Redis::expire</a> </div> <div class="method-item"> <h3 id="method_failover"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L842">at line 842</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L788">at line 788</a></div> <code> Redis|bool <strong>failover</strong>(array|null $to = null, bool $abort = false, int $timeout = 0) </code> @@ -5807,7 +5773,7 @@ Redis::expire</a> </div> <div class="method-item"> <h3 id="method_expiretime"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L871">at line 871</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L812">at line 812</a></div> <code> Redis|int|false <strong>expiretime</strong>(string $key) </code> @@ -5817,7 +5783,14 @@ Redis::expire</a> <div class="method-description"> - <p><p>Get the expiration of a given key as a unix timestamp</p></p> + <p><p>Get the expiration of a given key as a unix timestamp</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->set('expiry-key', 'this will last a very long time'); + +// Expire this key at 2222/02/22 02:22:22 GMT +$redis->expireAt('expiry-key', 7955144542); + +var_dump($redis->expiretime('expiry-key'));</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -5837,21 +5810,7 @@ Redis::expire</a> <tr> <td>Redis|int|false</td> <td><p>The timestamp when the key expires, or -1 if the key has no expiry -and -2 if the key doesn't exist.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->set('expiry-key', 'this will last a very long time'); - -// Expire this key at 2222/02/22 02:22:22 GMT -$redis->expireAt('expiry-key', 7955144542); - -var_dump($redis->expiretime('expiry-key')); - -// --- OUTPUT --- -// int(7955144542) - -?>php</code></pre></td> +and -2 if the key doesn't exist.</p></td> </tr> </table> @@ -5875,7 +5834,7 @@ var_dump($redis->expiretime('expiry-key')); </div> <div class="method-item"> <h3 id="method_pexpiretime"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L884">at line 884</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L825">at line 825</a></div> <code> Redis|int|false <strong>pexpiretime</strong>(string $key) </code> @@ -5936,7 +5895,7 @@ Redis::expiretime</a> </div> <div class="method-item"> <h3 id="method_flushAll"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L896">at line 896</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L835">at line 835</a></div> <code> Redis|bool <strong>flushAll</strong>(bool|null $sync = null) </code> @@ -5955,11 +5914,7 @@ Redis::expiretime</a> <tr> <td>bool|null</td> <td>$sync</td> - <td><p>Whether to perform the task in a blocking or non-blocking way. -when TRUE, PhpRedis will execute <code>FLUSHALL SYNC</code>, and when FALSE we -will execute <code>FLUSHALL ASYNC</code>. If the argument is omitted, we -simply execute <code>FLUSHALL</code> and whether it is SYNC or ASYNC depends -on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> + <td><p>Whether to perform the task in a blocking or non-blocking way.</p></td> </tr> </table> @@ -5975,6 +5930,17 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> + <h4>See also</h4> + + <table class="table table-condensed"> + <tr> + <td> + <a href="https://redis.io/commands/flushall">https://redis.io/commands/flushall</a> + </td> + <td></td> + </tr> + </table> + </div> </div> @@ -5982,7 +5948,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_flushDB"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L908">at line 908</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L845">at line 845</a></div> <code> Redis|bool <strong>flushDB</strong>(bool|null $sync = null) </code> @@ -6001,11 +5967,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> <tr> <td>bool|null</td> <td>$sync</td> - <td><p>Whether to perform the task in a blocking or non-blocking way. -when TRUE, PhpRedis will execute <code>FLUSHDB SYNC</code>, and when FALSE we -will execute <code>FLUSHDB ASYNC</code>. If the argument is omitted, we -simply execute <code>FLUSHDB</code> and whether it is SYNC or ASYNC depends -on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> + <td><p>Whether to perform the task in a blocking or non-blocking way.</p></td> </tr> </table> @@ -6021,6 +5983,17 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> + <h4>See also</h4> + + <table class="table table-condensed"> + <tr> + <td> + <a href="https://redis.io/commands/flush">https://redis.io/commands/flush</a> + </td> + <td></td> + </tr> + </table> + </div> </div> @@ -6028,7 +6001,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_geoadd"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L910">at line 910</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L847">at line 847</a></div> <code> Redis|int|false <strong>geoadd</strong>(string $key, float $lng, float $lat, string $member, mixed ...$other_triples_and_options) </code> @@ -6091,7 +6064,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_geodist"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L912">at line 912</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L849">at line 849</a></div> <code> Redis|float|false <strong>geodist</strong>(string $key, string $src, string $dst, string|null $unit = null) </code> @@ -6149,7 +6122,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_geohash"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L914">at line 914</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L851">at line 851</a></div> <code> Redis|array|false <strong>geohash</strong>(string $key, string $member, string ...$other_members) </code> @@ -6202,7 +6175,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_geopos"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L916">at line 916</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L853">at line 853</a></div> <code> Redis|array|false <strong>geopos</strong>(string $key, string $member, string ...$other_members) </code> @@ -6255,7 +6228,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_georadius"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L918">at line 918</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L855">at line 855</a></div> <code> mixed <strong>georadius</strong>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = []) </code> @@ -6323,7 +6296,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_georadius_ro"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L920">at line 920</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L857">at line 857</a></div> <code> mixed <strong>georadius_ro</strong>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = []) </code> @@ -6391,7 +6364,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_georadiusbymember"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L922">at line 922</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L859">at line 859</a></div> <code> mixed <strong>georadiusbymember</strong>(string $key, string $member, float $radius, string $unit, array $options = []) </code> @@ -6454,7 +6427,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_georadiusbymember_ro"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L924">at line 924</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L861">at line 861</a></div> <code> mixed <strong>georadiusbymember_ro</strong>(string $key, string $member, float $radius, string $unit, array $options = []) </code> @@ -6517,7 +6490,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_geosearch"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L926">at line 926</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L863">at line 863</a></div> <code> array <strong>geosearch</strong>(string $key, array|string $position, array|int|float $shape, string $unit, array $options = []) </code> @@ -6580,7 +6553,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_geosearchstore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L928">at line 928</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L865">at line 865</a></div> <code> Redis|array|int|false <strong>geosearchstore</strong>(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = []) </code> @@ -6648,7 +6621,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_get"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L930">at line 930</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L867">at line 867</a></div> <code> mixed <strong>get</strong>(string $key) </code> @@ -6691,7 +6664,7 @@ on Redis' <code>lazyfree-lazy-user-flush</code> config setting.</p></td> </div> <div class="method-item"> <h3 id="method_getAuth"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L939">at line 939</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L876">at line 876</a></div> <code> mixed <strong>getAuth</strong>() </code> @@ -6735,7 +6708,7 @@ Redis::auth</a> </div> <div class="method-item"> <h3 id="method_getBit"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L941">at line 941</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L878">at line 878</a></div> <code> Redis|int|false <strong>getBit</strong>(string $key, int $idx) </code> @@ -6783,7 +6756,7 @@ Redis::auth</a> </div> <div class="method-item"> <h3 id="method_getEx"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L943">at line 943</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L880">at line 880</a></div> <code> Redis|string|bool <strong>getEx</strong>(string $key, array $options = []) </code> @@ -6831,7 +6804,7 @@ Redis::auth</a> </div> <div class="method-item"> <h3 id="method_getDBNum"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L945">at line 945</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L892">at line 892</a></div> <code> int <strong>getDBNum</strong>() </code> @@ -6841,8 +6814,7 @@ Redis::auth</a> <div class="method-description"> - <p class="no-description">No description</p> - + <p><p>Get the database number PhpRedis thinks we're connected to.</p></p> <p><p>This value is updated internally in PhpRedis each time <a href="Redis.html#method_select">Redis::select</a> is called.</p></p> </div> <div class="tags"> @@ -6851,12 +6823,30 @@ Redis::auth</a> <table class="table table-condensed"> <tr> <td>int</td> - <td></td> + <td><p>database we're connected to.</p></td> </tr> </table> + <h4>See also</h4> + + <table class="table table-condensed"> + <tr> + <td> + <a href="Redis.html#method_select"> +Redis::select</a> + </td> + <td></td> + </tr> + <tr> + <td> + <a href="https://redis.io/commands/select">https://redis.io/commands/select</a> + </td> + <td></td> + </tr> + </table> + </div> </div> @@ -6864,7 +6854,7 @@ Redis::auth</a> </div> <div class="method-item"> <h3 id="method_getDel"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L947">at line 947</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L894">at line 894</a></div> <code> Redis|string|bool <strong>getDel</strong>(string $key) </code> @@ -6907,7 +6897,7 @@ Redis::auth</a> </div> <div class="method-item"> <h3 id="method_getHost"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L954">at line 954</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L901">at line 901</a></div> <code> string <strong>getHost</strong>() </code> @@ -6939,7 +6929,7 @@ Redis::auth</a> </div> <div class="method-item"> <h3 id="method_getLastError"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L961">at line 961</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L908">at line 908</a></div> <code> string|null <strong>getLastError</strong>() </code> @@ -6971,7 +6961,7 @@ Redis::auth</a> </div> <div class="method-item"> <h3 id="method_getMode"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L969">at line 969</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L916">at line 916</a></div> <code> int <strong>getMode</strong>() </code> @@ -7003,7 +6993,7 @@ Redis::auth</a> </div> <div class="method-item"> <h3 id="method_getOption"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L978">at line 978</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L925">at line 925</a></div> <code> mixed <strong>getOption</strong>(int $option) </code> @@ -7057,7 +7047,7 @@ Redis::setOption</a> </div> <div class="method-item"> <h3 id="method_getPersistentID"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L985">at line 985</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L932">at line 932</a></div> <code> string|null <strong>getPersistentID</strong>() </code> @@ -7089,7 +7079,7 @@ Redis::setOption</a> </div> <div class="method-item"> <h3 id="method_getPort"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L992">at line 992</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L939">at line 939</a></div> <code> int <strong>getPort</strong>() </code> @@ -7121,7 +7111,7 @@ Redis::setOption</a> </div> <div class="method-item"> <h3 id="method_getRange"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1017">at line 1017</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L965">at line 965</a></div> <code> Redis|string|false <strong>getRange</strong>(string $key, int $start, int $end) </code> @@ -7131,7 +7121,16 @@ Redis::setOption</a> <div class="method-description"> - <p><p>Retrieve a substring of a string by index.</p></p> + <p><p>Retrieve a substring of a string by index.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$word = 'Supercalifragilisticexpialidocious'; +$redis->set('silly-word', $word); + +// string "super" +var_dump($redis->getRange('silly-word', 0, 4)); + +// string(7) "docious" +var_dump($redis->getRange('silly-word', -7, -1));</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -7160,25 +7159,23 @@ Redis::setOption</a> <table class="table table-condensed"> <tr> <td>Redis|string|false</td> - <td><p>The substring or false on failure.</p> -<pre><code> -<?php -$redis = new Redis(['host' => 'localhost']); - -$word = 'Supercalifragilisticexpialidocious'; -$redis->set('silly-word', $word); - -// string "super" -var_dump($redis->getRange('silly-word', 0, 4)); - -// string(7) "docious" -var_dump($redis->getRange('silly-word', -7, -1)); -?></code></pre></td> + <td><p>The substring or false on failure.</p></td> </tr> </table> + <h4>See also</h4> + + <table class="table table-condensed"> + <tr> + <td> + <a href="https://redis.io/commands/getrange">https://redis.io/commands/getrange</a> + </td> + <td></td> + </tr> + </table> + </div> </div> @@ -7186,7 +7183,7 @@ var_dump($redis->getRange('silly-word', -7, -1)); </div> <div class="method-item"> <h3 id="method_lcs"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1057">at line 1057</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1003">at line 1003</a></div> <code> Redis|string|array|int|false <strong>lcs</strong>(string $key1, string $key2, array|null $options = NULL) </code> @@ -7196,7 +7193,13 @@ var_dump($redis->getRange('silly-word', -7, -1)); <div class="method-description"> - <p><p>Get the longest common subsequence between two string keys.</p></p> + <p><p>Get the longest common subsequence between two string keys.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->set('seq1', 'gtaggcccgcacggtctttaatgtatccctgtttaccatgccatacctgagcgcatacgc'); +$redis->set('seq2', 'aactcggcgcgagtaccaggccaaggtcgttccagagcaaagactcgtgccccgctgagc'); + +// string(37) "acccgcacggcaagtcgttccagcaactggcgctagc" +var_dump($redis->lcs('seq1', 'seq2'));</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -7236,24 +7239,23 @@ var_dump($redis->getRange('silly-word', -7, -1)); <table class="table table-condensed"> <tr> <td>Redis|string|array|int|false</td> - <td><p>Various reply types depending on options.</p> -<pre><code> -<?php -<?php - -$redis = new Redis(['host' => 'localhost']); - -$redis->set('seq1', 'gtaggcccgcacggtctttaatgtatccctgtttaccatgccatacctgagcgcatacgc'); -$redis->set('seq2', 'aactcggcgcgagtaccaggccaaggtcgttccagagcaaagactcgtgccccgctgagc'); - -// string(37) "acccgcacggcaagtcgttccagcaactggcgctagc" -var_dump($redis->lcs('seq1', 'seq2')); -?></code></pre></td> + <td><p>Various reply types depending on options.</p></td> </tr> </table> + <h4>See also</h4> + + <table class="table table-condensed"> + <tr> + <td> + <a href="https://redis.io/commands/lcs">https://redis.io/commands/lcs</a> + </td> + <td></td> + </tr> + </table> + </div> </div> @@ -7261,7 +7263,7 @@ var_dump($redis->lcs('seq1', 'seq2')); </div> <div class="method-item"> <h3 id="method_getReadTimeout"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1064">at line 1064</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1010">at line 1010</a></div> <code> float <strong>getReadTimeout</strong>() </code> @@ -7293,7 +7295,7 @@ var_dump($redis->lcs('seq1', 'seq2')); </div> <div class="method-item"> <h3 id="method_getset"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1088">at line 1088</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1034">at line 1034</a></div> <code> Redis|string|false <strong>getset</strong>(string $key, mixed $value) </code> @@ -7303,7 +7305,15 @@ var_dump($redis->lcs('seq1', 'seq2')); <div class="method-description"> - <p><p>Sets a key and returns any previously set value, if the key already existed.</p></p> + <p><p>Sets a key and returns any previously set value, if the key already existed.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('captain'); + +// bool(false) +var_dump($redis->getset('captain', 'Pike')); + +// string(4) "Pike" +var_dump($redis->getset('captain', 'Kirk'));</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -7327,23 +7337,23 @@ var_dump($redis->lcs('seq1', 'seq2')); <table class="table table-condensed"> <tr> <td>Redis|string|false</td> - <td><p>The old value of the key or false if it didn't exist.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->del('captain'); - -// bool(false) -var_dump($redis->getset('captain', 'Pike')); - -// string(4) "Pike" -var_dump($redis->getset('captain', 'Kirk')); -?></code></pre></td> + <td><p>The old value of the key or false if it didn't exist.</p></td> </tr> </table> + <h4>See also</h4> + + <table class="table table-condensed"> + <tr> + <td> + <a href="https://redis.io/commands/getset">https://redis.io/commands/getset</a> + </td> + <td></td> + </tr> + </table> + </div> </div> @@ -7351,7 +7361,7 @@ var_dump($redis->getset('captain', 'Kirk')); </div> <div class="method-item"> <h3 id="method_getTimeout"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1095">at line 1095</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1041">at line 1041</a></div> <code> float|false <strong>getTimeout</strong>() </code> @@ -7383,7 +7393,7 @@ var_dump($redis->getset('captain', 'Kirk')); </div> <div class="method-item"> <h3 id="method_getTransferredBytes"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1097">at line 1097</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1043">at line 1043</a></div> <code> int|false <strong>getTransferredBytes</strong>() </code> @@ -7416,7 +7426,7 @@ var_dump($redis->getset('captain', 'Kirk')); </div> <div class="method-item"> <h3 id="method_hDel"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1123">at line 1123</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1067">at line 1067</a></div> <code> Redis|int|false <strong>hDel</strong>(string $key, string $field, string ...$other_fields) </code> @@ -7426,7 +7436,14 @@ var_dump($redis->getset('captain', 'Kirk')); <div class="method-description"> - <p><p>Remove one or more fields from a hash.</p></p> + <p><p>Remove one or more fields from a hash.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('people'); + +$redis->hmset('comms', ['Alice' => 'ecc', 'Bob' => 'rsa', 'Mallory' => 'haxx00r']); + +// int(1) +$redis->hDel('comms', 'Mallory', 'Archibald');</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -7455,17 +7472,7 @@ var_dump($redis->getset('captain', 'Kirk')); <table class="table table-condensed"> <tr> <td>Redis|int|false</td> - <td><p>The number of fields actually removed.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->del('people'); - -$redis->hmset('comms', ['Alice' => 'ecc', 'Bob' => 'rsa', 'Mallory' => 'haxx00r']); - -// int(1) -$redis->hDel('comms', 'Mallory', 'Archibald'); -?></code></pre></td> + <td><p>The number of fields actually removed.</p></td> </tr> </table> @@ -7489,7 +7496,7 @@ $redis->hDel('comms', 'Mallory', 'Archibald'); </div> <div class="method-item"> <h3 id="method_hExists"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1151">at line 1151</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1091">at line 1091</a></div> <code> Redis|bool <strong>hExists</strong>(string $key, string $field) </code> @@ -7499,7 +7506,14 @@ $redis->hDel('comms', 'Mallory', 'Archibald'); <div class="method-description"> - <p><p>Checks whether a field exists in a hash.</p></p> + <p><p>Checks whether a field exists in a hash.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('captains'); + +$redis->hmset('captains', ['Kirk' => 'Enterprise', 'Picard' => 'Enterprise-D', 'Sisko' => 'Defiant']); + +$redis->hExists('captains', 'Pike'); +$redis->hExists('captains', 'Picard');</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -7523,20 +7537,7 @@ $redis->hDel('comms', 'Mallory', 'Archibald'); <table class="table table-condensed"> <tr> <td>Redis|bool</td> - <td><p>True if it exists, false if not.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->del('captains'); - -$redis->hmset('captains', ['Kirk' => 'Enterprise', 'Picard' => 'Enterprise-D', 'Sisko' => 'Defiant']); - -bool(false) -$redis->hExists('captains', 'Pike'); - -bool(true) -$redis->hExists('captains', 'Picard'); -?></code></pre></td> + <td><p>True if it exists, false if not.</p></td> </tr> </table> @@ -7560,7 +7561,7 @@ $redis->hExists('captains', 'Picard'); </div> <div class="method-item"> <h3 id="method_hGet"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1153">at line 1153</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1093">at line 1093</a></div> <code> mixed <strong>hGet</strong>(string $key, string $member) </code> @@ -7608,7 +7609,7 @@ $redis->hExists('captains', 'Picard'); </div> <div class="method-item"> <h3 id="method_hGetAll"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1184">at line 1184</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1122">at line 1122</a></div> <code> Redis|array|false <strong>hGetAll</strong>(string $key) </code> @@ -7618,7 +7619,21 @@ $redis->hExists('captains', 'Picard'); <div class="method-description"> - <p><p>Read every field and value from a hash.</p></p> + <p><p>Read every field and value from a hash.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('comms'); + +$redis->hmset('comms', ['Alice' => 'ecc', 'Bob' => 'rsa', 'Mallory' => 'haxx00r']); + +// array(3) { +// ["Alice"]=> +// string(3) "ecc" +// ["Bob"]=> +// string(3) "rsa" +// ["Mallory"]=> +// string(7) "haxx00r" +// } +$redis->hGetAll('comms');</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -7637,24 +7652,7 @@ $redis->hExists('captains', 'Picard'); <table class="table table-condensed"> <tr> <td>Redis|array|false</td> - <td><p>All fields and values or false if the key didn't exist.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->del('comms'); - -$redis->hmset('comms', ['Alice' => 'ecc', 'Bob' => 'rsa', 'Mallory' => 'haxx00r']); - -// array(3) { -// ["Alice"]=> -// string(3) "ecc" -// ["Bob"]=> -// string(3) "rsa" -// ["Mallory"]=> -// string(7) "haxx00r" -// } -$redis->hGetAll('comms'); -?></code></pre></td> + <td><p>All fields and values or false if the key didn't exist.</p></td> </tr> </table> @@ -7678,7 +7676,7 @@ $redis->hGetAll('comms'); </div> <div class="method-item"> <h3 id="method_hIncrBy"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1214">at line 1214</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1150">at line 1150</a></div> <code> Redis|int|false <strong>hIncrBy</strong>(string $key, string $field, int $value) </code> @@ -7688,7 +7686,17 @@ $redis->hGetAll('comms'); <div class="method-description"> - <p><p>Increment a hash field's value by an integer</p></p> + <p><p>Increment a hash field's value by an integer</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('player'); + +$redis->hmset('player', ['name' => 'Bob', 'level' => 1]); + +// int(2) +$redis->hIncrBy('player', 'level', 1); + +// int(5) +$redis->hIncrBy('player', 'level', 3);</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -7717,20 +7725,7 @@ $redis->hGetAll('comms'); <table class="table table-condensed"> <tr> <td>Redis|int|false</td> - <td><p>The new value of the field.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->del('player'); - -$redis->hmset('player', ['name' => 'Bob', 'level' => 1]); - -// int(2) -$redis->hIncrBy('player', 'level', 1); - -// int(5) -$redis->hIncrBy('player', 'level', 3); -?></code></pre></td> + <td><p>The new value of the field.</p></td> </tr> </table> @@ -7754,7 +7749,7 @@ $redis->hIncrBy('player', 'level', 3); </div> <div class="method-item"> <h3 id="method_hIncrByFloat"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1239">at line 1239</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1175">at line 1175</a></div> <code> Redis|float|false <strong>hIncrByFloat</strong>(string $key, string $field, float $value) </code> @@ -7764,7 +7759,15 @@ $redis->hIncrBy('player', 'level', 3); <div class="method-description"> - <p><p>Increment a hash field by a floating point value</p></p> + <p><p>Increment a hash field by a floating point value</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('trig-numbers') + +// float(3.1415926) +$pi = $redis->hIncrByFloat('trig-numbers', 'pi', 3.1415926); + +// float(6.2831852) +$redis->hIncrByFloat('trig-numbers', 'tau', 2 * $pi);</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -7793,17 +7796,7 @@ $redis->hIncrBy('player', 'level', 3); <table class="table table-condensed"> <tr> <td>Redis|float|false</td> - <td><p>The field value after incremented.</p> -<pre><code>$redis = new Redis(['host' => 'localhost']); - -$redis->del('trig-numbers') - -// float(3.1415926) -$pi = $redis->hIncrByFloat('trig-numbers', 'pi', 3.1415926); - -// float(6.2831852) -$redis->hIncrByFloat('trig-numbers', 'tau', 2 * $pi); -?></code></pre></td> + <td><p>The field value after incremented.</p></td> </tr> </table> @@ -7827,7 +7820,7 @@ $redis->hIncrByFloat('trig-numbers', 'tau', 2 * $pi); </div> <div class="method-item"> <h3 id="method_hKeys"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1270">at line 1270</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1204">at line 1204</a></div> <code> Redis|array|false <strong>hKeys</strong>(string $key) </code> @@ -7837,7 +7830,21 @@ $redis->hIncrByFloat('trig-numbers', 'tau', 2 * $pi); <div class="method-description"> - <p><p>Retrieve all of the fields of a hash.</p></p> + <p><p>Retrieve all of the fields of a hash.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('ships'); + +$redis->hmset('ships', ['Enterprise' => 'NCC-1701D', 'Defiant' => 'NX-74205', 'Voyager' => 'NCC-74656']); + +// array(3) { +// [0]=> +// string(10) "Enterprise" +// [1]=> +// string(7) "Defiant" +// [2]=> +// string(7) "Voyager" +// } +$redis->hKeys('ships');</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -7856,24 +7863,7 @@ $redis->hIncrByFloat('trig-numbers', 'tau', 2 * $pi); <table class="table table-condensed"> <tr> <td>Redis|array|false</td> - <td><p>The fields in the hash or false if the hash doesn't exist.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->del('ships'); - -$redis->hmset('ships', ['Enterprise' => 'NCC-1701D', 'Defiant' => 'NX-74205', 'Voyager' => 'NCC-74656']); - -// array(3) { -// [0]=> -// string(10) "Enterprise" -// [1]=> -// string(7) "Defiant" -// [2]=> -// string(7) "Voyager" -// } -$redis->hKeys('ships'); -?></code></pre></td> + <td><p>The fields in the hash or false if the hash doesn't exist.</p></td> </tr> </table> @@ -7897,7 +7887,7 @@ $redis->hKeys('ships'); </div> <div class="method-item"> <h3 id="method_hLen"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1281">at line 1281</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1215">at line 1215</a></div> <code> Redis|int|false <strong>hLen</strong>(string $key) </code> @@ -7950,7 +7940,7 @@ $redis->hKeys('ships'); </div> <div class="method-item"> <h3 id="method_hMget"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1311">at line 1311</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1244">at line 1244</a></div> <code> Redis|array|false <strong>hMget</strong>(string $key, array $fields) </code> @@ -7960,7 +7950,19 @@ $redis->hKeys('ships'); <div class="method-description"> - <p><p>Get one or more fields from a hash.</p></p> + <p><p>Get one or more fields from a hash.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('player:1'); + +$redis->hmset('player:1', ['name' => 'Alice', 'age' => '26', 'score' => '1337']); + +// array(2) { +// ["name"]=> +// string(5) "Alice" +// ["score"]=> +// string(4) "1337" +// } +$redis->hmget('player:1', ['name', 'score']);</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -7984,22 +7986,7 @@ $redis->hKeys('ships'); <table class="table table-condensed"> <tr> <td>Redis|array|false</td> - <td><p>The fields and values or false if the key didn't exist.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->del('player:1'); - -$redis->hmset('player:1', ['name' => 'Alice', 'age' => '26', 'score' => '1337']); - -// array(2) { -// ["name"]=> -// string(5) "Alice" -// ["score"]=> -// string(4) "1337" -// } -$redis->hmget('player:1', ['name', 'score']); -?></code></pre></td> + <td><p>The fields and values or false if the key didn't exist.</p></td> </tr> </table> @@ -8023,7 +8010,7 @@ $redis->hmget('player:1', ['name', 'score']); </div> <div class="method-item"> <h3 id="method_hMset"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1331">at line 1331</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1263">at line 1263</a></div> <code> Redis|bool <strong>hMset</strong>(string $key, array $fieldvals) </code> @@ -8033,7 +8020,9 @@ $redis->hmget('player:1', ['name', 'score']); <div class="method-description"> - <p><p>Add or update one or more hash fields and values</p></p> + <p><p>Add or update one or more hash fields and values</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->hmset('updates', ['status' => 'starting', 'elapsed' => 0]);</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -8057,12 +8046,7 @@ $redis->hmget('player:1', ['name', 'score']); <table class="table table-condensed"> <tr> <td>Redis|bool</td> - <td><p>True if the operation was successful</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->hmset('updates', ['status' => 'starting', 'elapsed' => 0]); -?></code></pre></td> + <td><p>True if the operation was successful</p></td> </tr> </table> @@ -8086,7 +8070,7 @@ $redis->hmset('updates', ['status' => 'starting', 'elapsed' => 0]); </div> <div class="method-item"> <h3 id="method_hRandField"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1364">at line 1364</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1294">at line 1294</a></div> <code> Redis|string|array <strong>hRandField</strong>(string $key, array $options = null) </code> @@ -8096,7 +8080,14 @@ $redis->hmset('updates', ['status' => 'starting', 'elapsed' => 0]); <div class="method-description"> - <p><p>Get one or more random field from a hash.</p></p> + <p><p>Get one or more random field from a hash.</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('settings'); + +$redis->hmset('settings', ['path' => '/', 'state' => 'active', 'jobs' => 15]); + +$redis->hrandfield('settings'); +$redis->hrandfield('settings', ['count' => 2, 'withvalues' => true]);</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -8124,18 +8115,7 @@ $redis->hmset('updates', ['status' => 'starting', 'elapsed' => 0]); <table class="table table-condensed"> <tr> <td>Redis|string|array</td> - <td><p>One or more random fields (and possibly values).</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->del('settings'); - -$redis->hmset('settings', ['path' => '/', 'state' => 'active', 'jobs' => 15]); - -$redis->hrandfield('settings'); - -$redis->hrandfield('settings', ['count' => 2, 'withvalues' => true]); -?></code></pre></td> + <td><p>One or more random fields (and possibly values).</p></td> </tr> </table> @@ -8159,7 +8139,7 @@ $redis->hrandfield('settings', ['count' => 2, 'withvalues' => true]); </div> <div class="method-item"> <h3 id="method_hSet"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1366">at line 1366</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1296">at line 1296</a></div> <code> Redis|int|false <strong>hSet</strong>(string $key, string $member, mixed $value) </code> @@ -8212,7 +8192,7 @@ $redis->hrandfield('settings', ['count' => 2, 'withvalues' => true]); </div> <div class="method-item"> <h3 id="method_hSetNx"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1392">at line 1392</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1322">at line 1322</a></div> <code> Redis|bool <strong>hSetNx</strong>(string $key, string $field, string $value) </code> @@ -8222,7 +8202,17 @@ $redis->hrandfield('settings', ['count' => 2, 'withvalues' => true]); <div class="method-description"> - <p><p>Set a hash field and value, but only if that field does not exist</p></p> + <p><p>Set a hash field and value, but only if that field does not exist</p></p> <p><pre><code>$redis = new Redis(['host' => 'localhost']); + +$redis->del('player:1'); + +$redis->hmset('player:1', ['name' => 'bob', 'score' => 0]); + +// bool(true) +var_dump($redis->hsetnx('player:1', 'lock', 'enabled')); + +// bool(false) +var_dump($redis->hsetnx('player:1', 'lock', 'enabled'));</code></pre></p> </div> <div class="tags"> <h4>Parameters</h4> @@ -8251,18 +8241,7 @@ $redis->hrandfield('settings', ['count' => 2, 'withvalues' => true]); <table class="table table-condensed"> <tr> <td>Redis|bool</td> - <td><p>True if the field was set and false if not.</p> -<pre><code>$redis = new Redis(['host' => 'localhost']); - -$redis->del('player:1'); - -$redis->hmset('player:1', ['name' => 'bob', 'score' => 0]); - -// bool(true) -var_dump($redis->hsetnx('player:1', 'lock', 'enabled')); - -// bool(false) -var_dump($redis->hsetnx('player:1', 'lock', 'enabled'));</code></pre></td> + <td><p>True if the field was set and false if not.</p></td> </tr> </table> @@ -8286,7 +8265,7 @@ var_dump($redis->hsetnx('player:1', 'lock', 'enabled'));</code></pre></td> </div> <div class="method-item"> <h3 id="method_hStrLen"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1416">at line 1416</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1340">at line 1340</a></div> <code> Redis|int|false <strong>hStrLen</strong>(string $key, string $field) </code> @@ -8320,16 +8299,7 @@ var_dump($redis->hsetnx('player:1', 'lock', 'enabled'));</code></pre></td> <table class="table table-condensed"> <tr> <td>Redis|int|false</td> - <td><p>The string length of the field or false.</p> -<pre><code><?php -$redis = new Redis(['host' => 'localhost']); - -$redis->del('hash'); -$redis->hmset('hash', ['50bytes' => str_repeat('a', 50)]); - -// int(50) -$redis->hstrlen('hash', '50bytes'); -</code></pre></td> + <td><p>The string length of the field or false.</p></td> </tr> </table> @@ -8347,13 +8317,24 @@ $redis->hstrlen('hash', '50bytes'); </table> + <h4>Examples</h4> + + <table class="table table-condensed"> + <tr> + <td><pre class="examples">$redis = new Redis(['host' => 'localhost']);<br /> +$redis->del('hash');<br /> +$redis->hmset('hash', ['50bytes' => str_repeat('a', 50)]);<br /> +$redis->hstrlen('hash', '50bytes');</pre></td> + </tr> + </table> + </div> </div> </div> <div class="method-item"> <h3 id="method_hVals"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1445">at line 1445</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1369">at line 1369</a></div> <code> Redis|array|false <strong>hVals</strong>(string $key) </code> @@ -8421,7 +8402,7 @@ $redis->hgetall('player'); </div> <div class="method-item"> <h3 id="method_hscan"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1500">at line 1500</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1424">at line 1424</a></div> <code> Redis|array|bool <strong>hscan</strong>(string $key, int|null $iterator, string|null $pattern = null, int $count = 0) </code> @@ -8531,7 +8512,7 @@ do { </div> <div class="method-item"> <h3 id="method_incr"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1527">at line 1527</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1451">at line 1451</a></div> <code> Redis|int|false <strong>incr</strong>(string $key, int $by = 1) </code> @@ -8606,7 +8587,7 @@ $redis->incr('counter', 2); </div> <div class="method-item"> <h3 id="method_incrBy"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1558">at line 1558</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1482">at line 1482</a></div> <code> Redis|int|false <strong>incrBy</strong>(string $key, int $value) </code> @@ -8682,7 +8663,7 @@ $redis->incrby('primes', 4); </div> <div class="method-item"> <h3 id="method_incrByFloat"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1582">at line 1582</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1506">at line 1506</a></div> <code> Redis|float|false <strong>incrByFloat</strong>(string $key, float $value) </code> @@ -8740,7 +8721,7 @@ var_dump($redis->incrByFloat('tau', 3.1415926)); </div> <div class="method-item"> <h3 id="method_info"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1598">at line 1598</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1522">at line 1522</a></div> <code> Redis|array|false <strong>info</strong>(string ...$sections) </code> @@ -8796,7 +8777,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_isConnected"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1605">at line 1605</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1529">at line 1529</a></div> <code> bool <strong>isConnected</strong>() </code> @@ -8828,7 +8809,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_keys"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1608">at line 1608</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1532">at line 1532</a></div> <code> <a href="Redis.html">Redis</a>|array|false <strong>keys</strong>(string $pattern) </code> @@ -8871,7 +8852,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lInsert"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1614">at line 1614</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1538">at line 1538</a></div> <code> <a href="Redis.html">Redis</a>|int|false <strong>lInsert</strong>(string $key, string $pos, mixed $pivot, mixed $value) </code> @@ -8929,7 +8910,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lLen"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1616">at line 1616</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1540">at line 1540</a></div> <code> Redis|int|false <strong>lLen</strong>(string $key) </code> @@ -8972,7 +8953,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lMove"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1618">at line 1618</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1542">at line 1542</a></div> <code> Redis|string|false <strong>lMove</strong>(string $src, string $dst, string $wherefrom, string $whereto) </code> @@ -9030,7 +9011,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lPop"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1620">at line 1620</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1544">at line 1544</a></div> <code> Redis|bool|string|array <strong>lPop</strong>(string $key, int $count = 0) </code> @@ -9078,7 +9059,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lPos"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1622">at line 1622</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1546">at line 1546</a></div> <code> Redis|null|bool|int|array <strong>lPos</strong>(string $key, mixed $value, array $options = null) </code> @@ -9131,7 +9112,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lPush"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1628">at line 1628</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1552">at line 1552</a></div> <code> int|<a href="Redis.html">Redis</a> <strong>lPush</strong>(string $key, mixed ...$elements) </code> @@ -9179,7 +9160,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_rPush"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1634">at line 1634</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1558">at line 1558</a></div> <code> <a href="Redis.html">Redis</a>|int|false <strong>rPush</strong>(string $key, mixed ...$elements) </code> @@ -9227,7 +9208,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lPushx"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1637">at line 1637</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1561">at line 1561</a></div> <code> <a href="Redis.html">Redis</a>|int|false <strong>lPushx</strong>(string $key, mixed $value) </code> @@ -9275,7 +9256,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_rPushx"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1640">at line 1640</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1564">at line 1564</a></div> <code> <a href="Redis.html">Redis</a>|int|false <strong>rPushx</strong>(string $key, mixed $value) </code> @@ -9323,7 +9304,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lSet"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1642">at line 1642</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1566">at line 1566</a></div> <code> Redis|bool <strong>lSet</strong>(string $key, int $index, mixed $value) </code> @@ -9376,7 +9357,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lastSave"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1644">at line 1644</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1568">at line 1568</a></div> <code> int <strong>lastSave</strong>() </code> @@ -9409,7 +9390,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lindex"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1646">at line 1646</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1570">at line 1570</a></div> <code> mixed <strong>lindex</strong>(string $key, int $index) </code> @@ -9457,7 +9438,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lrange"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1648">at line 1648</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1572">at line 1572</a></div> <code> Redis|array|false <strong>lrange</strong>(string $key, int $start, int $end) </code> @@ -9510,7 +9491,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_lrem"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1653">at line 1653</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1577">at line 1577</a></div> <code> int|<a href="Redis.html">Redis</a>|false <strong>lrem</strong>(string $key, mixed $value, int $count = 0) </code> @@ -9563,7 +9544,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_ltrim"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1655">at line 1655</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1579">at line 1579</a></div> <code> Redis|bool <strong>ltrim</strong>(string $key, int $start, int $end) </code> @@ -9616,7 +9597,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_mget"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1658">at line 1658</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1582">at line 1582</a></div> <code> array|<a href="Redis.html">Redis</a> <strong>mget</strong>(array $keys) </code> @@ -9659,7 +9640,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_migrate"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1660">at line 1660</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1584">at line 1584</a></div> <code> Redis|bool <strong>migrate</strong>(string $host, int $port, string|array $key, int $dstdb, int $timeout, bool $copy = false, bool $replace = false, mixed $credentials = NULL) </code> @@ -9737,7 +9718,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_move"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1664">at line 1664</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1588">at line 1588</a></div> <code> bool <strong>move</strong>(string $key, int $index) </code> @@ -9785,7 +9766,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_mset"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1666">at line 1666</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1590">at line 1590</a></div> <code> Redis|bool <strong>mset</strong>(array $key_values) </code> @@ -9828,7 +9809,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_msetnx"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1668">at line 1668</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1592">at line 1592</a></div> <code> Redis|bool <strong>msetnx</strong>(array $key_values) </code> @@ -9871,7 +9852,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_multi"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1670">at line 1670</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1594">at line 1594</a></div> <code> bool|Redis <strong>multi</strong>(int $value = Redis::MULTI) </code> @@ -9914,7 +9895,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_object"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1672">at line 1672</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1596">at line 1596</a></div> <code> Redis|int|string|false <strong>object</strong>(string $subcommand, string $key) </code> @@ -9962,7 +9943,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_open"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1678">at line 1678</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1602">at line 1602</a></div> <code> bool <strong>open</strong>(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = NULL, int $retry_interval = 0, float $read_timeout = 0, array $context = NULL) <small><span class="label label-danger">deprecated</span></small></code> @@ -10042,7 +10023,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_pconnect"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1680">at line 1680</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1604">at line 1604</a></div> <code> bool <strong>pconnect</strong>(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = NULL, int $retry_interval = 0, float $read_timeout = 0, array $context = NULL) </code> @@ -10115,7 +10096,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_persist"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1682">at line 1682</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1606">at line 1606</a></div> <code> bool <strong>persist</strong>(string $key) </code> @@ -10158,7 +10139,7 @@ to that section.</p></p> <p><p>If connected to Redis server >= </div> <div class="method-item"> <h3 id="method_pexpire"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1696">at line 1696</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1620">at line 1620</a></div> <code> bool <strong>pexpire</strong>(string $key, int $timeout, string|null $mode = NULL) </code> @@ -10214,7 +10195,7 @@ command works.</p> </div> <div class="method-item"> <h3 id="method_pexpireAt"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1710">at line 1710</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1634">at line 1634</a></div> <code> Redis|bool <strong>pexpireAt</strong>(string $key, int $timestamp, string|null $mode = NULL) </code> @@ -10285,7 +10266,7 @@ Redis::expire</a> </div> <div class="method-item"> <h3 id="method_pfadd"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1723">at line 1723</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1647">at line 1647</a></div> <code> Redis|int <strong>pfadd</strong>(string $key, array $elements) </code> @@ -10343,7 +10324,7 @@ Redis::expire</a> </div> <div class="method-item"> <h3 id="method_pfcount"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1734">at line 1734</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1658">at line 1658</a></div> <code> Redis|int <strong>pfcount</strong>(string $key) </code> @@ -10396,7 +10377,7 @@ Redis::expire</a> </div> <div class="method-item"> <h3 id="method_pfmerge"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1746">at line 1746</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1670">at line 1670</a></div> <code> Redis|bool <strong>pfmerge</strong>(string $dst, array $srckeys) </code> @@ -10454,7 +10435,7 @@ Redis::expire</a> </div> <div class="method-item"> <h3 id="method_ping"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1770">at line 1770</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1694">at line 1694</a></div> <code> Redis|string|bool <strong>ping</strong>(string $message = NULL) </code> @@ -10517,7 +10498,7 @@ $redis->ping('beep boop'); </div> <div class="method-item"> <h3 id="method_pipeline"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1804">at line 1804</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1728">at line 1728</a></div> <code> bool|Redis <strong>pipeline</strong>() </code> @@ -10569,7 +10550,7 @@ $redis->pipeline() </div> <div class="method-item"> <h3 id="method_popen"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1810">at line 1810</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1734">at line 1734</a></div> <code> bool <strong>popen</strong>(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = NULL, int $retry_interval = 0, float $read_timeout = 0, array $context = NULL) <small><span class="label label-danger">deprecated</span></small></code> @@ -10649,7 +10630,7 @@ $redis->pipeline() </div> <div class="method-item"> <h3 id="method_psetex"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1813">at line 1813</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1737">at line 1737</a></div> <code> bool|<a href="Redis.html">Redis</a> <strong>psetex</strong>(string $key, int $expire, mixed $value) </code> @@ -10702,7 +10683,7 @@ $redis->pipeline() </div> <div class="method-item"> <h3 id="method_psubscribe"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1829">at line 1829</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1753">at line 1753</a></div> <code> bool <strong>psubscribe</strong>(array $patterns, callable $cb) </code> @@ -10761,7 +10742,7 @@ $redis->pipeline() </div> <div class="method-item"> <h3 id="method_pttl"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1854">at line 1854</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1778">at line 1778</a></div> <code> Redis|int|false <strong>pttl</strong>(string $key) </code> @@ -10824,7 +10805,7 @@ var_dump($redis->pttl('ttl-key')); </div> <div class="method-item"> <h3 id="method_publish"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1866">at line 1866</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1790">at line 1790</a></div> <code> Redis|int|false <strong>publish</strong>(string $channel, string $message) </code> @@ -10882,7 +10863,7 @@ var_dump($redis->pttl('ttl-key')); </div> <div class="method-item"> <h3 id="method_pubsub"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1868">at line 1868</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1792">at line 1792</a></div> <code> mixed <strong>pubsub</strong>(string $command, mixed $arg = null) </code> @@ -10930,7 +10911,7 @@ var_dump($redis->pttl('ttl-key')); </div> <div class="method-item"> <h3 id="method_punsubscribe"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1881">at line 1881</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1805">at line 1805</a></div> <code> Redis|array|bool <strong>punsubscribe</strong>(array $patterns) </code> @@ -10996,7 +10977,7 @@ Redis::subscribe</a> </div> <div class="method-item"> <h3 id="method_rPop"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1914">at line 1914</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1838">at line 1838</a></div> <code> Redis|array|string|bool <strong>rPop</strong>(string $key, int $count = 0) </code> @@ -11071,7 +11052,7 @@ $redis->rPop('mylist'); </div> <div class="method-item"> <h3 id="method_randomKey"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1924">at line 1924</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1848">at line 1848</a></div> <code> Redis|string|false <strong>randomKey</strong>() </code> @@ -11114,7 +11095,7 @@ $redis->rPop('mylist'); </div> <div class="method-item"> <h3 id="method_rawcommand"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1956">at line 1956</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1880">at line 1880</a></div> <code> mixed <strong>rawcommand</strong>(string $command, mixed ...$args) </code> @@ -11182,7 +11163,7 @@ $redis->rawCommand('lrange', 'mylist', 0, -1); </div> <div class="method-item"> <h3 id="method_rename"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1968">at line 1968</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1892">at line 1892</a></div> <code> Redis|bool <strong>rename</strong>(string $old_name, string $new_name) </code> @@ -11240,7 +11221,7 @@ $redis->rawCommand('lrange', 'mylist', 0, -1); </div> <div class="method-item"> <h3 id="method_renameNx"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1997">at line 1997</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1921">at line 1921</a></div> <code> Redis|bool <strong>renameNx</strong>(string $key_src, string $key_dst) </code> @@ -11312,7 +11293,7 @@ $redis->renamenx('dst', 'existing-dst'); </div> <div class="method-item"> <h3 id="method_reset"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2004">at line 2004</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1928">at line 1928</a></div> <code> Redis|bool <strong>reset</strong>() </code> @@ -11344,7 +11325,7 @@ $redis->renamenx('dst', 'existing-dst'); </div> <div class="method-item"> <h3 id="method_restore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2065">at line 2065</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1989">at line 1989</a></div> <code> Redis|bool <strong>restore</strong>(string $key, int $ttl, string $value, array|null $options = NULL) </code> @@ -11464,7 +11445,7 @@ Redis::dump</a> </div> <div class="method-item"> <h3 id="method_role"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2073">at line 2073</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L1997">at line 1997</a></div> <code> mixed <strong>role</strong>() </code> @@ -11497,7 +11478,7 @@ an error.</p></td> </div> <div class="method-item"> <h3 id="method_rpoplpush"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2113">at line 2113</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2037">at line 2037</a></div> <code> Redis|string|false <strong>rpoplpush</strong>(string $srckey, string $dstkey) </code> @@ -11580,7 +11561,7 @@ var_dump($redis->lrange('list1', 0, -1)); </div> <div class="method-item"> <h3 id="method_sAdd"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2141">at line 2141</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2065">at line 2065</a></div> <code> Redis|int|false <strong>sAdd</strong>(string $key, mixed $value, mixed ...$other_values) </code> @@ -11655,7 +11636,7 @@ var_dump($redis->sadd('myset', 'foo', 'new')); </div> <div class="method-item"> <h3 id="method_sAddArray"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2169">at line 2169</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2093">at line 2093</a></div> <code> int <strong>sAddArray</strong>(string $key, array $values) </code> @@ -11732,7 +11713,7 @@ var_dump($redis->sAddArray('myset', ['foo', 'new'])); </div> <div class="method-item"> <h3 id="method_sDiff"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2206">at line 2206</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2130">at line 2130</a></div> <code> Redis|array|false <strong>sDiff</strong>(string $key, string ...$other_keys) </code> @@ -11814,7 +11795,7 @@ array(2) { </div> <div class="method-item"> <h3 id="method_sDiffStore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2221">at line 2221</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2145">at line 2145</a></div> <code> Redis|int|false <strong>sDiffStore</strong>(string $dst, string $key, string ...$other_keys) </code> @@ -11884,7 +11865,7 @@ values in a specified destination key.</p></p> </div> <div class="method-item"> <h3 id="method_sInter"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2255">at line 2255</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2179">at line 2179</a></div> <code> Redis|array|false <strong>sInter</strong>(array|string $key, string ...$other_keys) </code> @@ -11963,7 +11944,7 @@ var_dump($redis->sinter('alice_likes', 'bob_likes', 'bill_likes')); </div> <div class="method-item"> <h3 id="method_sintercard"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2283">at line 2283</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2207">at line 2207</a></div> <code> Redis|int|false <strong>sintercard</strong>(array $keys, int $limit = -1) </code> @@ -12034,7 +12015,7 @@ var_dump($redis->sInterCard(['set1', 'set2', 'set3'])); </div> <div class="method-item"> <h3 id="method_sInterStore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2312">at line 2312</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2236">at line 2236</a></div> <code> Redis|int|false <strong>sInterStore</strong>(array|string $key, string ...$other_keys) </code> @@ -12109,7 +12090,7 @@ $redis->sInterStore('dst', 'src1', 'src'2', 'src3'); </div> <div class="method-item"> <h3 id="method_sMembers"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2344">at line 2344</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2268">at line 2268</a></div> <code> Redis|array|false <strong>sMembers</strong>(string $key) </code> @@ -12180,7 +12161,7 @@ $redis->sMembers('tng-crew');</code></pre></td> </div> <div class="method-item"> <h3 id="method_sMisMember"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2384">at line 2384</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2308">at line 2308</a></div> <code> Redis|array|false <strong>sMisMember</strong>(string $key, string $member, string ...$other_members) </code> @@ -12277,7 +12258,7 @@ var_dump(array_combine($names, $members)); </div> <div class="method-item"> <h3 id="method_sMove"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2430">at line 2430</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2354">at line 2354</a></div> <code> Redis|bool <strong>sMove</strong>(string $src, string $dst, mixed $value) </code> @@ -12370,7 +12351,7 @@ var_dump($redis->sMembers('evens')); </div> <div class="method-item"> <h3 id="method_sPop"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2476">at line 2476</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2400">at line 2400</a></div> <code> Redis|string|array|false <strong>sPop</strong>(string $key, int $count = 0) </code> @@ -12461,7 +12442,7 @@ var_dump($redis->sMembers('evens')); </div> <div class="method-item"> <h3 id="method_sRandMember"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2513">at line 2513</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2437">at line 2437</a></div> <code> Redis|string|array|false <strong>sRandMember</strong>(string $key, int $count = 0) </code> @@ -12529,7 +12510,7 @@ $rng3 = $redis->sRandMember('elder-gods', -9999); </div> <div class="method-item"> <h3 id="method_sUnion"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2553">at line 2553</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2477">at line 2477</a></div> <code> Redis|array|false <strong>sUnion</strong>(string $key, string ...$other_keys) </code> @@ -12612,7 +12593,7 @@ var_dump($redis->sunion('set1', 'set2', 'set3')); </div> <div class="method-item"> <h3 id="method_sUnionStore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2568">at line 2568</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2492">at line 2492</a></div> <code> Redis|int|false <strong>sUnionStore</strong>(string $dst, string $key, string ...$other_keys) </code> @@ -12682,7 +12663,7 @@ false on failure.</p></td> </div> <div class="method-item"> <h3 id="method_save"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2579">at line 2579</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2503">at line 2503</a></div> <code> Redis|bool <strong>save</strong>() </code> @@ -12732,7 +12713,7 @@ completed. For a nonblocking alternative, see Redis::bgsave().</p></p> </div> <div class="method-item"> <h3 id="method_scan"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2645">at line 2645</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2569">at line 2569</a></div> <code> array|false <strong>scan</strong>(int|null $iterator, string|null $pattern = null, int $count = 0, string $type = NULL) </code> @@ -12850,7 +12831,7 @@ Redis::setOption</a> </div> <div class="method-item"> <h3 id="method_scard"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2669">at line 2669</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2593">at line 2593</a></div> <code> Redis|int|false <strong>scard</strong>(string $key) </code> @@ -12913,7 +12894,7 @@ $redis->scard('set'); </div> <div class="method-item"> <h3 id="method_script"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2703">at line 2703</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2627">at line 2627</a></div> <code> mixed <strong>script</strong>(string $command, mixed ...$args) </code> @@ -12990,7 +12971,7 @@ var_dump($redis->script('exists', sha1($lua))); </div> <div class="method-item"> <h3 id="method_select"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2731">at line 2731</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2655">at line 2655</a></div> <code> Redis|bool <strong>select</strong>(int $db) </code> @@ -13048,7 +13029,7 @@ var_dump($redis->exists('this_is_db_1')); </div> <div class="method-item"> <h3 id="method_set"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2774">at line 2774</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2698">at line 2698</a></div> <code> Redis|string|bool <strong>set</strong>(string $key, mixed $value, mixed $options = NULL) </code> @@ -13142,7 +13123,7 @@ $redis->set('key', 'options_set', ['XX']); </div> <div class="method-item"> <h3 id="method_setBit"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2800">at line 2800</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2724">at line 2724</a></div> <code> Redis|int|false <strong>setBit</strong>(string $key, int $idx, bool $value) </code> @@ -13216,7 +13197,7 @@ $redis->get('foo'); </div> <div class="method-item"> <h3 id="method_setRange"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2824">at line 2824</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2748">at line 2748</a></div> <code> Redis|int|false <strong>setRange</strong>(string $key, int $index, string $value) </code> @@ -13287,7 +13268,7 @@ $redis->setRange('message', 6, 'Redis'); </div> <div class="method-item"> <h3 id="method_setOption"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2856">at line 2856</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2780">at line 2780</a></div> <code> bool <strong>setOption</strong>(int $option, mixed $value) </code> @@ -13429,7 +13410,7 @@ Redis::__construct</a> </div> <div class="method-item"> <h3 id="method_setex"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2877">at line 2877</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2801">at line 2801</a></div> <code> <a href="Redis.html">Redis</a>|bool <strong>setex</strong>(string $key, int $expire, mixed $value) </code> @@ -13488,7 +13469,7 @@ $redis->set('some_key', 60, 'some_value'); </div> <div class="method-item"> <h3 id="method_setnx"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2905">at line 2905</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2829">at line 2829</a></div> <code> Redis|bool <strong>setnx</strong>(string $key, mixed $value) </code> @@ -13558,7 +13539,7 @@ $redis->setnx('existing-key', 'new-value'); </div> <div class="method-item"> <h3 id="method_sismember"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2932">at line 2932</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2856">at line 2856</a></div> <code> Redis|bool <strong>sismember</strong>(string $key, mixed $value) </code> @@ -13619,7 +13600,7 @@ $redis->sismember('myset', 'not-in-set'); </div> <div class="method-item"> <h3 id="method_slaveof"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2948">at line 2948</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2872">at line 2872</a></div> <code> Redis|bool <strong>slaveof</strong>(string $host = NULL, int $port = 6379) <small><span class="label label-danger">deprecated</span></small></code> @@ -13702,7 +13683,7 @@ Redis::slaveof</a> </div> <div class="method-item"> <h3 id="method_replicaof"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2977">at line 2977</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2901">at line 2901</a></div> <code> Redis|bool <strong>replicaof</strong>(string $host = NULL, int $port = 6379) </code> @@ -13785,7 +13766,7 @@ Redis::slaveof</a> </div> <div class="method-item"> <h3 id="method_touch"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2991">at line 2991</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2915">at line 2915</a></div> <code> Redis|int|false <strong>touch</strong>(array|string $key_or_array, string ...$more_keys) </code> @@ -13844,7 +13825,7 @@ had their last modified time reset</p></td> </div> <div class="method-item"> <h3 id="method_slowlog"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3022">at line 3022</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2946">at line 2946</a></div> <code> mixed <strong>slowlog</strong>(string $operation, int $length = 0) </code> @@ -13916,7 +13897,7 @@ entries, which is configurable.</p> </div> <div class="method-item"> <h3 id="method_sort"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3055">at line 3055</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2979">at line 2979</a></div> <code> mixed <strong>sort</strong>(string $key, array|null $options = null) </code> @@ -13991,7 +13972,7 @@ $options = [ </div> <div class="method-item"> <h3 id="method_sort_ro"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3062">at line 3062</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2986">at line 2986</a></div> <code> mixed <strong>sort_ro</strong>(string $key, array|null $options = null) </code> @@ -14050,7 +14031,7 @@ Redis::sort</a> </div> <div class="method-item"> <h3 id="method_sortAsc"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3067">at line 3067</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2991">at line 2991</a></div> <code> array <strong>sortAsc</strong>(string $key, string|null $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, string|null $store = null) <small><span class="label label-danger">deprecated</span></small></code> @@ -14125,7 +14106,7 @@ Redis::sort</a> </div> <div class="method-item"> <h3 id="method_sortAscAlpha"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3072">at line 3072</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L2996">at line 2996</a></div> <code> array <strong>sortAscAlpha</strong>(string $key, string|null $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, string|null $store = null) <small><span class="label label-danger">deprecated</span></small></code> @@ -14200,7 +14181,7 @@ Redis::sort</a> </div> <div class="method-item"> <h3 id="method_sortDesc"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3077">at line 3077</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3001">at line 3001</a></div> <code> array <strong>sortDesc</strong>(string $key, string|null $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, string|null $store = null) <small><span class="label label-danger">deprecated</span></small></code> @@ -14275,7 +14256,7 @@ Redis::sort</a> </div> <div class="method-item"> <h3 id="method_sortDescAlpha"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3082">at line 3082</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3006">at line 3006</a></div> <code> array <strong>sortDescAlpha</strong>(string $key, string|null $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, string|null $store = null) <small><span class="label label-danger">deprecated</span></small></code> @@ -14350,7 +14331,7 @@ Redis::sort</a> </div> <div class="method-item"> <h3 id="method_srem"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3110">at line 3110</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3034">at line 3034</a></div> <code> Redis|int|false <strong>srem</strong>(string $key, mixed $value, mixed ...$other_values) </code> @@ -14425,7 +14406,7 @@ var_dump($redis->sRem('set1', 'foo', 'bar', 'not-in-the-set')); </div> <div class="method-item"> <h3 id="method_sscan"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3173">at line 3173</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3097">at line 3097</a></div> <code> array|false <strong>sscan</strong>(string $key, int|null $iterator, string|null $pattern = null, int $count = 0) </code> @@ -14551,7 +14532,7 @@ Redis::setOption</a> </div> <div class="method-item"> <h3 id="method_strlen"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3202">at line 3202</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3126">at line 3126</a></div> <code> Redis|int|false <strong>strlen</strong>(string $key) </code> @@ -14610,7 +14591,7 @@ $redis->strlen('string'); </div> <div class="method-item"> <h3 id="method_subscribe"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3234">at line 3234</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3158">at line 3158</a></div> <code> bool <strong>subscribe</strong>(array $channels, callable $cb) </code> @@ -14676,7 +14657,7 @@ echo "Subscribe loop ended\n"; </div> <div class="method-item"> <h3 id="method_swapdb"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3291">at line 3291</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3215">at line 3215</a></div> <code> Redis|bool <strong>swapdb</strong>(int $src, int $dst) </code> @@ -14780,7 +14761,7 @@ Redis::del</a> </div> <div class="method-item"> <h3 id="method_time"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3312">at line 3312</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3236">at line 3236</a></div> <code> Redis|array <strong>time</strong>() </code> @@ -14834,7 +14815,7 @@ print_r($redis->time());</code></pre></td> </div> <div class="method-item"> <h3 id="method_ttl"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3344">at line 3344</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3268">at line 3268</a></div> <code> Redis|int|false <strong>ttl</strong>(string $key) </code> @@ -14897,7 +14878,7 @@ $redis->ttl('not_a_key'); </div> <div class="method-item"> <h3 id="method_type"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3364">at line 3364</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3288">at line 3288</a></div> <code> Redis|int|false <strong>type</strong>(string $key) </code> @@ -14958,7 +14939,7 @@ Redis::REDIS_STREAM</code></pre></td> </div> <div class="method-item"> <h3 id="method_unlink"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3394">at line 3394</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3318">at line 3318</a></div> <code> Redis|int|false <strong>unlink</strong>(array|string $key, string ...$other_keys) </code> @@ -15041,7 +15022,7 @@ Redis::del</a> </div> <div class="method-item"> <h3 id="method_unsubscribe"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3403">at line 3403</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3327">at line 3327</a></div> <code> Redis|array|bool <strong>unsubscribe</strong>(array $channels) </code> @@ -15101,7 +15082,7 @@ Redis::subscribe</a> </div> <div class="method-item"> <h3 id="method_unwatch"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3414">at line 3414</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3338">at line 3338</a></div> <code> Redis|bool <strong>unwatch</strong>() </code> @@ -15157,7 +15138,7 @@ Redis::watch</a> </div> <div class="method-item"> <h3 id="method_watch"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3419">at line 3419</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3343">at line 3343</a></div> <code> bool|<a href="Redis.html">Redis</a> <strong>watch</strong>(array|string $key, string ...$other_keys) </code> @@ -15205,7 +15186,7 @@ Redis::watch</a> </div> <div class="method-item"> <h3 id="method_wait"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3433">at line 3433</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3357">at line 3357</a></div> <code> int|false <strong>wait</strong>(int $numreplicas, int $timeout) </code> @@ -15264,7 +15245,7 @@ recieving them.</p></p> </div> <div class="method-item"> <h3 id="method_xack"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3435">at line 3435</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3359">at line 3359</a></div> <code> int|false <strong>xack</strong>(string $key, string $group, array $ids) </code> @@ -15317,7 +15298,7 @@ recieving them.</p></p> </div> <div class="method-item"> <h3 id="method_xadd"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3485">at line 3485</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3409">at line 3409</a></div> <code> Redis|string|false <strong>xadd</strong>(string $key, string $id, array $values, int $maxlen = 0, bool $approx = false, bool $nomkstream = false) </code> @@ -15429,7 +15410,7 @@ $redis->xRange('ds9-season-1', '1-1', '1-2'); </div> <div class="method-item"> <h3 id="method_xautoclaim"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3487">at line 3487</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3411">at line 3411</a></div> <code> Redis|bool|array <strong>xautoclaim</strong>(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false) </code> @@ -15502,7 +15483,7 @@ $redis->xRange('ds9-season-1', '1-1', '1-2'); </div> <div class="method-item"> <h3 id="method_xclaim"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3489">at line 3489</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3413">at line 3413</a></div> <code> Redis|bool|array <strong>xclaim</strong>(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options) </code> @@ -15570,7 +15551,7 @@ $redis->xRange('ds9-season-1', '1-1', '1-2'); </div> <div class="method-item"> <h3 id="method_xdel"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3535">at line 3535</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3459">at line 3459</a></div> <code> Redis|int|false <strong>xdel</strong>(string $key, array $ids) </code> @@ -15650,7 +15631,7 @@ $redis->xRange('stream', '-', '+'); </div> <div class="method-item"> <h3 id="method_xgroup"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3573">at line 3573</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3497">at line 3497</a></div> <code> mixed <strong>xgroup</strong>(string $operation, string $key = null, string $group = null, string $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2) </code> @@ -15745,7 +15726,7 @@ cause Redis to also create the STREAM if it doesn't currently exist.</p></td> </div> <div class="method-item"> <h3 id="method_xinfo"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3607">at line 3607</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3531">at line 3531</a></div> <code> mixed <strong>xinfo</strong>(string $operation, string|null $arg1 = null, string|null $arg2 = null, int $count = -1) </code> @@ -15820,7 +15801,7 @@ $redis->xInfo('STREAM', 'stream'); </div> <div class="method-item"> <h3 id="method_xlen"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3632">at line 3632</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3556">at line 3556</a></div> <code> Redis|int|false <strong>xlen</strong>(string $key) </code> @@ -15883,7 +15864,7 @@ $redis->xLen('stream'); </div> <div class="method-item"> <h3 id="method_xpending"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3651">at line 3651</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3575">at line 3575</a></div> <code> Redis|array|false <strong>xpending</strong>(string $key, string $group, string|null $start = null, string|null $end = null, int $count = -1, string|null $consumer = null) </code> @@ -15968,7 +15949,7 @@ acknowledged with XACK.</p></p> </div> <div class="method-item"> <h3 id="method_xrange"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3698">at line 3698</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3622">at line 3622</a></div> <code> Redis|array|bool <strong>xrange</strong>(string $key, string $start, string $end, int $count = -1) </code> @@ -16066,7 +16047,7 @@ $redis->xRange('stream', '-', '+'); </div> <div class="method-item"> <h3 id="method_xread"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3752">at line 3752</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3676">at line 3676</a></div> <code> Redis|array|bool <strong>xread</strong>(array $streams, int $count = -1, int $block = -1) </code> @@ -16169,7 +16150,7 @@ print_r($redis->xRead(['s03' => '3-2', 's04' => '4-1']));</code></pre>< </div> <div class="method-item"> <h3 id="method_xreadgroup"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3808">at line 3808</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3732">at line 3732</a></div> <code> Redis|array|bool <strong>xreadgroup</strong>(string $group, string $consumer, array $streams, int $count = 1, int $block = 1) </code> @@ -16271,7 +16252,7 @@ var_dump($msgs); </div> <div class="method-item"> <h3 id="method_xrevrange"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3857">at line 3857</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3781">at line 3781</a></div> <code> Redis|array|bool <strong>xrevrange</strong>(string $key, string $end, string $start, int $count = -1) </code> @@ -16375,7 +16356,7 @@ $redis->xRevRange('stream', '+', '-'); </div> <div class="method-item"> <h3 id="method_xtrim"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3927">at line 3927</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3851">at line 3851</a></div> <code> Redis|int|false <strong>xtrim</strong>(string $key, string $threshold, bool $approx = false, bool $minid = false, int $limit = -1) </code> @@ -16502,7 +16483,7 @@ print_r($redis->xRange('stream', '-', '+')); </div> <div class="method-item"> <h3 id="method_zAdd"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3990">at line 3990</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3914">at line 3914</a></div> <code> Redis|int|false <strong>zAdd</strong>(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems) </code> @@ -16608,7 +16589,7 @@ print_r($redis->zRange('zs', 0, -1, true)); </div> <div class="method-item"> <h3 id="method_zCard"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4013">at line 4013</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3937">at line 3937</a></div> <code> Redis|int|false <strong>zCard</strong>(string $key) </code> @@ -16670,7 +16651,7 @@ $redis->zCard('zs'); </div> <div class="method-item"> <h3 id="method_zCount"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4045">at line 4045</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3969">at line 3969</a></div> <code> Redis|int|false <strong>zCount</strong>(string $key, string $start, string $end) </code> @@ -16733,7 +16714,7 @@ $redis->zCard('zs'); </div> <div class="method-item"> <h3 id="method_zIncrBy"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4072">at line 4072</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L3996">at line 3996</a></div> <code> Redis|float|false <strong>zIncrBy</strong>(string $key, float $value, mixed $member) </code> @@ -16808,7 +16789,7 @@ print_r($redis->zIncrBy('zs', 2.0, 'eggplants')); </div> <div class="method-item"> <h3 id="method_zLexCount"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4102">at line 4102</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4026">at line 4026</a></div> <code> Redis|int|false <strong>zLexCount</strong>(string $key, string $min, string $max) </code> @@ -16884,7 +16865,7 @@ $redis->zRangeByLex('captains', '[A', '[S', 2, 2); </div> <div class="method-item"> <h3 id="method_zMscore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4141">at line 4141</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4065">at line 4065</a></div> <code> Redis|array|false <strong>zMscore</strong>(string $key, mixed $member, mixed ...$other_members) </code> @@ -16970,7 +16951,7 @@ $redis->zMScore('zs', 'one', 'not-a-member'); </div> <div class="method-item"> <h3 id="method_zPopMax"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4175">at line 4175</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4099">at line 4099</a></div> <code> Redis|array|false <strong>zPopMax</strong>(string $key, int $count = null) </code> @@ -17047,7 +17028,7 @@ print_r($redis->zPopMax('zs', 2)); </div> <div class="method-item"> <h3 id="method_zPopMin"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4209">at line 4209</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4133">at line 4133</a></div> <code> Redis|array|false <strong>zPopMin</strong>(string $key, int $count = null) </code> @@ -17124,7 +17105,7 @@ $redis->zPopMin('zs', 2); </div> <div class="method-item"> <h3 id="method_zRange"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4246">at line 4246</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4170">at line 4170</a></div> <code> Redis|array|false <strong>zRange</strong>(string $key, mixed $start, mixed $end, array|bool|null $options = null) </code> @@ -17206,7 +17187,7 @@ $options = [ </div> <div class="method-item"> <h3 id="method_zRangeByLex"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4286">at line 4286</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4210">at line 4210</a></div> <code> Redis|array|false <strong>zRangeByLex</strong>(string $key, string $min, string $max, int $offset = -1, int $count = -1) </code> @@ -17301,7 +17282,7 @@ $redis->zRangeByLex('captains', '[A', '[S', 2, 2); </div> <div class="method-item"> <h3 id="method_zRangeByScore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4352">at line 4352</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4276">at line 4276</a></div> <code> Redis|array|false <strong>zRangeByScore</strong>(string $key, string $start, string $end, array $options = []) </code> @@ -17417,7 +17398,7 @@ $redis->zRangeByScore('zs', 20, 30, ['WITHSCORES' => true, 'LIMIT' => [ </div> <div class="method-item"> <h3 id="method_zrangestore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4372">at line 4372</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4296">at line 4296</a></div> <code> Redis|int|false <strong>zrangestore</strong>(string $dstkey, string $srckey, string $start, string $end, array|bool|null $options = NULL) </code> @@ -17498,7 +17479,7 @@ it will store them in a destination key provided by the user</p></p> </div> <div class="method-item"> <h3 id="method_zRandMember"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4399">at line 4399</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4323">at line 4323</a></div> <code> Redis|string|array <strong>zRandMember</strong>(string $key, array $options = null) </code> @@ -17569,7 +17550,7 @@ $redis->zRandMember('zs', ['COUNT' =>Â 2, 'WITHSCORES' => true]); </div> <div class="method-item"> <h3 id="method_zRank"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4425">at line 4425</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4349">at line 4349</a></div> <code> Redis|int|false <strong>zRank</strong>(string $key, mixed $member) </code> @@ -17627,7 +17608,7 @@ $redis->zRandMember('zs', ['COUNT' =>Â 2, 'WITHSCORES' => true]); </div> <div class="method-item"> <h3 id="method_zRem"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4460">at line 4460</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4384">at line 4384</a></div> <code> Redis|int|false <strong>zRem</strong>(mixed $key, mixed $member, mixed ...$other_members) </code> @@ -17711,7 +17692,7 @@ $redis->zRange('zs', 0, -1); </div> <div class="method-item"> <h3 id="method_zRemRangeByLex"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4507">at line 4507</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4431">at line 4431</a></div> <code> Redis|int|false <strong>zRemRangeByLex</strong>(string $key, string $min, string $max) </code> @@ -17809,7 +17790,7 @@ print_r($redis->zRange('zs', 0, -1)); </div> <div class="method-item"> <h3 id="method_zRemRangeByRank"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4538">at line 4538</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4462">at line 4462</a></div> <code> Redis|int|false <strong>zRemRangeByRank</strong>(string $key, int $start, int $end) </code> @@ -17887,7 +17868,7 @@ $redis->zRange('zs', 0, -1); </div> <div class="method-item"> <h3 id="method_zRemRangeByScore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4571">at line 4571</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4495">at line 4495</a></div> <code> Redis|int|false <strong>zRemRangeByScore</strong>(string $key, string $start, string $end) </code> @@ -17967,7 +17948,7 @@ $redis->zRange('zs', 0, -1); </div> <div class="method-item"> <h3 id="method_zRevRange"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4613">at line 4613</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4537">at line 4537</a></div> <code> Redis|array|false <strong>zRevRange</strong>(string $key, int $start, int $end, mixed $scores = null) </code> @@ -18048,7 +18029,7 @@ $redis->zRevRange('zs', 0, -1, ['withscores' => true]); </div> <div class="method-item"> <h3 id="method_zRevRangeByLex"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4654">at line 4654</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4578">at line 4578</a></div> <code> Redis|array|false <strong>zRevRangeByLex</strong>(string $key, string $max, string $min, int $offset = -1, int $count = -1) </code> @@ -18149,7 +18130,7 @@ $redis->zRevRangeByLex('captains', '[Q', '[J', 1, 2); </div> <div class="method-item"> <h3 id="method_zRevRangeByScore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4713">at line 4713</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4637">at line 4637</a></div> <code> Redis|array|false <strong>zRevRangeByScore</strong>(string $key, string $max, string $min, array|bool $options = []) </code> @@ -18245,7 +18226,7 @@ $redis->zRevRangeByScore('oldest-people', '117.5', '-inf', ['LIMIT' => [0, </div> <div class="method-item"> <h3 id="method_zRevRank"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4742">at line 4742</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4666">at line 4666</a></div> <code> Redis|int|false <strong>zRevRank</strong>(string $key, mixed $member) </code> @@ -18317,7 +18298,7 @@ $redis->zrevrank('ds9-characters', 'Garak'); </div> <div class="method-item"> <h3 id="method_zScore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4771">at line 4771</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4695">at line 4695</a></div> <code> Redis|float|false <strong>zScore</strong>(string $key, mixed $member) </code> @@ -18389,7 +18370,7 @@ foreach ($redis->zRange('telescopes', 0, -1) as $name) { </div> <div class="method-item"> <h3 id="method_zdiff"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4805">at line 4805</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4729">at line 4729</a></div> <code> Redis|array|false <strong>zdiff</strong>(array $keys, array $options = null) </code> @@ -18465,7 +18446,7 @@ print_r($redis->zDiff(['primes', 'evens', 'mod3'])); </div> <div class="method-item"> <h3 id="method_zdiffstore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4822">at line 4822</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4746">at line 4746</a></div> <code> Redis|int|false <strong>zdiffstore</strong>(string $dst, array $keys) </code> @@ -18532,7 +18513,7 @@ Redis::zdiff</a> </div> <div class="method-item"> <h3 id="method_zinter"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4869">at line 4869</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4793">at line 4793</a></div> <code> Redis|array|false <strong>zinter</strong>(array $keys, array|null $weights = null, array|null $options = null) </code> @@ -18625,7 +18606,7 @@ $redis->zInter(['TNG', 'DS9'], NULL, ['withscores' => true, 'aggregate' =& </div> <div class="method-item"> <h3 id="method_zintercard"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4900">at line 4900</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4824">at line 4824</a></div> <code> Redis|int|false <strong>zintercard</strong>(array $keys, int $limit = -1) </code> @@ -18710,7 +18691,7 @@ Redis::zinter</a> </div> <div class="method-item"> <h3 id="method_zinterstore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4946">at line 4946</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4870">at line 4870</a></div> <code> Redis|int|false <strong>zinterstore</strong>(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null) </code> @@ -18813,7 +18794,7 @@ print_r($redis->zRange('fruit-max', 0, -1, true)); </div> <div class="method-item"> <h3 id="method_zscan"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4970">at line 4970</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4894">at line 4894</a></div> <code> Redis|array|false <strong>zscan</strong>(string $key, int|null $iterator, string|null $pattern = null, int $count = 0) </code> @@ -18900,7 +18881,7 @@ Redis::scan</a> </div> <div class="method-item"> <h3 id="method_zunion"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L5034">at line 5034</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L4958">at line 4958</a></div> <code> Redis|array|false <strong>zunion</strong>(array $keys, array|null $weights = null, array|null $options = null) </code> @@ -18999,7 +18980,7 @@ $redis->zUnion(['store1', 'store3'], [2, .5], ['withscores' => true, 'aggr </div> <div class="method-item"> <h3 id="method_zunionstore"> - <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L5076">at line 5076</a></div> + <div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis.stub.php#L5000">at line 5000</a></div> <code> Redis|int|false <strong>zunionstore</strong>(string $dst, array $keys, array|null $weights = NULL, string|null $aggregate = NULL) </code> diff --git a/docs/doc-index.html b/docs/doc-index.html index 5f71012f..792d88cd 100644 --- a/docs/doc-index.html +++ b/docs/doc-index.html @@ -188,8 +188,7 @@ Redis::close</a>() — <em>Method in class <a href="Redis.html">Redis</a></e Redis::command</a>() — <em>Method in class <a href="Redis.html">Redis</a></em></dt> <dd></dd><dt><a href="Redis.html#method_config"> Redis::config</a>() — <em>Method in class <a href="Redis.html">Redis</a></em></dt> - <dd><p>Execute the Redis CONFIG command in a variety of ways. What the command does in particular depends -on the <code>$operation</code> qualifier.</p></dd><dt><a href="Redis.html#method_connect"> + <dd><p>Execute the Redis CONFIG command in a variety of ways.</p></dd><dt><a href="Redis.html#method_connect"> Redis::connect</a>() — <em>Method in class <a href="Redis.html">Redis</a></em></dt> <dd></dd><dt><a href="Redis.html#method_copy"> Redis::copy</a>() — <em>Method in class <a href="Redis.html">Redis</a></em></dt> @@ -266,8 +265,7 @@ Redis::expire</a>() — <em>Method in class <a href="Redis.html">Redis</a></ redis-server >= 7.0.0 you may send an additional "mode" argument which modifies how the command will execute.</p></dd><dt><a href="Redis.html#method_expireAt"> Redis::expireAt</a>() — <em>Method in class <a href="Redis.html">Redis</a></em></dt> - <dd><p>Set a key's expiration to a specific Unix timestamp in seconds. If -connected to Redis >= 7.0.0 you can pass an optional 'mode' argument.</p></dd><dt><a href="Redis.html#method_expiretime"> + <dd><p>Set a key to expire at an exact unix timestamp.</p></dd><dt><a href="Redis.html#method_expiretime"> Redis::expiretime</a>() — <em>Method in class <a href="Redis.html">Redis</a></em></dt> <dd><p>Get the expiration of a given key as a unix timestamp</p></dd><dt><a href="RedisArray.html#method_exec"> RedisArray::exec</a>() — <em>Method in class <a href="RedisArray.html">RedisArray</a></em></dt> @@ -341,7 +339,7 @@ Redis::getBit</a>() — <em>Method in class <a href="Redis.html">Redis</a></ Redis::getEx</a>() — <em>Method in class <a href="Redis.html">Redis</a></em></dt> <dd></dd><dt><a href="Redis.html#method_getDBNum"> Redis::getDBNum</a>() — <em>Method in class <a href="Redis.html">Redis</a></em></dt> - <dd></dd><dt><a href="Redis.html#method_getDel"> + <dd><p>Get the database number PhpRedis thinks we're connected to.</p></dd><dt><a href="Redis.html#method_getDel"> Redis::getDel</a>() — <em>Method in class <a href="Redis.html">Redis</a></em></dt> <dd></dd><dt><a href="Redis.html#method_getHost"> Redis::getHost</a>() — <em>Method in class <a href="Redis.html">Redis</a></em></dt> diff --git a/docs/doctum-search.json b/docs/doctum-search.json index f2cb7669..7929cf10 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":"<p>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.</p>"},{"t":"M","n":"Redis::__destruct","p":"Redis.html#method___destruct","d":null},{"t":"M","n":"Redis::_compress","p":"Redis.html#method__compress","d":"<p>Compress a value with the currently configured compressor as set with\nRedis::setOption().</p>"},{"t":"M","n":"Redis::_uncompress","p":"Redis.html#method__uncompress","d":"<p>Uncompress the provided argument that has been compressed with the\ncurrently configured compressor as set with Redis::setOption().</p>"},{"t":"M","n":"Redis::_prefix","p":"Redis.html#method__prefix","d":"<p>Prefix the passed argument with the currently set key prefix as set\nwith Redis::setOption().</p>"},{"t":"M","n":"Redis::_serialize","p":"Redis.html#method__serialize","d":"<p>Serialize the provided value with the currently set serializer as set\nwith Redis::setOption().</p>"},{"t":"M","n":"Redis::_unserialize","p":"Redis.html#method__unserialize","d":"<p>Unserialize the passed argument with the currently set serializer as set\nwith Redis::setOption().</p>"},{"t":"M","n":"Redis::_pack","p":"Redis.html#method__pack","d":"<p>Pack the provided value with the configured serializer and compressor\nas set with Redis::setOption().</p>"},{"t":"M","n":"Redis::_unpack","p":"Redis.html#method__unpack","d":"<p>Unpack the provided value with the configured compressor and serializer\nas set with Redis::setOption().</p>"},{"t":"M","n":"Redis::acl","p":"Redis.html#method_acl","d":null},{"t":"M","n":"Redis::append","p":"Redis.html#method_append","d":"<p>Append data to a Redis STRING key.</p>"},{"t":"M","n":"Redis::auth","p":"Redis.html#method_auth","d":"<p>Authenticate a Redis connection after its been established.</p>"},{"t":"M","n":"Redis::bgSave","p":"Redis.html#method_bgSave","d":"<p>Execute a save of the Redis database in the background.</p>"},{"t":"M","n":"Redis::bgrewriteaof","p":"Redis.html#method_bgrewriteaof","d":"<p>Asynchronously rewrite Redis' append-only file</p>"},{"t":"M","n":"Redis::bitcount","p":"Redis.html#method_bitcount","d":"<p>Count the number of set bits in a Redis string.</p>"},{"t":"M","n":"Redis::bitop","p":"Redis.html#method_bitop","d":null},{"t":"M","n":"Redis::bitpos","p":"Redis.html#method_bitpos","d":"<p>Return the position of the first bit set to 0 or 1 in a string.</p>"},{"t":"M","n":"Redis::blPop","p":"Redis.html#method_blPop","d":"<p>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.</p>"},{"t":"M","n":"Redis::brPop","p":"Redis.html#method_brPop","d":"<p>Pop an element off of the end of a Redis list or lists, potentially blocking up to a specified timeout.</p>"},{"t":"M","n":"Redis::brpoplpush","p":"Redis.html#method_brpoplpush","d":"<p>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.</p>"},{"t":"M","n":"Redis::bzPopMax","p":"Redis.html#method_bzPopMax","d":"<p>POP the maximum scoring element off of one or more sorted sets, blocking up to a specified\ntimeout if no elements are available.</p>"},{"t":"M","n":"Redis::bzPopMin","p":"Redis.html#method_bzPopMin","d":"<p>POP the minimum scoring element off of one or more sorted sets, blocking up to a specified timeout\nif no elements are available</p>"},{"t":"M","n":"Redis::bzmpop","p":"Redis.html#method_bzmpop","d":"<p>POP one or more elements from one or more sorted sets, blocking up to a specified amount of time\nwhen no elements are available.</p>"},{"t":"M","n":"Redis::zmpop","p":"Redis.html#method_zmpop","d":"<p>POP one or more of the highest or lowest scoring elements from one or more sorted sets.</p>"},{"t":"M","n":"Redis::blmpop","p":"Redis.html#method_blmpop","d":"<p>Pop one or more elements from one or more Redis LISTs, blocking up to a specified timeout when\nno elements are available.</p>"},{"t":"M","n":"Redis::lmpop","p":"Redis.html#method_lmpop","d":"<p>Pop one or more elements off of one or more Redis LISTs.</p>"},{"t":"M","n":"Redis::clearLastError","p":"Redis.html#method_clearLastError","d":"<p>Reset any last error on the connection to NULL</p>"},{"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":"<p>Execute the Redis CONFIG command in a variety of ways. What the command does in particular depends\non the <code>$operation</code> qualifier.</p>"},{"t":"M","n":"Redis::connect","p":"Redis.html#method_connect","d":null},{"t":"M","n":"Redis::copy","p":"Redis.html#method_copy","d":"<p>Make a copy of a key.</p>"},{"t":"M","n":"Redis::dbSize","p":"Redis.html#method_dbSize","d":"<p>Return the number of keys in the currently selected Redis database.</p>"},{"t":"M","n":"Redis::debug","p":"Redis.html#method_debug","d":null},{"t":"M","n":"Redis::decr","p":"Redis.html#method_decr","d":"<p>Decrement a Redis integer by 1 or a provided value.</p>"},{"t":"M","n":"Redis::decrBy","p":"Redis.html#method_decrBy","d":"<p>Decrement a redis integer by a value</p>"},{"t":"M","n":"Redis::del","p":"Redis.html#method_del","d":"<p>Delete one or more keys from Redis.</p>"},{"t":"M","n":"Redis::delete","p":"Redis.html#method_delete","d":""},{"t":"M","n":"Redis::discard","p":"Redis.html#method_discard","d":"<p>Discard a transaction currently in progress.</p>"},{"t":"M","n":"Redis::dump","p":"Redis.html#method_dump","d":"<p>Dump Redis' internal binary representation of a key.</p>"},{"t":"M","n":"Redis::echo","p":"Redis.html#method_echo","d":"<p>Have Redis repeat back an arbitrary string to the client.</p>"},{"t":"M","n":"Redis::eval","p":"Redis.html#method_eval","d":"<p>Execute a LUA script on the redis server.</p>"},{"t":"M","n":"Redis::eval_ro","p":"Redis.html#method_eval_ro","d":"<p>This is simply the read-only variant of eval, meaning the underlying script\nmay not modify data in redis.</p>"},{"t":"M","n":"Redis::evalsha","p":"Redis.html#method_evalsha","d":"<p>Execute a LUA script on the server but instead of sending the script, send\nthe SHA1 hash of the script.</p>"},{"t":"M","n":"Redis::evalsha_ro","p":"Redis.html#method_evalsha_ro","d":"<p>This is simply the read-only variant of evalsha, meaning the underlying script\nmay not modify data in redis.</p>"},{"t":"M","n":"Redis::exec","p":"Redis.html#method_exec","d":"<p>Execute either a MULTI or PIPELINE block and return the array of replies.</p>"},{"t":"M","n":"Redis::exists","p":"Redis.html#method_exists","d":"<p>Test if one or more keys exist.</p>"},{"t":"M","n":"Redis::expire","p":"Redis.html#method_expire","d":"<p>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.</p>"},{"t":"M","n":"Redis::expireAt","p":"Redis.html#method_expireAt","d":"<p>Set a key's expiration to a specific Unix timestamp in seconds. If\nconnected to Redis >= 7.0.0 you can pass an optional 'mode' argument.</p>"},{"t":"M","n":"Redis::failover","p":"Redis.html#method_failover","d":null},{"t":"M","n":"Redis::expiretime","p":"Redis.html#method_expiretime","d":"<p>Get the expiration of a given key as a unix timestamp</p>"},{"t":"M","n":"Redis::pexpiretime","p":"Redis.html#method_pexpiretime","d":"<p>Get the expriation timestamp of a given Redis key but in milliseconds.</p>"},{"t":"M","n":"Redis::flushAll","p":"Redis.html#method_flushAll","d":"<p>Deletes every key in all Redis databases</p>"},{"t":"M","n":"Redis::flushDB","p":"Redis.html#method_flushDB","d":"<p>Deletes all the keys of the currently selected database.</p>"},{"t":"M","n":"Redis::geoadd","p":"Redis.html#method_geoadd","d":null},{"t":"M","n":"Redis::geodist","p":"Redis.html#method_geodist","d":null},{"t":"M","n":"Redis::geohash","p":"Redis.html#method_geohash","d":null},{"t":"M","n":"Redis::geopos","p":"Redis.html#method_geopos","d":null},{"t":"M","n":"Redis::georadius","p":"Redis.html#method_georadius","d":null},{"t":"M","n":"Redis::georadius_ro","p":"Redis.html#method_georadius_ro","d":null},{"t":"M","n":"Redis::georadiusbymember","p":"Redis.html#method_georadiusbymember","d":null},{"t":"M","n":"Redis::georadiusbymember_ro","p":"Redis.html#method_georadiusbymember_ro","d":null},{"t":"M","n":"Redis::geosearch","p":"Redis.html#method_geosearch","d":null},{"t":"M","n":"Redis::geosearchstore","p":"Redis.html#method_geosearchstore","d":null},{"t":"M","n":"Redis::get","p":"Redis.html#method_get","d":null},{"t":"M","n":"Redis::getAuth","p":"Redis.html#method_getAuth","d":"<p>Get the authentication information on the connection, if any.</p>"},{"t":"M","n":"Redis::getBit","p":"Redis.html#method_getBit","d":null},{"t":"M","n":"Redis::getEx","p":"Redis.html#method_getEx","d":null},{"t":"M","n":"Redis::getDBNum","p":"Redis.html#method_getDBNum","d":null},{"t":"M","n":"Redis::getDel","p":"Redis.html#method_getDel","d":null},{"t":"M","n":"Redis::getHost","p":"Redis.html#method_getHost","d":"<p>Return the host or Unix socket we are connected to.</p>"},{"t":"M","n":"Redis::getLastError","p":"Redis.html#method_getLastError","d":"<p>Get the last error returned to us from Redis, if any.</p>"},{"t":"M","n":"Redis::getMode","p":"Redis.html#method_getMode","d":"<p>Returns whether the connection is in ATOMIC, MULTI, or PIPELINE mode</p>"},{"t":"M","n":"Redis::getOption","p":"Redis.html#method_getOption","d":"<p>Retrieve the value of a configuration setting as set by Redis::setOption()</p>"},{"t":"M","n":"Redis::getPersistentID","p":"Redis.html#method_getPersistentID","d":"<p>Get the persistent connection ID, if there is one.</p>"},{"t":"M","n":"Redis::getPort","p":"Redis.html#method_getPort","d":"<p>Get the port we are connected to. This number will be zero if we are connected to a unix socket.</p>"},{"t":"M","n":"Redis::getRange","p":"Redis.html#method_getRange","d":"<p>Retrieve a substring of a string by index.</p>"},{"t":"M","n":"Redis::lcs","p":"Redis.html#method_lcs","d":"<p>Get the longest common subsequence between two string keys.</p>"},{"t":"M","n":"Redis::getReadTimeout","p":"Redis.html#method_getReadTimeout","d":"<p>Get the currently set read timeout on the connection.</p>"},{"t":"M","n":"Redis::getset","p":"Redis.html#method_getset","d":"<p>Sets a key and returns any previously set value, if the key already existed.</p>"},{"t":"M","n":"Redis::getTimeout","p":"Redis.html#method_getTimeout","d":"<p>Retrieve any set connection timeout</p>"},{"t":"M","n":"Redis::getTransferredBytes","p":"Redis.html#method_getTransferredBytes","d":null},{"t":"M","n":"Redis::hDel","p":"Redis.html#method_hDel","d":"<p>Remove one or more fields from a hash.</p>"},{"t":"M","n":"Redis::hExists","p":"Redis.html#method_hExists","d":"<p>Checks whether a field exists in a hash.</p>"},{"t":"M","n":"Redis::hGet","p":"Redis.html#method_hGet","d":null},{"t":"M","n":"Redis::hGetAll","p":"Redis.html#method_hGetAll","d":"<p>Read every field and value from a hash.</p>"},{"t":"M","n":"Redis::hIncrBy","p":"Redis.html#method_hIncrBy","d":"<p>Increment a hash field's value by an integer</p>"},{"t":"M","n":"Redis::hIncrByFloat","p":"Redis.html#method_hIncrByFloat","d":"<p>Increment a hash field by a floating point value</p>"},{"t":"M","n":"Redis::hKeys","p":"Redis.html#method_hKeys","d":"<p>Retrieve all of the fields of a hash.</p>"},{"t":"M","n":"Redis::hLen","p":"Redis.html#method_hLen","d":"<p>Get the number of fields in a hash.</p>"},{"t":"M","n":"Redis::hMget","p":"Redis.html#method_hMget","d":"<p>Get one or more fields from a hash.</p>"},{"t":"M","n":"Redis::hMset","p":"Redis.html#method_hMset","d":"<p>Add or update one or more hash fields and values</p>"},{"t":"M","n":"Redis::hRandField","p":"Redis.html#method_hRandField","d":"<p>Get one or more random field from a hash.</p>"},{"t":"M","n":"Redis::hSet","p":"Redis.html#method_hSet","d":null},{"t":"M","n":"Redis::hSetNx","p":"Redis.html#method_hSetNx","d":"<p>Set a hash field and value, but only if that field does not exist</p>"},{"t":"M","n":"Redis::hStrLen","p":"Redis.html#method_hStrLen","d":"<p>Get the string length of a hash field</p>"},{"t":"M","n":"Redis::hVals","p":"Redis.html#method_hVals","d":"<p>Get all of the values from a hash.</p>"},{"t":"M","n":"Redis::hscan","p":"Redis.html#method_hscan","d":"<p>Iterate over the fields and values of a hash in an incremental fashion.</p>"},{"t":"M","n":"Redis::incr","p":"Redis.html#method_incr","d":"<p>Increment a key's value, optionally by a specifc amount.</p>"},{"t":"M","n":"Redis::incrBy","p":"Redis.html#method_incrBy","d":"<p>Increment a key by a specific integer value</p>"},{"t":"M","n":"Redis::incrByFloat","p":"Redis.html#method_incrByFloat","d":"<p>Increment a numeric key by a floating point value.</p>"},{"t":"M","n":"Redis::info","p":"Redis.html#method_info","d":"<p>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.</p>"},{"t":"M","n":"Redis::isConnected","p":"Redis.html#method_isConnected","d":"<p>Check if we are currently connected to a Redis instance.</p>"},{"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":null},{"t":"M","n":"Redis::lMove","p":"Redis.html#method_lMove","d":null},{"t":"M","n":"Redis::lPop","p":"Redis.html#method_lPop","d":null},{"t":"M","n":"Redis::lPos","p":"Redis.html#method_lPos","d":null},{"t":"M","n":"Redis::lPush","p":"Redis.html#method_lPush","d":""},{"t":"M","n":"Redis::rPush","p":"Redis.html#method_rPush","d":""},{"t":"M","n":"Redis::lPushx","p":"Redis.html#method_lPushx","d":""},{"t":"M","n":"Redis::rPushx","p":"Redis.html#method_rPushx","d":""},{"t":"M","n":"Redis::lSet","p":"Redis.html#method_lSet","d":null},{"t":"M","n":"Redis::lastSave","p":"Redis.html#method_lastSave","d":null},{"t":"M","n":"Redis::lindex","p":"Redis.html#method_lindex","d":null},{"t":"M","n":"Redis::lrange","p":"Redis.html#method_lrange","d":null},{"t":"M","n":"Redis::lrem","p":"Redis.html#method_lrem","d":""},{"t":"M","n":"Redis::ltrim","p":"Redis.html#method_ltrim","d":null},{"t":"M","n":"Redis::mget","p":"Redis.html#method_mget","d":""},{"t":"M","n":"Redis::migrate","p":"Redis.html#method_migrate","d":null},{"t":"M","n":"Redis::move","p":"Redis.html#method_move","d":null},{"t":"M","n":"Redis::mset","p":"Redis.html#method_mset","d":null},{"t":"M","n":"Redis::msetnx","p":"Redis.html#method_msetnx","d":null},{"t":"M","n":"Redis::multi","p":"Redis.html#method_multi","d":null},{"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":null},{"t":"M","n":"Redis::pexpire","p":"Redis.html#method_pexpire","d":"<p>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.</p>"},{"t":"M","n":"Redis::pexpireAt","p":"Redis.html#method_pexpireAt","d":"<p>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.</p>"},{"t":"M","n":"Redis::pfadd","p":"Redis.html#method_pfadd","d":"<p>Add one or more elements to a Redis HyperLogLog key</p>"},{"t":"M","n":"Redis::pfcount","p":"Redis.html#method_pfcount","d":"<p>Retrieve the cardinality of a Redis HyperLogLog key.</p>"},{"t":"M","n":"Redis::pfmerge","p":"Redis.html#method_pfmerge","d":"<p>Merge one or more source HyperLogLog sets into a destination set.</p>"},{"t":"M","n":"Redis::ping","p":"Redis.html#method_ping","d":"<p>PING the redis server with an optional string argument.</p>"},{"t":"M","n":"Redis::pipeline","p":"Redis.html#method_pipeline","d":"<p>Enter into pipeline mode.</p>"},{"t":"M","n":"Redis::popen","p":"Redis.html#method_popen","d":""},{"t":"M","n":"Redis::psetex","p":"Redis.html#method_psetex","d":""},{"t":"M","n":"Redis::psubscribe","p":"Redis.html#method_psubscribe","d":"<p>Subscribe to one or more glob-style patterns</p>"},{"t":"M","n":"Redis::pttl","p":"Redis.html#method_pttl","d":"<p>Get a keys time to live in milliseconds.</p>"},{"t":"M","n":"Redis::publish","p":"Redis.html#method_publish","d":"<p>Publish a message to a pubsub channel</p>"},{"t":"M","n":"Redis::pubsub","p":"Redis.html#method_pubsub","d":null},{"t":"M","n":"Redis::punsubscribe","p":"Redis.html#method_punsubscribe","d":"<p>Unsubscribe from one or more channels by pattern</p>"},{"t":"M","n":"Redis::rPop","p":"Redis.html#method_rPop","d":"<p>Pop one or more elements from the end of a list.</p>"},{"t":"M","n":"Redis::randomKey","p":"Redis.html#method_randomKey","d":"<p>Return a random key from the current database</p>"},{"t":"M","n":"Redis::rawcommand","p":"Redis.html#method_rawcommand","d":"<p>Execute any arbitrary Redis command by name.</p>"},{"t":"M","n":"Redis::rename","p":"Redis.html#method_rename","d":"<p>Unconditionally rename a key from $old_name to $new_name</p>"},{"t":"M","n":"Redis::renameNx","p":"Redis.html#method_renameNx","d":"<p>Renames $key_src to $key_dst but only if newkey does not exist.</p>"},{"t":"M","n":"Redis::reset","p":"Redis.html#method_reset","d":"<p>Reset the state of the connection.</p>"},{"t":"M","n":"Redis::restore","p":"Redis.html#method_restore","d":"<p>Restore a key by the binary payload generated by the DUMP command.</p>"},{"t":"M","n":"Redis::role","p":"Redis.html#method_role","d":"<p>Query whether the connected instance is a primary or replica</p>"},{"t":"M","n":"Redis::rpoplpush","p":"Redis.html#method_rpoplpush","d":"<p>Atomically pop an element off the end of a Redis LIST and push it to the beginning of\nanother.</p>"},{"t":"M","n":"Redis::sAdd","p":"Redis.html#method_sAdd","d":"<p>Add one or more values to a Redis SET key.</p>"},{"t":"M","n":"Redis::sAddArray","p":"Redis.html#method_sAddArray","d":"<p>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.</p>"},{"t":"M","n":"Redis::sDiff","p":"Redis.html#method_sDiff","d":"<p>Given one or more Redis SETS, this command returns all of the members from the first\nset that are not in any subsequent set.</p>"},{"t":"M","n":"Redis::sDiffStore","p":"Redis.html#method_sDiffStore","d":"<p>This method performs the same operation as SDIFF except it stores the resulting diff\nvalues in a specified destination key.</p>"},{"t":"M","n":"Redis::sInter","p":"Redis.html#method_sInter","d":"<p>Given one or more Redis SET keys, this command will return all of the elements that are\nin every one.</p>"},{"t":"M","n":"Redis::sintercard","p":"Redis.html#method_sintercard","d":"<p>Compute the intersection of one or more sets and return the cardinality of the result.</p>"},{"t":"M","n":"Redis::sInterStore","p":"Redis.html#method_sInterStore","d":"<p>Perform the intersection of one or more Redis SETs, storing the result in a destination\nkey, rather than returning them.</p>"},{"t":"M","n":"Redis::sMembers","p":"Redis.html#method_sMembers","d":"<p>Retrieve every member from a set key.</p>"},{"t":"M","n":"Redis::sMisMember","p":"Redis.html#method_sMisMember","d":"<p>Check if one or more values are members of a set.</p>"},{"t":"M","n":"Redis::sMove","p":"Redis.html#method_sMove","d":"<p>Pop a member from one set and push it onto another. This command will create the\ndestination set if it does not currently exist.</p>"},{"t":"M","n":"Redis::sPop","p":"Redis.html#method_sPop","d":"<p>Remove one or more elements from a set.</p>"},{"t":"M","n":"Redis::sRandMember","p":"Redis.html#method_sRandMember","d":"<p>Retrieve one or more random members of a set.</p>"},{"t":"M","n":"Redis::sUnion","p":"Redis.html#method_sUnion","d":"<p>Returns the union of one or more Redis SET keys.</p>"},{"t":"M","n":"Redis::sUnionStore","p":"Redis.html#method_sUnionStore","d":"<p>Perform a union of one or more Redis SET keys and store the result in a new set</p>"},{"t":"M","n":"Redis::save","p":"Redis.html#method_save","d":"<p>Persist the Redis database to disk. This command will block the server until the save is\ncompleted. For a nonblocking alternative, see Redis::bgsave().</p>"},{"t":"M","n":"Redis::scan","p":"Redis.html#method_scan","d":"<p>Incrementally scan the Redis keyspace, with optional pattern and type matching.</p>"},{"t":"M","n":"Redis::scard","p":"Redis.html#method_scard","d":"<p>Retrieve the number of members in a Redis set.</p>"},{"t":"M","n":"Redis::script","p":"Redis.html#method_script","d":"<p>An administrative command used to interact with LUA scripts stored on the server.</p>"},{"t":"M","n":"Redis::select","p":"Redis.html#method_select","d":"<p>Select a specific Redis database.</p>"},{"t":"M","n":"Redis::set","p":"Redis.html#method_set","d":"<p>Create or set a Redis STRING key to a value.</p>"},{"t":"M","n":"Redis::setBit","p":"Redis.html#method_setBit","d":"<p>Set a specific bit in a Redis string to zero or one</p>"},{"t":"M","n":"Redis::setRange","p":"Redis.html#method_setRange","d":"<p>Update or append to a Redis string at a specific starting index</p>"},{"t":"M","n":"Redis::setOption","p":"Redis.html#method_setOption","d":"<p>Set a configurable option on the Redis object.</p>"},{"t":"M","n":"Redis::setex","p":"Redis.html#method_setex","d":"<p>Set a Redis STRING key with a specific expiration in seconds.</p>"},{"t":"M","n":"Redis::setnx","p":"Redis.html#method_setnx","d":"<p>Set a key to a value, but only if that key does not already exist.</p>"},{"t":"M","n":"Redis::sismember","p":"Redis.html#method_sismember","d":"<p>Check whether a given value is the member of a Redis SET.</p>"},{"t":"M","n":"Redis::slaveof","p":"Redis.html#method_slaveof","d":"<p>Turn a redis instance into a replica of another or promote a replica\nto a primary.</p>"},{"t":"M","n":"Redis::replicaof","p":"Redis.html#method_replicaof","d":"<p>Used to turn a Redis instance into a replica of another, or to remove\nreplica status promoting the instance to a primary.</p>"},{"t":"M","n":"Redis::touch","p":"Redis.html#method_touch","d":"<p>Update one or more keys last modified metadata.</p>"},{"t":"M","n":"Redis::slowlog","p":"Redis.html#method_slowlog","d":"<p>Interact with Redis' slowlog functionality in various ways, depending\non the value of 'operation'.</p>"},{"t":"M","n":"Redis::sort","p":"Redis.html#method_sort","d":"<p>Sort the contents of a Redis key in various ways.</p>"},{"t":"M","n":"Redis::sort_ro","p":"Redis.html#method_sort_ro","d":"<p>This is simply a read-only variant of the sort command</p>"},{"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":"<p>Remove one or more values from a Redis SET key.</p>"},{"t":"M","n":"Redis::sscan","p":"Redis.html#method_sscan","d":"<p>Scan the members of a redis SET key.</p>"},{"t":"M","n":"Redis::strlen","p":"Redis.html#method_strlen","d":"<p>Retrieve the length of a Redis STRING key.</p>"},{"t":"M","n":"Redis::subscribe","p":"Redis.html#method_subscribe","d":"<p>Subscribe to one or more Redis pubsub channels.</p>"},{"t":"M","n":"Redis::swapdb","p":"Redis.html#method_swapdb","d":"<p>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.</p>"},{"t":"M","n":"Redis::time","p":"Redis.html#method_time","d":"<p>Retrieve the server time from the connected Redis instance.</p>"},{"t":"M","n":"Redis::ttl","p":"Redis.html#method_ttl","d":"<p>Get the amount of time a Redis key has before it will expire, in seconds.</p>"},{"t":"M","n":"Redis::type","p":"Redis.html#method_type","d":"<p>Get the type of a given Redis key.</p>"},{"t":"M","n":"Redis::unlink","p":"Redis.html#method_unlink","d":"<p>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.</p>"},{"t":"M","n":"Redis::unsubscribe","p":"Redis.html#method_unsubscribe","d":"<p>Unsubscribe from one or more subscribed channels.</p>"},{"t":"M","n":"Redis::unwatch","p":"Redis.html#method_unwatch","d":"<p>Remove any previously WATCH'ed keys in a transaction.</p>"},{"t":"M","n":"Redis::watch","p":"Redis.html#method_watch","d":""},{"t":"M","n":"Redis::wait","p":"Redis.html#method_wait","d":"<p>Block the client up to the provided timeout until a certain number of replicas have confirmed\nrecieving them.</p>"},{"t":"M","n":"Redis::xack","p":"Redis.html#method_xack","d":null},{"t":"M","n":"Redis::xadd","p":"Redis.html#method_xadd","d":"<p>Append a message to a stream.</p>"},{"t":"M","n":"Redis::xautoclaim","p":"Redis.html#method_xautoclaim","d":null},{"t":"M","n":"Redis::xclaim","p":"Redis.html#method_xclaim","d":null},{"t":"M","n":"Redis::xdel","p":"Redis.html#method_xdel","d":"<p>Remove one or more specific IDs from a stream.</p>"},{"t":"M","n":"Redis::xgroup","p":"Redis.html#method_xgroup","d":"XGROUP"},{"t":"M","n":"Redis::xinfo","p":"Redis.html#method_xinfo","d":"<p>Retrieve information about a stream key.</p>"},{"t":"M","n":"Redis::xlen","p":"Redis.html#method_xlen","d":"<p>Get the number of messages in a Redis STREAM key.</p>"},{"t":"M","n":"Redis::xpending","p":"Redis.html#method_xpending","d":"<p>Interact with stream messages that have been consumed by a consumer group but not yet\nacknowledged with XACK.</p>"},{"t":"M","n":"Redis::xrange","p":"Redis.html#method_xrange","d":"<p>Get a range of entries from a STREAM key.</p>"},{"t":"M","n":"Redis::xread","p":"Redis.html#method_xread","d":"<p>Consume one or more unconsumed elements in one or more streams.</p>"},{"t":"M","n":"Redis::xreadgroup","p":"Redis.html#method_xreadgroup","d":"<p>Read one or more messages using a consumer group.</p>"},{"t":"M","n":"Redis::xrevrange","p":"Redis.html#method_xrevrange","d":"<p>Get a range of entries from a STREAM ke in reverse cronological order.</p>"},{"t":"M","n":"Redis::xtrim","p":"Redis.html#method_xtrim","d":"<p>Truncate a STREAM key in various ways.</p>"},{"t":"M","n":"Redis::zAdd","p":"Redis.html#method_zAdd","d":"<p>Add one or more elements and scores to a Redis sorted set.</p>"},{"t":"M","n":"Redis::zCard","p":"Redis.html#method_zCard","d":"<p>Return the number of elements in a sorted set.</p>"},{"t":"M","n":"Redis::zCount","p":"Redis.html#method_zCount","d":"<p>Count the number of members in a sorted set with scores inside a provided range.</p>"},{"t":"M","n":"Redis::zIncrBy","p":"Redis.html#method_zIncrBy","d":"<p>Create or increment the score of a member in a Redis sorted set</p>"},{"t":"M","n":"Redis::zLexCount","p":"Redis.html#method_zLexCount","d":"<p>Count the number of elements in a sorted set whos members fall within the provided\nlexographical range.</p>"},{"t":"M","n":"Redis::zMscore","p":"Redis.html#method_zMscore","d":"<p>Retrieve the score of one or more members in a sorted set.</p>"},{"t":"M","n":"Redis::zPopMax","p":"Redis.html#method_zPopMax","d":"<p>Pop one or more of the highest scoring elements from a sorted set.</p>"},{"t":"M","n":"Redis::zPopMin","p":"Redis.html#method_zPopMin","d":"<p>Pop one or more of the lowest scoring elements from a sorted set.</p>"},{"t":"M","n":"Redis::zRange","p":"Redis.html#method_zRange","d":"<p>Retrieve a range of elements of a sorted set between a start and end point.</p>"},{"t":"M","n":"Redis::zRangeByLex","p":"Redis.html#method_zRangeByLex","d":"<p>Retrieve a range of elements from a sorted set by legographical range.</p>"},{"t":"M","n":"Redis::zRangeByScore","p":"Redis.html#method_zRangeByScore","d":"<p>Retrieve a range of members from a sorted set by their score.</p>"},{"t":"M","n":"Redis::zrangestore","p":"Redis.html#method_zrangestore","d":"<p>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</p>"},{"t":"M","n":"Redis::zRandMember","p":"Redis.html#method_zRandMember","d":"<p>Retrieve one or more random members from a Redis sorted set.</p>"},{"t":"M","n":"Redis::zRank","p":"Redis.html#method_zRank","d":"<p>Get the rank of a member of a sorted set, by score.</p>"},{"t":"M","n":"Redis::zRem","p":"Redis.html#method_zRem","d":"<p>Remove one or more members from a Redis sorted set.</p>"},{"t":"M","n":"Redis::zRemRangeByLex","p":"Redis.html#method_zRemRangeByLex","d":"<p>Remove zero or more elements from a Redis sorted set by legographical range.</p>"},{"t":"M","n":"Redis::zRemRangeByRank","p":"Redis.html#method_zRemRangeByRank","d":"<p>Remove one or more members of a sorted set by their rank.</p>"},{"t":"M","n":"Redis::zRemRangeByScore","p":"Redis.html#method_zRemRangeByScore","d":"<p>Remove one or more members of a sorted set by their score.</p>"},{"t":"M","n":"Redis::zRevRange","p":"Redis.html#method_zRevRange","d":"<p>List the members of a Redis sorted set in reverse order</p>"},{"t":"M","n":"Redis::zRevRangeByLex","p":"Redis.html#method_zRevRangeByLex","d":"<p>List members of a Redis sorted set within a legographical range, in reverse order.</p>"},{"t":"M","n":"Redis::zRevRangeByScore","p":"Redis.html#method_zRevRangeByScore","d":"<p>List elements from a Redis sorted set by score, highest to lowest</p>"},{"t":"M","n":"Redis::zRevRank","p":"Redis.html#method_zRevRank","d":"<p>Retrieve a member of a sorted set by reverse rank.</p>"},{"t":"M","n":"Redis::zScore","p":"Redis.html#method_zScore","d":"<p>Get the score of a member of a sorted set.</p>"},{"t":"M","n":"Redis::zdiff","p":"Redis.html#method_zdiff","d":"<p>Given one or more sorted set key names, return every element that is in the first\nset but not any of the others.</p>"},{"t":"M","n":"Redis::zdiffstore","p":"Redis.html#method_zdiffstore","d":"<p>Store the difference of one or more sorted sets in a destination sorted set.</p>"},{"t":"M","n":"Redis::zinter","p":"Redis.html#method_zinter","d":"<p>Compute the intersection of one or more sorted sets and return the members</p>"},{"t":"M","n":"Redis::zintercard","p":"Redis.html#method_zintercard","d":"<p>Similar to ZINTER but instead of returning the intersected values, this command returns the\ncardinality of the intersected set.</p>"},{"t":"M","n":"Redis::zinterstore","p":"Redis.html#method_zinterstore","d":"<p>Compute the intersection of one ore more sorted sets storing the result in a new sorted set.</p>"},{"t":"M","n":"Redis::zscan","p":"Redis.html#method_zscan","d":"<p>Scan the members of a sorted set incrementally, using a cursor</p>"},{"t":"M","n":"Redis::zunion","p":"Redis.html#method_zunion","d":"<p>Retrieve the union of one or more sorted sets</p>"},{"t":"M","n":"Redis::zunionstore","p":"Redis.html#method_zunionstore","d":"<p>Perform a union on one or more Redis sets and store the result in a destination sorted set.</p>"},{"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":"<p>Return the position of the first bit set to 0 or 1 in a string.</p>"},{"t":"M","n":"RedisCluster::blpop","p":"RedisCluster.html#method_blpop","d":"<p>See Redis::blpop()</p>"},{"t":"M","n":"RedisCluster::brpop","p":"RedisCluster.html#method_brpop","d":"<p>See Redis::brpop()</p>"},{"t":"M","n":"RedisCluster::brpoplpush","p":"RedisCluster.html#method_brpoplpush","d":"<p>See Redis::brpoplpush()</p>"},{"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":"<p>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.</p>"},{"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":"<p>PING an instance in the redis cluster.</p>"},{"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::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":"<p>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.</p>"},{"t":"M","n":"Redis::__destruct","p":"Redis.html#method___destruct","d":null},{"t":"M","n":"Redis::_compress","p":"Redis.html#method__compress","d":"<p>Compress a value with the currently configured compressor as set with\nRedis::setOption().</p>"},{"t":"M","n":"Redis::_uncompress","p":"Redis.html#method__uncompress","d":"<p>Uncompress the provided argument that has been compressed with the\ncurrently configured compressor as set with Redis::setOption().</p>"},{"t":"M","n":"Redis::_prefix","p":"Redis.html#method__prefix","d":"<p>Prefix the passed argument with the currently set key prefix as set\nwith Redis::setOption().</p>"},{"t":"M","n":"Redis::_serialize","p":"Redis.html#method__serialize","d":"<p>Serialize the provided value with the currently set serializer as set\nwith Redis::setOption().</p>"},{"t":"M","n":"Redis::_unserialize","p":"Redis.html#method__unserialize","d":"<p>Unserialize the passed argument with the currently set serializer as set\nwith Redis::setOption().</p>"},{"t":"M","n":"Redis::_pack","p":"Redis.html#method__pack","d":"<p>Pack the provided value with the configured serializer and compressor\nas set with Redis::setOption().</p>"},{"t":"M","n":"Redis::_unpack","p":"Redis.html#method__unpack","d":"<p>Unpack the provided value with the configured compressor and serializer\nas set with Redis::setOption().</p>"},{"t":"M","n":"Redis::acl","p":"Redis.html#method_acl","d":null},{"t":"M","n":"Redis::append","p":"Redis.html#method_append","d":"<p>Append data to a Redis STRING key.</p>"},{"t":"M","n":"Redis::auth","p":"Redis.html#method_auth","d":"<p>Authenticate a Redis connection after its been established.</p>"},{"t":"M","n":"Redis::bgSave","p":"Redis.html#method_bgSave","d":"<p>Execute a save of the Redis database in the background.</p>"},{"t":"M","n":"Redis::bgrewriteaof","p":"Redis.html#method_bgrewriteaof","d":"<p>Asynchronously rewrite Redis' append-only file</p>"},{"t":"M","n":"Redis::bitcount","p":"Redis.html#method_bitcount","d":"<p>Count the number of set bits in a Redis string.</p>"},{"t":"M","n":"Redis::bitop","p":"Redis.html#method_bitop","d":null},{"t":"M","n":"Redis::bitpos","p":"Redis.html#method_bitpos","d":"<p>Return the position of the first bit set to 0 or 1 in a string.</p>"},{"t":"M","n":"Redis::blPop","p":"Redis.html#method_blPop","d":"<p>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.</p>"},{"t":"M","n":"Redis::brPop","p":"Redis.html#method_brPop","d":"<p>Pop an element off of the end of a Redis list or lists, potentially blocking up to a specified timeout.</p>"},{"t":"M","n":"Redis::brpoplpush","p":"Redis.html#method_brpoplpush","d":"<p>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.</p>"},{"t":"M","n":"Redis::bzPopMax","p":"Redis.html#method_bzPopMax","d":"<p>POP the maximum scoring element off of one or more sorted sets, blocking up to a specified\ntimeout if no elements are available.</p>"},{"t":"M","n":"Redis::bzPopMin","p":"Redis.html#method_bzPopMin","d":"<p>POP the minimum scoring element off of one or more sorted sets, blocking up to a specified timeout\nif no elements are available</p>"},{"t":"M","n":"Redis::bzmpop","p":"Redis.html#method_bzmpop","d":"<p>POP one or more elements from one or more sorted sets, blocking up to a specified amount of time\nwhen no elements are available.</p>"},{"t":"M","n":"Redis::zmpop","p":"Redis.html#method_zmpop","d":"<p>POP one or more of the highest or lowest scoring elements from one or more sorted sets.</p>"},{"t":"M","n":"Redis::blmpop","p":"Redis.html#method_blmpop","d":"<p>Pop one or more elements from one or more Redis LISTs, blocking up to a specified timeout when\nno elements are available.</p>"},{"t":"M","n":"Redis::lmpop","p":"Redis.html#method_lmpop","d":"<p>Pop one or more elements off of one or more Redis LISTs.</p>"},{"t":"M","n":"Redis::clearLastError","p":"Redis.html#method_clearLastError","d":"<p>Reset any last error on the connection to NULL</p>"},{"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":"<p>Execute the Redis CONFIG command in a variety of ways.</p>"},{"t":"M","n":"Redis::connect","p":"Redis.html#method_connect","d":null},{"t":"M","n":"Redis::copy","p":"Redis.html#method_copy","d":"<p>Make a copy of a key.</p>"},{"t":"M","n":"Redis::dbSize","p":"Redis.html#method_dbSize","d":"<p>Return the number of keys in the currently selected Redis database.</p>"},{"t":"M","n":"Redis::debug","p":"Redis.html#method_debug","d":null},{"t":"M","n":"Redis::decr","p":"Redis.html#method_decr","d":"<p>Decrement a Redis integer by 1 or a provided value.</p>"},{"t":"M","n":"Redis::decrBy","p":"Redis.html#method_decrBy","d":"<p>Decrement a redis integer by a value</p>"},{"t":"M","n":"Redis::del","p":"Redis.html#method_del","d":"<p>Delete one or more keys from Redis.</p>"},{"t":"M","n":"Redis::delete","p":"Redis.html#method_delete","d":""},{"t":"M","n":"Redis::discard","p":"Redis.html#method_discard","d":"<p>Discard a transaction currently in progress.</p>"},{"t":"M","n":"Redis::dump","p":"Redis.html#method_dump","d":"<p>Dump Redis' internal binary representation of a key.</p>"},{"t":"M","n":"Redis::echo","p":"Redis.html#method_echo","d":"<p>Have Redis repeat back an arbitrary string to the client.</p>"},{"t":"M","n":"Redis::eval","p":"Redis.html#method_eval","d":"<p>Execute a LUA script on the redis server.</p>"},{"t":"M","n":"Redis::eval_ro","p":"Redis.html#method_eval_ro","d":"<p>This is simply the read-only variant of eval, meaning the underlying script\nmay not modify data in redis.</p>"},{"t":"M","n":"Redis::evalsha","p":"Redis.html#method_evalsha","d":"<p>Execute a LUA script on the server but instead of sending the script, send\nthe SHA1 hash of the script.</p>"},{"t":"M","n":"Redis::evalsha_ro","p":"Redis.html#method_evalsha_ro","d":"<p>This is simply the read-only variant of evalsha, meaning the underlying script\nmay not modify data in redis.</p>"},{"t":"M","n":"Redis::exec","p":"Redis.html#method_exec","d":"<p>Execute either a MULTI or PIPELINE block and return the array of replies.</p>"},{"t":"M","n":"Redis::exists","p":"Redis.html#method_exists","d":"<p>Test if one or more keys exist.</p>"},{"t":"M","n":"Redis::expire","p":"Redis.html#method_expire","d":"<p>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.</p>"},{"t":"M","n":"Redis::expireAt","p":"Redis.html#method_expireAt","d":"<p>Set a key to expire at an exact unix timestamp.</p>"},{"t":"M","n":"Redis::failover","p":"Redis.html#method_failover","d":null},{"t":"M","n":"Redis::expiretime","p":"Redis.html#method_expiretime","d":"<p>Get the expiration of a given key as a unix timestamp</p>"},{"t":"M","n":"Redis::pexpiretime","p":"Redis.html#method_pexpiretime","d":"<p>Get the expriation timestamp of a given Redis key but in milliseconds.</p>"},{"t":"M","n":"Redis::flushAll","p":"Redis.html#method_flushAll","d":"<p>Deletes every key in all Redis databases</p>"},{"t":"M","n":"Redis::flushDB","p":"Redis.html#method_flushDB","d":"<p>Deletes all the keys of the currently selected database.</p>"},{"t":"M","n":"Redis::geoadd","p":"Redis.html#method_geoadd","d":null},{"t":"M","n":"Redis::geodist","p":"Redis.html#method_geodist","d":null},{"t":"M","n":"Redis::geohash","p":"Redis.html#method_geohash","d":null},{"t":"M","n":"Redis::geopos","p":"Redis.html#method_geopos","d":null},{"t":"M","n":"Redis::georadius","p":"Redis.html#method_georadius","d":null},{"t":"M","n":"Redis::georadius_ro","p":"Redis.html#method_georadius_ro","d":null},{"t":"M","n":"Redis::georadiusbymember","p":"Redis.html#method_georadiusbymember","d":null},{"t":"M","n":"Redis::georadiusbymember_ro","p":"Redis.html#method_georadiusbymember_ro","d":null},{"t":"M","n":"Redis::geosearch","p":"Redis.html#method_geosearch","d":null},{"t":"M","n":"Redis::geosearchstore","p":"Redis.html#method_geosearchstore","d":null},{"t":"M","n":"Redis::get","p":"Redis.html#method_get","d":null},{"t":"M","n":"Redis::getAuth","p":"Redis.html#method_getAuth","d":"<p>Get the authentication information on the connection, if any.</p>"},{"t":"M","n":"Redis::getBit","p":"Redis.html#method_getBit","d":null},{"t":"M","n":"Redis::getEx","p":"Redis.html#method_getEx","d":null},{"t":"M","n":"Redis::getDBNum","p":"Redis.html#method_getDBNum","d":"<p>Get the database number PhpRedis thinks we're connected to.</p>"},{"t":"M","n":"Redis::getDel","p":"Redis.html#method_getDel","d":null},{"t":"M","n":"Redis::getHost","p":"Redis.html#method_getHost","d":"<p>Return the host or Unix socket we are connected to.</p>"},{"t":"M","n":"Redis::getLastError","p":"Redis.html#method_getLastError","d":"<p>Get the last error returned to us from Redis, if any.</p>"},{"t":"M","n":"Redis::getMode","p":"Redis.html#method_getMode","d":"<p>Returns whether the connection is in ATOMIC, MULTI, or PIPELINE mode</p>"},{"t":"M","n":"Redis::getOption","p":"Redis.html#method_getOption","d":"<p>Retrieve the value of a configuration setting as set by Redis::setOption()</p>"},{"t":"M","n":"Redis::getPersistentID","p":"Redis.html#method_getPersistentID","d":"<p>Get the persistent connection ID, if there is one.</p>"},{"t":"M","n":"Redis::getPort","p":"Redis.html#method_getPort","d":"<p>Get the port we are connected to. This number will be zero if we are connected to a unix socket.</p>"},{"t":"M","n":"Redis::getRange","p":"Redis.html#method_getRange","d":"<p>Retrieve a substring of a string by index.</p>"},{"t":"M","n":"Redis::lcs","p":"Redis.html#method_lcs","d":"<p>Get the longest common subsequence between two string keys.</p>"},{"t":"M","n":"Redis::getReadTimeout","p":"Redis.html#method_getReadTimeout","d":"<p>Get the currently set read timeout on the connection.</p>"},{"t":"M","n":"Redis::getset","p":"Redis.html#method_getset","d":"<p>Sets a key and returns any previously set value, if the key already existed.</p>"},{"t":"M","n":"Redis::getTimeout","p":"Redis.html#method_getTimeout","d":"<p>Retrieve any set connection timeout</p>"},{"t":"M","n":"Redis::getTransferredBytes","p":"Redis.html#method_getTransferredBytes","d":null},{"t":"M","n":"Redis::hDel","p":"Redis.html#method_hDel","d":"<p>Remove one or more fields from a hash.</p>"},{"t":"M","n":"Redis::hExists","p":"Redis.html#method_hExists","d":"<p>Checks whether a field exists in a hash.</p>"},{"t":"M","n":"Redis::hGet","p":"Redis.html#method_hGet","d":null},{"t":"M","n":"Redis::hGetAll","p":"Redis.html#method_hGetAll","d":"<p>Read every field and value from a hash.</p>"},{"t":"M","n":"Redis::hIncrBy","p":"Redis.html#method_hIncrBy","d":"<p>Increment a hash field's value by an integer</p>"},{"t":"M","n":"Redis::hIncrByFloat","p":"Redis.html#method_hIncrByFloat","d":"<p>Increment a hash field by a floating point value</p>"},{"t":"M","n":"Redis::hKeys","p":"Redis.html#method_hKeys","d":"<p>Retrieve all of the fields of a hash.</p>"},{"t":"M","n":"Redis::hLen","p":"Redis.html#method_hLen","d":"<p>Get the number of fields in a hash.</p>"},{"t":"M","n":"Redis::hMget","p":"Redis.html#method_hMget","d":"<p>Get one or more fields from a hash.</p>"},{"t":"M","n":"Redis::hMset","p":"Redis.html#method_hMset","d":"<p>Add or update one or more hash fields and values</p>"},{"t":"M","n":"Redis::hRandField","p":"Redis.html#method_hRandField","d":"<p>Get one or more random field from a hash.</p>"},{"t":"M","n":"Redis::hSet","p":"Redis.html#method_hSet","d":null},{"t":"M","n":"Redis::hSetNx","p":"Redis.html#method_hSetNx","d":"<p>Set a hash field and value, but only if that field does not exist</p>"},{"t":"M","n":"Redis::hStrLen","p":"Redis.html#method_hStrLen","d":"<p>Get the string length of a hash field</p>"},{"t":"M","n":"Redis::hVals","p":"Redis.html#method_hVals","d":"<p>Get all of the values from a hash.</p>"},{"t":"M","n":"Redis::hscan","p":"Redis.html#method_hscan","d":"<p>Iterate over the fields and values of a hash in an incremental fashion.</p>"},{"t":"M","n":"Redis::incr","p":"Redis.html#method_incr","d":"<p>Increment a key's value, optionally by a specifc amount.</p>"},{"t":"M","n":"Redis::incrBy","p":"Redis.html#method_incrBy","d":"<p>Increment a key by a specific integer value</p>"},{"t":"M","n":"Redis::incrByFloat","p":"Redis.html#method_incrByFloat","d":"<p>Increment a numeric key by a floating point value.</p>"},{"t":"M","n":"Redis::info","p":"Redis.html#method_info","d":"<p>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.</p>"},{"t":"M","n":"Redis::isConnected","p":"Redis.html#method_isConnected","d":"<p>Check if we are currently connected to a Redis instance.</p>"},{"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":null},{"t":"M","n":"Redis::lMove","p":"Redis.html#method_lMove","d":null},{"t":"M","n":"Redis::lPop","p":"Redis.html#method_lPop","d":null},{"t":"M","n":"Redis::lPos","p":"Redis.html#method_lPos","d":null},{"t":"M","n":"Redis::lPush","p":"Redis.html#method_lPush","d":""},{"t":"M","n":"Redis::rPush","p":"Redis.html#method_rPush","d":""},{"t":"M","n":"Redis::lPushx","p":"Redis.html#method_lPushx","d":""},{"t":"M","n":"Redis::rPushx","p":"Redis.html#method_rPushx","d":""},{"t":"M","n":"Redis::lSet","p":"Redis.html#method_lSet","d":null},{"t":"M","n":"Redis::lastSave","p":"Redis.html#method_lastSave","d":null},{"t":"M","n":"Redis::lindex","p":"Redis.html#method_lindex","d":null},{"t":"M","n":"Redis::lrange","p":"Redis.html#method_lrange","d":null},{"t":"M","n":"Redis::lrem","p":"Redis.html#method_lrem","d":""},{"t":"M","n":"Redis::ltrim","p":"Redis.html#method_ltrim","d":null},{"t":"M","n":"Redis::mget","p":"Redis.html#method_mget","d":""},{"t":"M","n":"Redis::migrate","p":"Redis.html#method_migrate","d":null},{"t":"M","n":"Redis::move","p":"Redis.html#method_move","d":null},{"t":"M","n":"Redis::mset","p":"Redis.html#method_mset","d":null},{"t":"M","n":"Redis::msetnx","p":"Redis.html#method_msetnx","d":null},{"t":"M","n":"Redis::multi","p":"Redis.html#method_multi","d":null},{"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":null},{"t":"M","n":"Redis::pexpire","p":"Redis.html#method_pexpire","d":"<p>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.</p>"},{"t":"M","n":"Redis::pexpireAt","p":"Redis.html#method_pexpireAt","d":"<p>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.</p>"},{"t":"M","n":"Redis::pfadd","p":"Redis.html#method_pfadd","d":"<p>Add one or more elements to a Redis HyperLogLog key</p>"},{"t":"M","n":"Redis::pfcount","p":"Redis.html#method_pfcount","d":"<p>Retrieve the cardinality of a Redis HyperLogLog key.</p>"},{"t":"M","n":"Redis::pfmerge","p":"Redis.html#method_pfmerge","d":"<p>Merge one or more source HyperLogLog sets into a destination set.</p>"},{"t":"M","n":"Redis::ping","p":"Redis.html#method_ping","d":"<p>PING the redis server with an optional string argument.</p>"},{"t":"M","n":"Redis::pipeline","p":"Redis.html#method_pipeline","d":"<p>Enter into pipeline mode.</p>"},{"t":"M","n":"Redis::popen","p":"Redis.html#method_popen","d":""},{"t":"M","n":"Redis::psetex","p":"Redis.html#method_psetex","d":""},{"t":"M","n":"Redis::psubscribe","p":"Redis.html#method_psubscribe","d":"<p>Subscribe to one or more glob-style patterns</p>"},{"t":"M","n":"Redis::pttl","p":"Redis.html#method_pttl","d":"<p>Get a keys time to live in milliseconds.</p>"},{"t":"M","n":"Redis::publish","p":"Redis.html#method_publish","d":"<p>Publish a message to a pubsub channel</p>"},{"t":"M","n":"Redis::pubsub","p":"Redis.html#method_pubsub","d":null},{"t":"M","n":"Redis::punsubscribe","p":"Redis.html#method_punsubscribe","d":"<p>Unsubscribe from one or more channels by pattern</p>"},{"t":"M","n":"Redis::rPop","p":"Redis.html#method_rPop","d":"<p>Pop one or more elements from the end of a list.</p>"},{"t":"M","n":"Redis::randomKey","p":"Redis.html#method_randomKey","d":"<p>Return a random key from the current database</p>"},{"t":"M","n":"Redis::rawcommand","p":"Redis.html#method_rawcommand","d":"<p>Execute any arbitrary Redis command by name.</p>"},{"t":"M","n":"Redis::rename","p":"Redis.html#method_rename","d":"<p>Unconditionally rename a key from $old_name to $new_name</p>"},{"t":"M","n":"Redis::renameNx","p":"Redis.html#method_renameNx","d":"<p>Renames $key_src to $key_dst but only if newkey does not exist.</p>"},{"t":"M","n":"Redis::reset","p":"Redis.html#method_reset","d":"<p>Reset the state of the connection.</p>"},{"t":"M","n":"Redis::restore","p":"Redis.html#method_restore","d":"<p>Restore a key by the binary payload generated by the DUMP command.</p>"},{"t":"M","n":"Redis::role","p":"Redis.html#method_role","d":"<p>Query whether the connected instance is a primary or replica</p>"},{"t":"M","n":"Redis::rpoplpush","p":"Redis.html#method_rpoplpush","d":"<p>Atomically pop an element off the end of a Redis LIST and push it to the beginning of\nanother.</p>"},{"t":"M","n":"Redis::sAdd","p":"Redis.html#method_sAdd","d":"<p>Add one or more values to a Redis SET key.</p>"},{"t":"M","n":"Redis::sAddArray","p":"Redis.html#method_sAddArray","d":"<p>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.</p>"},{"t":"M","n":"Redis::sDiff","p":"Redis.html#method_sDiff","d":"<p>Given one or more Redis SETS, this command returns all of the members from the first\nset that are not in any subsequent set.</p>"},{"t":"M","n":"Redis::sDiffStore","p":"Redis.html#method_sDiffStore","d":"<p>This method performs the same operation as SDIFF except it stores the resulting diff\nvalues in a specified destination key.</p>"},{"t":"M","n":"Redis::sInter","p":"Redis.html#method_sInter","d":"<p>Given one or more Redis SET keys, this command will return all of the elements that are\nin every one.</p>"},{"t":"M","n":"Redis::sintercard","p":"Redis.html#method_sintercard","d":"<p>Compute the intersection of one or more sets and return the cardinality of the result.</p>"},{"t":"M","n":"Redis::sInterStore","p":"Redis.html#method_sInterStore","d":"<p>Perform the intersection of one or more Redis SETs, storing the result in a destination\nkey, rather than returning them.</p>"},{"t":"M","n":"Redis::sMembers","p":"Redis.html#method_sMembers","d":"<p>Retrieve every member from a set key.</p>"},{"t":"M","n":"Redis::sMisMember","p":"Redis.html#method_sMisMember","d":"<p>Check if one or more values are members of a set.</p>"},{"t":"M","n":"Redis::sMove","p":"Redis.html#method_sMove","d":"<p>Pop a member from one set and push it onto another. This command will create the\ndestination set if it does not currently exist.</p>"},{"t":"M","n":"Redis::sPop","p":"Redis.html#method_sPop","d":"<p>Remove one or more elements from a set.</p>"},{"t":"M","n":"Redis::sRandMember","p":"Redis.html#method_sRandMember","d":"<p>Retrieve one or more random members of a set.</p>"},{"t":"M","n":"Redis::sUnion","p":"Redis.html#method_sUnion","d":"<p>Returns the union of one or more Redis SET keys.</p>"},{"t":"M","n":"Redis::sUnionStore","p":"Redis.html#method_sUnionStore","d":"<p>Perform a union of one or more Redis SET keys and store the result in a new set</p>"},{"t":"M","n":"Redis::save","p":"Redis.html#method_save","d":"<p>Persist the Redis database to disk. This command will block the server until the save is\ncompleted. For a nonblocking alternative, see Redis::bgsave().</p>"},{"t":"M","n":"Redis::scan","p":"Redis.html#method_scan","d":"<p>Incrementally scan the Redis keyspace, with optional pattern and type matching.</p>"},{"t":"M","n":"Redis::scard","p":"Redis.html#method_scard","d":"<p>Retrieve the number of members in a Redis set.</p>"},{"t":"M","n":"Redis::script","p":"Redis.html#method_script","d":"<p>An administrative command used to interact with LUA scripts stored on the server.</p>"},{"t":"M","n":"Redis::select","p":"Redis.html#method_select","d":"<p>Select a specific Redis database.</p>"},{"t":"M","n":"Redis::set","p":"Redis.html#method_set","d":"<p>Create or set a Redis STRING key to a value.</p>"},{"t":"M","n":"Redis::setBit","p":"Redis.html#method_setBit","d":"<p>Set a specific bit in a Redis string to zero or one</p>"},{"t":"M","n":"Redis::setRange","p":"Redis.html#method_setRange","d":"<p>Update or append to a Redis string at a specific starting index</p>"},{"t":"M","n":"Redis::setOption","p":"Redis.html#method_setOption","d":"<p>Set a configurable option on the Redis object.</p>"},{"t":"M","n":"Redis::setex","p":"Redis.html#method_setex","d":"<p>Set a Redis STRING key with a specific expiration in seconds.</p>"},{"t":"M","n":"Redis::setnx","p":"Redis.html#method_setnx","d":"<p>Set a key to a value, but only if that key does not already exist.</p>"},{"t":"M","n":"Redis::sismember","p":"Redis.html#method_sismember","d":"<p>Check whether a given value is the member of a Redis SET.</p>"},{"t":"M","n":"Redis::slaveof","p":"Redis.html#method_slaveof","d":"<p>Turn a redis instance into a replica of another or promote a replica\nto a primary.</p>"},{"t":"M","n":"Redis::replicaof","p":"Redis.html#method_replicaof","d":"<p>Used to turn a Redis instance into a replica of another, or to remove\nreplica status promoting the instance to a primary.</p>"},{"t":"M","n":"Redis::touch","p":"Redis.html#method_touch","d":"<p>Update one or more keys last modified metadata.</p>"},{"t":"M","n":"Redis::slowlog","p":"Redis.html#method_slowlog","d":"<p>Interact with Redis' slowlog functionality in various ways, depending\non the value of 'operation'.</p>"},{"t":"M","n":"Redis::sort","p":"Redis.html#method_sort","d":"<p>Sort the contents of a Redis key in various ways.</p>"},{"t":"M","n":"Redis::sort_ro","p":"Redis.html#method_sort_ro","d":"<p>This is simply a read-only variant of the sort command</p>"},{"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":"<p>Remove one or more values from a Redis SET key.</p>"},{"t":"M","n":"Redis::sscan","p":"Redis.html#method_sscan","d":"<p>Scan the members of a redis SET key.</p>"},{"t":"M","n":"Redis::strlen","p":"Redis.html#method_strlen","d":"<p>Retrieve the length of a Redis STRING key.</p>"},{"t":"M","n":"Redis::subscribe","p":"Redis.html#method_subscribe","d":"<p>Subscribe to one or more Redis pubsub channels.</p>"},{"t":"M","n":"Redis::swapdb","p":"Redis.html#method_swapdb","d":"<p>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.</p>"},{"t":"M","n":"Redis::time","p":"Redis.html#method_time","d":"<p>Retrieve the server time from the connected Redis instance.</p>"},{"t":"M","n":"Redis::ttl","p":"Redis.html#method_ttl","d":"<p>Get the amount of time a Redis key has before it will expire, in seconds.</p>"},{"t":"M","n":"Redis::type","p":"Redis.html#method_type","d":"<p>Get the type of a given Redis key.</p>"},{"t":"M","n":"Redis::unlink","p":"Redis.html#method_unlink","d":"<p>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.</p>"},{"t":"M","n":"Redis::unsubscribe","p":"Redis.html#method_unsubscribe","d":"<p>Unsubscribe from one or more subscribed channels.</p>"},{"t":"M","n":"Redis::unwatch","p":"Redis.html#method_unwatch","d":"<p>Remove any previously WATCH'ed keys in a transaction.</p>"},{"t":"M","n":"Redis::watch","p":"Redis.html#method_watch","d":""},{"t":"M","n":"Redis::wait","p":"Redis.html#method_wait","d":"<p>Block the client up to the provided timeout until a certain number of replicas have confirmed\nrecieving them.</p>"},{"t":"M","n":"Redis::xack","p":"Redis.html#method_xack","d":null},{"t":"M","n":"Redis::xadd","p":"Redis.html#method_xadd","d":"<p>Append a message to a stream.</p>"},{"t":"M","n":"Redis::xautoclaim","p":"Redis.html#method_xautoclaim","d":null},{"t":"M","n":"Redis::xclaim","p":"Redis.html#method_xclaim","d":null},{"t":"M","n":"Redis::xdel","p":"Redis.html#method_xdel","d":"<p>Remove one or more specific IDs from a stream.</p>"},{"t":"M","n":"Redis::xgroup","p":"Redis.html#method_xgroup","d":"XGROUP"},{"t":"M","n":"Redis::xinfo","p":"Redis.html#method_xinfo","d":"<p>Retrieve information about a stream key.</p>"},{"t":"M","n":"Redis::xlen","p":"Redis.html#method_xlen","d":"<p>Get the number of messages in a Redis STREAM key.</p>"},{"t":"M","n":"Redis::xpending","p":"Redis.html#method_xpending","d":"<p>Interact with stream messages that have been consumed by a consumer group but not yet\nacknowledged with XACK.</p>"},{"t":"M","n":"Redis::xrange","p":"Redis.html#method_xrange","d":"<p>Get a range of entries from a STREAM key.</p>"},{"t":"M","n":"Redis::xread","p":"Redis.html#method_xread","d":"<p>Consume one or more unconsumed elements in one or more streams.</p>"},{"t":"M","n":"Redis::xreadgroup","p":"Redis.html#method_xreadgroup","d":"<p>Read one or more messages using a consumer group.</p>"},{"t":"M","n":"Redis::xrevrange","p":"Redis.html#method_xrevrange","d":"<p>Get a range of entries from a STREAM ke in reverse cronological order.</p>"},{"t":"M","n":"Redis::xtrim","p":"Redis.html#method_xtrim","d":"<p>Truncate a STREAM key in various ways.</p>"},{"t":"M","n":"Redis::zAdd","p":"Redis.html#method_zAdd","d":"<p>Add one or more elements and scores to a Redis sorted set.</p>"},{"t":"M","n":"Redis::zCard","p":"Redis.html#method_zCard","d":"<p>Return the number of elements in a sorted set.</p>"},{"t":"M","n":"Redis::zCount","p":"Redis.html#method_zCount","d":"<p>Count the number of members in a sorted set with scores inside a provided range.</p>"},{"t":"M","n":"Redis::zIncrBy","p":"Redis.html#method_zIncrBy","d":"<p>Create or increment the score of a member in a Redis sorted set</p>"},{"t":"M","n":"Redis::zLexCount","p":"Redis.html#method_zLexCount","d":"<p>Count the number of elements in a sorted set whos members fall within the provided\nlexographical range.</p>"},{"t":"M","n":"Redis::zMscore","p":"Redis.html#method_zMscore","d":"<p>Retrieve the score of one or more members in a sorted set.</p>"},{"t":"M","n":"Redis::zPopMax","p":"Redis.html#method_zPopMax","d":"<p>Pop one or more of the highest scoring elements from a sorted set.</p>"},{"t":"M","n":"Redis::zPopMin","p":"Redis.html#method_zPopMin","d":"<p>Pop one or more of the lowest scoring elements from a sorted set.</p>"},{"t":"M","n":"Redis::zRange","p":"Redis.html#method_zRange","d":"<p>Retrieve a range of elements of a sorted set between a start and end point.</p>"},{"t":"M","n":"Redis::zRangeByLex","p":"Redis.html#method_zRangeByLex","d":"<p>Retrieve a range of elements from a sorted set by legographical range.</p>"},{"t":"M","n":"Redis::zRangeByScore","p":"Redis.html#method_zRangeByScore","d":"<p>Retrieve a range of members from a sorted set by their score.</p>"},{"t":"M","n":"Redis::zrangestore","p":"Redis.html#method_zrangestore","d":"<p>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</p>"},{"t":"M","n":"Redis::zRandMember","p":"Redis.html#method_zRandMember","d":"<p>Retrieve one or more random members from a Redis sorted set.</p>"},{"t":"M","n":"Redis::zRank","p":"Redis.html#method_zRank","d":"<p>Get the rank of a member of a sorted set, by score.</p>"},{"t":"M","n":"Redis::zRem","p":"Redis.html#method_zRem","d":"<p>Remove one or more members from a Redis sorted set.</p>"},{"t":"M","n":"Redis::zRemRangeByLex","p":"Redis.html#method_zRemRangeByLex","d":"<p>Remove zero or more elements from a Redis sorted set by legographical range.</p>"},{"t":"M","n":"Redis::zRemRangeByRank","p":"Redis.html#method_zRemRangeByRank","d":"<p>Remove one or more members of a sorted set by their rank.</p>"},{"t":"M","n":"Redis::zRemRangeByScore","p":"Redis.html#method_zRemRangeByScore","d":"<p>Remove one or more members of a sorted set by their score.</p>"},{"t":"M","n":"Redis::zRevRange","p":"Redis.html#method_zRevRange","d":"<p>List the members of a Redis sorted set in reverse order</p>"},{"t":"M","n":"Redis::zRevRangeByLex","p":"Redis.html#method_zRevRangeByLex","d":"<p>List members of a Redis sorted set within a legographical range, in reverse order.</p>"},{"t":"M","n":"Redis::zRevRangeByScore","p":"Redis.html#method_zRevRangeByScore","d":"<p>List elements from a Redis sorted set by score, highest to lowest</p>"},{"t":"M","n":"Redis::zRevRank","p":"Redis.html#method_zRevRank","d":"<p>Retrieve a member of a sorted set by reverse rank.</p>"},{"t":"M","n":"Redis::zScore","p":"Redis.html#method_zScore","d":"<p>Get the score of a member of a sorted set.</p>"},{"t":"M","n":"Redis::zdiff","p":"Redis.html#method_zdiff","d":"<p>Given one or more sorted set key names, return every element that is in the first\nset but not any of the others.</p>"},{"t":"M","n":"Redis::zdiffstore","p":"Redis.html#method_zdiffstore","d":"<p>Store the difference of one or more sorted sets in a destination sorted set.</p>"},{"t":"M","n":"Redis::zinter","p":"Redis.html#method_zinter","d":"<p>Compute the intersection of one or more sorted sets and return the members</p>"},{"t":"M","n":"Redis::zintercard","p":"Redis.html#method_zintercard","d":"<p>Similar to ZINTER but instead of returning the intersected values, this command returns the\ncardinality of the intersected set.</p>"},{"t":"M","n":"Redis::zinterstore","p":"Redis.html#method_zinterstore","d":"<p>Compute the intersection of one ore more sorted sets storing the result in a new sorted set.</p>"},{"t":"M","n":"Redis::zscan","p":"Redis.html#method_zscan","d":"<p>Scan the members of a sorted set incrementally, using a cursor</p>"},{"t":"M","n":"Redis::zunion","p":"Redis.html#method_zunion","d":"<p>Retrieve the union of one or more sorted sets</p>"},{"t":"M","n":"Redis::zunionstore","p":"Redis.html#method_zunionstore","d":"<p>Perform a union on one or more Redis sets and store the result in a destination sorted set.</p>"},{"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":"<p>Return the position of the first bit set to 0 or 1 in a string.</p>"},{"t":"M","n":"RedisCluster::blpop","p":"RedisCluster.html#method_blpop","d":"<p>See Redis::blpop()</p>"},{"t":"M","n":"RedisCluster::brpop","p":"RedisCluster.html#method_brpop","d":"<p>See Redis::brpop()</p>"},{"t":"M","n":"RedisCluster::brpoplpush","p":"RedisCluster.html#method_brpoplpush","d":"<p>See Redis::brpoplpush()</p>"},{"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":"<p>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.</p>"},{"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":"<p>PING an instance in the redis cluster.</p>"},{"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::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"}]} diff --git a/docs/renderer.index b/docs/renderer.index index 6361316e..427fc853 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:"4f4f62f9f49eb59c17c3dda8e0c3ae397a6df977";s:10:"RedisArray";s:40:"fb17c785beccf1dbeedaa48afb4aa7d48fd8b655";s:12:"RedisCluster";s:40:"1783d14c476f95598062edb44dab7284b9b2680d";s:21:"RedisClusterException";s:40:"1783d14c476f95598062edb44dab7284b9b2680d";s:14:"RedisException";s:40:"4f4f62f9f49eb59c17c3dda8e0c3ae397a6df977";s:13:"RedisSentinel";s:40:"4055ace9f1cf20bef89bdb5d3219470b4c8915e6";}i:1;a:1:{i:0;s:7:"develop";}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:"0ca9052a6b2da623f76b015fa3271f4a9d1ffcf9";s:10:"RedisArray";s:40:"fb17c785beccf1dbeedaa48afb4aa7d48fd8b655";s:12:"RedisCluster";s:40:"1783d14c476f95598062edb44dab7284b9b2680d";s:21:"RedisClusterException";s:40:"1783d14c476f95598062edb44dab7284b9b2680d";s:14:"RedisException";s:40:"0ca9052a6b2da623f76b015fa3271f4a9d1ffcf9";s:13:"RedisSentinel";s:40:"4055ace9f1cf20bef89bdb5d3219470b4c8915e6";}i:1;a:1:{i:0;s:7:"develop";}i:2;a:1:{i:0;s:0:"";}}
\ No newline at end of file diff --git a/redis.stub.php b/redis.stub.php index 15288db2..a05859d0 100644 --- a/redis.stub.php +++ b/redis.stub.php @@ -238,14 +238,6 @@ class Redis { * Pop an element off the beginning of a Redis list or lists, potentially blocking up to a specified * timeout. This method may be called in two distinct ways, of which examples are provided below. * - * <code> - * // Variadic, with the final argument a timeout. - * $redis->blPop('list1', 'list2', 'list3', 1.5); - * - * // Alternatively, you can send an array of keys - * $relay->blPop(['list1', 'list2', 'list3'], 1.5); - * </code> - * * @see https://redis.io/commands/blpop/ * * @param string|array $key_or_keys This can either be a string key or an array of one or more @@ -255,6 +247,10 @@ class Redis { * the command. * * @return Redis|array|null|false Can return various things depending on command and data in Redis. + * + * @example + * $redis->blPop('list1', 'list2', 'list3', 1.5); + * $relay->blPop(['list1', 'list2', 'list3'], 1.5); */ public function blPop(string|array $key_or_keys, string|float|int $timeout_or_key, mixed ...$extra_args): Redis|array|null|false; @@ -288,14 +284,6 @@ class Redis { * * Following are examples of the two main ways to call this method. * - * <code> - * // Method 1 - Variadic, with the last argument being our timeout - * $redis->bzPopMax('key1', 'key2', 'key3', 1.5); - * - * // Method 2 - A single array of keys, followed by the timeout - * $redis->bzPopMax(['key1', 'key2', 'key3'], 1.5); - * </code> - * * **NOTE**: We reccomend calling this function with an array and a timeout as the other strategy * may be deprecated in future versions of PhpRedis * @@ -309,6 +297,10 @@ class Redis { * which needs to be a timeout. * * @return Redis|array|false The popped elements. + * + * @example + * $redis->bzPopMax('key1', 'key2', 'key3', 1.5); + * $redis->bzPopMax(['key1', 'key2', 'key3'], 1.5); */ public function bzPopMax(string|array $key, string|int $timeout_or_key, mixed ...$extra_args): Redis|array|false; @@ -393,19 +385,16 @@ class Redis { /** * Reset any last error on the connection to NULL * - * <code> - * $redis = new Redis(['host' => 'localhost']); + * @see Redis::getLastError() + * @return bool This should always return true or throw an exception if we're not connected. * + * @example + * $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()); - * </code> - * - * @see Redis::getLastError() - * @return bool This should always return true or throw an exception if we're not connected. */ public function clearLastError(): bool; @@ -416,30 +405,22 @@ class Redis { public function command(string $opt = null, string|array $arg): mixed; /** - * Execute the Redis CONFIG command in a variety of ways. What the command does in particular depends - * on the `$operation` qualifier. + * Execute the Redis CONFIG command in a variety of ways. * + * What the command does in particular depends on the `$operation` qualifier. * Operations that PhpRedis supports are: RESETSTAT, REWRITE, GET, and SET. * - * <code> - * $redis->config('GET', 'timeout'); - * $redis->config('GET', ['timeout', 'databases']); - * - * $redis->config('SET', 'timeout', 30); - * $redis->config('SET', ['timeout' => 30, 'loglevel' => 'warning']); - * </code> - * - * @param string $operation The CONFIG subcommand to execute - * @param array|string|null $key_or_setting Can either be a setting string for the GET/SET operation or - * an array of settings or settings and values. - * Note: Redis 7.0.0 is required to send an array of settings. - * @param string $value The setting value when the operation is SET. - * - * @return mixed Can return various things depending on arguments sent. + * @param string $operation The CONFIG operation to execute (e.g. GET, SET, REWRITE). + * @param array|string|null $key_or_settings One or more keys or values. + * @param string $value The value if this is a `CONFIG SET` operation. + * @see https://redis.io/commands/config * - * @see https://redis.io/commands/config - * - * */ + * @example + * $redis->config('GET', 'timeout'); + * $redis->config('GET', ['timeout', 'databases']); + * $redis->config('SET', 'timeout', 30); + * $redis->config('SET', ['timeout' => 30, 'loglevel' => 'warning']); + */ public function config(string $operation, array|string|null $key_or_settings = NULL, ?string $value = NULL): mixed; public function connect(string $host, int $port = 6379, float $timeout = 0, string $persistent_id = null, @@ -448,36 +429,8 @@ class Redis { /** * Make a copy of a key. * - * <code> * $redis = new Redis(['host' => 'localhost']); * - * $redis->pipeline() - * ->select(1) - * ->del('newkey') - * ->select(0) - * ->del('newkey') - * ->mset(['source1' => 'value1', 'exists' => 'old_value']) - * ->exec(); - * - * // Will succeed, as 'newkey' doesn't exist - * var_dump($redis->copy('source1', 'newkey')); - * - * // Will succeed, because 'newkey' doesn't exist in DB 1 - * var_dump($redis->copy('source1', 'newkey', ['db' => 1])); - * - * // Will fail, because 'exists' does exist - * var_dump($redis->copy('source1', 'exists')); - * - * // Will succeed, because even though 'exists' is a key, we sent the REPLACE option. - * var_dump($redis->copy('source1', 'exists', ['REPLACE' => true])); - * </code> - * - * **Available Options** - * - * | OPTION | TYPE | DESCRIPTION | - * | --------------- | ---- | ----------- | - * | OPT_MAX_RETRIES | int | foo | - * * @param string $src The key to copy * @param string $dst The name of the new key created from the source key. * @param array $options An array with modifiers on how COPY should operate. @@ -491,27 +444,37 @@ class Redis { * @return Redis|bool True if the copy was completed and false if not. * * @see https://redis.io/commands/copy + * + * @example + * $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])); */ public function copy(string $src, string $dst, array $options = null): Redis|bool; /** * Return the number of keys in the currently selected Redis database. * - * <code> - * $redis = new Redis(['host' => 'localhost']); + * @see https://redis.io/commands/dbsize * - * $redis->flushdb(); + * @return Redis|int The number of keys or false on failure. * + * @example + * $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()); - * </code> - * - * @see https://redis.io/commands/dbsize - * - * @return Redis|int The number of keys or false on failure. */ public function dbSize(): Redis|int|false; @@ -546,44 +509,32 @@ class Redis { /** * Decrement a redis integer by a value * - * @see https://redis.io/commands/decrby - * - * @param string $key The integer key to decrement. - * @param int $value How much to decrement the key. - * - * @return Redis|int|false The new value of the key or false on failure. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost'); * * $redis->set('counter', 3); * var_dump($redis->decrby('counter', 1)); * var_dump($redis->decrby('counter', 2)); - * - * // --- OUTPUT --- - * // int(2) - * // int(0) - * ?> * </code> + * + * @param string $key The integer key to decrement. + * @param int $value How much to decrement the key. + * + * @return Redis|int|false The new value of the key or false on failure. + * + * @see https://redis.io/commands/decrby + * */ public function decrBy(string $key, int $value): Redis|int|false; /** * Delete one or more keys from Redis. * - * @see https://redis.io/commands/del - * - * @param array|string $key_or_keys Either an array with one or more key names or a string with - * the name of a key. - * @param string $other_keys One or more additional keys passed in a variadic fashion. - * * This method can be called in two distinct ways. The first is to pass a single array * of keys to delete, and the second is to pass N arguments, all names of keys. See * below for an example of both strategies. * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * for ($i = 0; $i < 5; $i++) { @@ -592,12 +543,16 @@ class Redis { * * var_dump($redis->del('key:0', 'key:1')); * var_dump($redis->del(['key:2', 'key:3', 'key:4'])); - * - * // --- OUTPUT --- - * // int(2) - * // int(3) - * ?> * </code> + * + * @param array|string $key_or_keys Either an array with one or more key names or a string with + * the name of a key. + * @param string $other_keys One or more additional keys passed in a variadic fashion. + * + * @return Redis|int|false The number of keys that were deleted + * + * @see https://redis.io/commands/del + * */ public function del(array|string $key, string ...$other_keys): Redis|int|false; @@ -610,10 +565,7 @@ class Redis { /** * Discard a transaction currently in progress. * - * @return Redis|bool True if we could discard the transaction. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->multi()->set('foo', 'bar')->get('foo'); @@ -626,24 +578,17 @@ class Redis { * * // Redis::ATOMIC * $redis->getMode(); - * - * ?> * </code> + * + * @return Redis|bool True if we could discard the transaction. + * */ public function discard(): Redis|bool; - //public function restore(string $key, int $timeout, string $value, ?array $options = NULL): bool; /** * Dump Redis' internal binary representation of a key. * - * @see https://redis.io/commands/dump - * - * @param string $key The key to dump. - * - * @return Redis|string A binary string representing the key's value. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->del('zset'); @@ -656,38 +601,32 @@ class Redis { * // Retore it to a different name * $redis->restore('new-zset', 0, $binary); * - * // Array - * // ( - * // [zero] => 0 - * // [one] => 1 - * // [two] => 2 - * // ) * $redis->zRange('new-zset', 0, -1, true); - * ?> * </code> + * + * @param string $key The key to dump. + * + * @return Redis|string A binary string representing the key's value. + * + * @see https://redis.io/commands/dump + * */ public function dump(string $key): Redis|string; /** * Have Redis repeat back an arbitrary string to the client. * - * @see https://redis.io/commands/echo - * - * @param string $str The string to echo - * - * @return Redis|string|false The string sent to Redis or false on failure. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * var_dump($redis->echo('Hello, World')); + * </code> * - * // --- OUTPUT --- - * // string(12) "Hello, World" + * @param string $str The string to echo * - * ?> - * </code> + * @return Redis|string|false The string sent to Redis or false on failure. + * + * @see https://redis.io/commands/echo */ public function echo(string $str): Redis|string|false; @@ -719,15 +658,18 @@ class Redis { * Execute a LUA script on the server but instead of sending the script, send * the SHA1 hash of the script. * - * @see https://redis.io/commands/evalsha/ - * @see Redis::eval(); - * * @param string $script_sha 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. * @param array $args Arguments to send to the script. * @param int $num_keys The number of arguments that are keys + * + * @return mixed Returns whatever the specific script does. + * + * @see https://redis.io/commands/evalsha/ + * @see Redis::eval(); + * */ public function evalsha(string $sha1, array $args = [], int $num_keys = 0): mixed; @@ -742,13 +684,6 @@ class Redis { /** * Execute either a MULTI or PIPELINE block and return the array of replies. * - * @see https://redis.io/commands/exec - * @see https://redis.io/commands/multi - * @see Redis::pipeline() - * @see Redis::multi() - * - * @return Redis|array|false The array of pipeline'd or multi replies or false on failure. - * * <code> * $redis = new Redis(['host' => 'localhost']); * @@ -760,36 +695,22 @@ class Redis { * ->exec(); * * var_dump($res); - * - * // --- OUTPUT --- - * // array(4) { - * // [0]=> - * // bool(true) // set('foo', 'bar') - * // [1]=> - * // string(3) "bar" // get('foo') - * // [2]=> - * // int(1) // del('list') - * // [3]=> - * // int(3) // rpush('list', 'one', 'two', 'three') - * // } - * ?> * </code> + * + * @return Redis|array|false The array of pipeline'd or multi replies or false on failure. + * + * @see https://redis.io/commands/exec + * @see https://redis.io/commands/multi + * @see Redis::pipeline() + * @see Redis::multi() + * */ public function exec(): Redis|array|false; /** * Test if one or more keys exist. * - * @see https://redis.io/commands/exists - * - * @param mixed $key Either an array of keys or a string key - * @param mixed $other_keys If the previous argument was a string, you may send any number of - * additional keys to test. - * - * @return Redis|int|bool The number of keys that do exist and false on failure - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->multi() @@ -805,8 +726,15 @@ class Redis { * // --- OUTPUT --- * // int(3) * // int(1) - * ?> * </code> + * + * @param mixed $key Either an array of keys or a string key + * @param mixed $other_keys If the previous argument was a string, you may send any number of + * additional keys to test. + * + * @return Redis|int|bool The number of keys that do exist and false on failure + * + * @see https://redis.io/commands/exists */ public function exists(mixed $key, mixed ...$other_keys): Redis|int|bool; @@ -815,27 +743,45 @@ class Redis { * redis-server >= 7.0.0 you may send an additional "mode" argument which * modifies how the command will execute. * - * @see https://redis.io/commands/expire - * * @param string $key The key to set an expiration on. * @param string $mode A two character modifier that changes how the * command works. + * <code> * NX - Set expiry only if key has no expiry * XX - Set expiry only if key has an expiry * LT - Set expiry only when new expiry is < current expiry * GT - Set expiry only when new expiry is > current expiry + * </code> + * + * @return Redis|bool True if an expiration was set and false otherwise. + * @see https://redis.io/commands/expire + * */ public function expire(string $key, int $timeout, ?string $mode = NULL): Redis|bool; - /** - * Set a key's expiration to a specific Unix timestamp in seconds. If - * connected to Redis >= 7.0.0 you can pass an optional 'mode' argument. + /* + * Set a key's expiration to a specific Unix timestamp in seconds. * + * If connected to Redis >= 7.0.0 you can pass an optional 'mode' argument. * @see 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 - * command works. + * @param string $key The key to set an expiration on. + * + * @return Redis|bool True if an expiration was set, false if not. + * + */ + + /** + * Set a key to expire at an exact unix timestamp. + * + * @param string $key The key to set an expiration on. + * @param int $timestamp The unix timestamp to expire at. + * @param string $mode An option 'mode' that modifies how the command acts (see {@link Redis::expire}). + * @return Redis|bool True if an expiration was set, false if not. + * + * @see https://redis.io/commands/expireat + * @see https://redis.io/commands/expire + * @see Redis::expire() */ public function expireAt(string $key, int $timestamp, ?string $mode = NULL): Redis|bool; @@ -844,15 +790,7 @@ class Redis { /** * Get the expiration of a given key as a unix timestamp * - * @see https://redis.io/commands/expiretime - * - * @param string $key The key to check. - * - * @return Redis|int|false The timestamp when the key expires, or -1 if the key has no expiry - * and -2 if the key doesn't exist. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->set('expiry-key', 'this will last a very long time'); @@ -861,12 +799,15 @@ class Redis { * $redis->expireAt('expiry-key', 7955144542); * * var_dump($redis->expiretime('expiry-key')); + * </code> * - * // --- OUTPUT --- - * // int(7955144542) + * @param string $key The key to check. + * + * @return Redis|int|false The timestamp when the key expires, or -1 if the key has no expiry + * and -2 if the key doesn't exist. + * + * @see https://redis.io/commands/expiretime * - * ?>php - * </code> */ public function expiretime(string $key): Redis|int|false; @@ -887,11 +828,9 @@ class Redis { * Deletes every key in all Redis databases * * @param bool $sync Whether to perform the task in a blocking or non-blocking way. - * when TRUE, PhpRedis will execute `FLUSHALL SYNC`, and when FALSE we - * will execute `FLUSHALL ASYNC`. If the argument is omitted, we - * simply execute `FLUSHALL` and whether it is SYNC or ASYNC depends - * on Redis' `lazyfree-lazy-user-flush` config setting. * @return bool + * + * @see https://redis.io/commands/flushall */ public function flushAll(?bool $sync = null): Redis|bool; @@ -899,11 +838,9 @@ class Redis { * Deletes all the keys of the currently selected database. * * @param bool $sync Whether to perform the task in a blocking or non-blocking way. - * when TRUE, PhpRedis will execute `FLUSHDB SYNC`, and when FALSE we - * will execute `FLUSHDB ASYNC`. If the argument is omitted, we - * simply execute `FLUSHDB` and whether it is SYNC or ASYNC depends - * on Redis' `lazyfree-lazy-user-flush` config setting. * @return bool + * + * @see https://redis.io/commands/flush */ public function flushDB(?bool $sync = null): Redis|bool; @@ -942,6 +879,16 @@ class Redis { public function getEx(string $key, array $options = []): Redis|string|bool; + /** + * Get the database number PhpRedis thinks we're connected to. + * + * This value is updated internally in PhpRedis each time {@link Redis::select} is called. + * + * @return The database we're connected to. + * + * @see Redis::select() + * @see https://redis.io/commands/select + */ public function getDBNum(): int; public function getDel(string $key): Redis|string|bool; @@ -994,14 +941,7 @@ class Redis { /** * Retrieve a substring of a string by index. * - * @param string $key The string to query. - * @param int $start The zero-based starting index. - * @param int $end The zero-based ending index. - * - * @return Redis|string|false The substring or false on failure. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $word = 'Supercalifragilisticexpialidocious'; @@ -1012,13 +952,31 @@ class Redis { * * // string(7) "docious" * var_dump($redis->getRange('silly-word', -7, -1)); - * ?> + * </code> + * + * @param string $key The string to query. + * @param int $start The zero-based starting index. + * @param int $end The zero-based ending index. + * + * @return Redis|string|false The substring or false on failure. + * + * @see https://redis.io/commands/getrange */ public function getRange(string $key, int $start, int $end): Redis|string|false; /** * Get the longest common subsequence between two string keys. * + * <code> + * $redis = new Redis(['host' => 'localhost']); + * + * $redis->set('seq1', 'gtaggcccgcacggtctttaatgtatccctgtttaccatgccatacctgagcgcatacgc'); + * $redis->set('seq2', 'aactcggcgcgagtaccaggccaaggtcgttccagagcaaagactcgtgccccgctgagc'); + * + * // string(37) "acccgcacggcaagtcgttccagcaactggcgctagc" + * var_dump($redis->lcs('seq1', 'seq2')); + * </code> + * * @param string $key1 The first key to check * @param string $key2 The second key to check * @param array $options An optional array of modifiers for the comand. @@ -1040,19 +998,7 @@ class Redis { * * @return Redis|string|array|int|false Various reply types depending on options. * - * - * <code> - * <?php - * <?php - * - * $redis = new Redis(['host' => 'localhost']); - * - * $redis->set('seq1', 'gtaggcccgcacggtctttaatgtatccctgtttaccatgccatacctgagcgcatacgc'); - * $redis->set('seq2', 'aactcggcgcgagtaccaggccaaggtcgttccagagcaaagactcgtgccccgctgagc'); - * - * // string(37) "acccgcacggcaagtcgttccagcaactggcgctagc" - * var_dump($redis->lcs('seq1', 'seq2')); - * ?> + * @see https://redis.io/commands/lcs */ public function lcs(string $key1, string $key2, ?array $options = NULL): Redis|string|array|int|false; @@ -1066,13 +1012,7 @@ class Redis { /** * Sets a key and returns any previously set value, if the key already existed. * - * @param string $key The key to set. - * @param mixed $value The value to set the key to. - * - * @return Redis|string|false The old value of the key or false if it didn't exist. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->del('captain'); @@ -1082,8 +1022,14 @@ class Redis { * * // string(4) "Pike" * var_dump($redis->getset('captain', 'Kirk')); - * ?> * </code> + * + * @param string $key The key to set. + * @param mixed $value The value to set the key to. + * + * @return Redis|string|false The old value of the key or false if it didn't exist. + * + * @see https://redis.io/commands/getset */ public function getset(string $key, mixed $value): Redis|string|false; @@ -1099,16 +1045,7 @@ class Redis { /** * Remove one or more fields from a hash. * - * @see https://redis.io/commands/hdel - * - * @param string $key The hash key in question. - * @param string $field The first field to remove - * @param string $other_fields One or more additional fields to remove. - * - * @return Redis|int|false The number of fields actually removed. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->del('people'); @@ -1117,36 +1054,39 @@ class Redis { * * // int(1) * $redis->hDel('comms', 'Mallory', 'Archibald'); - * ?> * </code> + * + * @param string $key The hash key in question. + * @param string $field The first field to remove + * @param string $other_fields One or more additional fields to remove. + * + * @return Redis|int|false The number of fields actually removed. + * + * @see https://redis.io/commands/hdel */ public function hDel(string $key, string $field, string ...$other_fields): Redis|int|false; /** * Checks whether a field exists in a hash. * - * @see https://redis.io/commands/hexists - * - * @param string $key The hash to query. - * @param string $field The field to check - * - * @return Redis|bool True if it exists, false if not. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->del('captains'); * * $redis->hmset('captains', ['Kirk' => 'Enterprise', 'Picard' => 'Enterprise-D', 'Sisko' => 'Defiant']); * - * bool(false) * $redis->hExists('captains', 'Pike'); - * - * bool(true) * $redis->hExists('captains', 'Picard'); - * ?> * </code> + * + * @param string $key The hash to query. + * @param string $field The field to check + * + * @return Redis|bool True if it exists, false if not. + * + * @see https://redis.io/commands/hexists + * */ public function hExists(string $key, string $field): Redis|bool; @@ -1155,14 +1095,7 @@ class Redis { /** * Read every field and value from a hash. * - * @see https://redis.io/commands/hgetall - * - * @param string $key The hash to query. - * - * @return Redis|array|false All fields and values or false if the key didn't exist. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->del('comms'); @@ -1178,24 +1111,20 @@ class Redis { * // string(7) "haxx00r" * // } * $redis->hGetAll('comms'); - * ?> * </code> + * + * @param string $key The hash to query. + * @return Redis|array|false All fields and values or false if the key didn't exist. + * + * @see https://redis.io/commands/hgetall + * */ public function hGetAll(string $key): Redis|array|false; /** * Increment a hash field's value by an integer * - * @see https://redis.io/commands/hincrby - * - * @param string $key The hash to modify - * @param string $field The field to increment - * @param int $value How much to increment the value. - * - * @return Redis|int|false The new value of the field. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->del('player'); @@ -1207,22 +1136,22 @@ class Redis { * * // int(5) * $redis->hIncrBy('player', 'level', 3); - * ?> * </code> * + * @param string $key The hash to modify + * @param string $field The field to increment + * @param int $value How much to increment the value. + * + * @return Redis|int|false The new value of the field. + * + * @see https://redis.io/commands/hincrby + * */ public function hIncrBy(string $key, string $field, int $value): Redis|int|false; /** * Increment a hash field by a floating point value * - * @see https://redis.io/commands/hincrbyfloat - * - * @param string $key The hash with the field to increment. - * @param string $field The field to increment. - * - * @return Redis|float|false The field value after incremented. - * * <code> * $redis = new Redis(['host' => 'localhost']); * @@ -1233,22 +1162,22 @@ class Redis { * * // float(6.2831852) * $redis->hIncrByFloat('trig-numbers', 'tau', 2 * $pi); - * ?> * </code> + * + * @param string $key The hash with the field to increment. + * @param string $field The field to increment. + * + * @return Redis|float|false The field value after incremented. + * + * @see https://redis.io/commands/hincrbyfloat + * */ public function hIncrByFloat(string $key, string $field, float $value): Redis|float|false; /** * Retrieve all of the fields of a hash. * - * @see https://redis.io/commands/hkeys - * - * @param string $key The hash to query. - * - * @return Redis|array|false The fields in the hash or false if the hash doesn't exist. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->del('ships'); @@ -1264,8 +1193,13 @@ class Redis { * // string(7) "Voyager" * // } * $redis->hKeys('ships'); - * ?> * </code> + * + * @param string $key The hash to query. + * + * @return Redis|array|false The fields in the hash or false if the hash doesn't exist. + * + * @see https://redis.io/commands/hkeys */ public function hKeys(string $key): Redis|array|false; @@ -1283,15 +1217,7 @@ class Redis { /** * Get one or more fields from a hash. * - * @see https://redis.io/commands/hmget - * - * @param string $key The hash to query. - * @param array $fields One or more fields to query in the hash. - * - * @return Redis|array|false The fields and values or false if the key didn't exist. - * * <code> - * <?php * $redis = new Redis(['host' => 'localhost']); * * $redis->del('player:1'); @@ -1305,35 +1231,50 @@ class Redis { * // string(4) "1337" * // } * $redis->hmget('player:1', ['name', 'score']); - * ?> * </code> + * + * @param string $key The hash to query. + * @param array $fields One or more fields to query in the hash. + * + * @return Redis|array|false The fields and values or false if the key didn't exist. + * + * @see https://redis.io/commands/hmget + * */ public function hMget(string $key, array $fields): Redis|array|false; /** * Add or update one or more hash fields and values * - * @see https://redis.io/commands/hmset + * <code> + * $redis = new Redis(['host' => 'localhost']); + * + * $redis->hmset('updates', ['status' => 'starting', 'elapsed' => 0]); + * </code> * * @param string $key The hash to create/update * @param array $fieldvals An associative array with fields and their values. * * @return Redis|bool True if the operation was successful * - * <code> - * <?php - * $redis = new Redis(['host' => 'localhost']); + * @see https://redis.io/commands/hmset * - * $redis->hmset('updates', ['status' => 'starting', 'elapsed' => 0]); - * ?> - * </code> */ public function hMset(string $key, array $fieldvals): Redis|bool; /** * Get one or more random field from a hash. * - * @see https://redis.io/commands/hrandfield + * <code> + * $redis = new Redis(['host' => 'localhost']); + * + * $redis->del('settings'); + * + * $redis->hmset('settings', ['path' => '/', 'state' => 'active', 'jobs' => 15]); + * + * $redis->hrandfield('settings'); + * $redis->hrandfield('settings', ['count' => 2, 'withvalues' => true]); + * </code> * * @param string $key The hash to query. * @param array $options An array of options to modify how the command behaves. @@ -1347,19 +1288,8 @@ class Redis { * * @return Redis|array|string One or more random fields (and possibly values). * - * <code> - * <?php - * $redis = new Redis(['host' => 'localhost']); - * - * $redis->del('settings'); - * - * $redis->hmset('settings', ['path' => '/', 'state' => 'active', 'jobs' => 15]); - * - * $redis->hrandfield('settings'); + * @see https://redis.io/commands/hrandfield * - * $redis->hrandfield('settings', ['count' => 2, 'withvalues' => true]); - * ?> - * </code> */ public function hRandField(string $key, array $options = null): Redis|string|array; @@ -1368,13 +1298,6 @@ class Redis { /** * Set a hash field and value, but only if that field does not exist * - * @see https://redis.io/commands/hsetnx - * - * @param string $key The hash to update. - * @param string $field The value to set. - * - * @return Redis|bool True if the field was set and false if not. - * * <code> * $redis = new Redis(['host' => 'localhost']); * @@ -1388,30 +1311,31 @@ class Redis { * // bool(false) * var_dump($redis->hsetnx('player:1', 'lock', 'enabled')); * </code> + * + * @param string $key The hash to update. + * @param string $field The value to set. + * + * @return Redis|bool True if the field was set and false if not. + * + * @see https://redis.io/commands/hsetnx */ public function hSetNx(string $key, string $field, string $value): Redis|bool; /** * Get the string length of a hash field * - * @see https://redis.io/commands/hstrlen - * * @param string $key The hash to query. * @param string $field The field to query. * * @return Redis|int|false The string length of the field or false. * - * <code> - * <?php + * @example * $redis = new Redis(['host' => 'localhost']); - * * $redis->del('hash'); * $redis->hmset('hash', ['50bytes' => str_repeat('a', 50)]); - * - * // int(50) * $redis->hstrlen('hash', '50bytes'); * - * </code> + * @see https://redis.io/commands/hstrlen */ public function hStrLen(string $key, string $field): Redis|int|false; diff --git a/redis_arginfo.h b/redis_arginfo.h index 09e3c1fe..fa86cdc3 100644 --- a/redis_arginfo.h +++ b/redis_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 4f4f62f9f49eb59c17c3dda8e0c3ae397a6df977 */ + * Stub hash: 0ca9052a6b2da623f76b015fa3271f4a9d1ffcf9 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Redis___construct, 0, 0, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "null") diff --git a/redis_legacy_arginfo.h b/redis_legacy_arginfo.h index ab2f328c..1594edf7 100644 --- a/redis_legacy_arginfo.h +++ b/redis_legacy_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 4f4f62f9f49eb59c17c3dda8e0c3ae397a6df977 */ + * Stub hash: 0ca9052a6b2da623f76b015fa3271f4a9d1ffcf9 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Redis___construct, 0, 0, 0) ZEND_ARG_INFO(0, options) |