mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
16855 lines
501 KiB
HTML
16855 lines
501 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="robots" content="index, follow, all" />
|
|
<title>RedisArray | PhpRedis API</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
|
<link rel="stylesheet" type="text/css" href="css/bootstrap-theme.min.css">
|
|
<link rel="stylesheet" type="text/css" href="css/doctum.css">
|
|
<link rel="stylesheet" type="text/css" href="fonts/doctum-font.css">
|
|
<script src="js/jquery-3.5.1.slim.min.js"></script>
|
|
<script async defer src="doctum.js"></script>
|
|
<script async defer src="js/bootstrap.min.js"></script>
|
|
<script async defer src="js/autocomplete.min.js"></script>
|
|
<meta name="MobileOptimized" content="width">
|
|
<meta name="HandheldFriendly" content="true">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
|
|
<link rel="stylesheet" type="text/css" href="css/highlight-github.min.css">
|
|
<script defer src="js/highlight.min.js"></script>
|
|
<script>
|
|
window.addEventListener('load', function () {
|
|
if (!window.hljs) {
|
|
return;
|
|
}
|
|
|
|
document.querySelectorAll('pre.examples').forEach(function (block) {
|
|
if (!block.dataset.language) {
|
|
block.dataset.language = 'php';
|
|
}
|
|
|
|
hljs.highlightElement(block);
|
|
});
|
|
});
|
|
</script>
|
|
|
|
|
|
<link rel="search"
|
|
type="application/opensearchdescription+xml"
|
|
href="https://phpredis.github.io/opensearch.xml"
|
|
title="PhpRedis API (main)" />
|
|
</head>
|
|
|
|
<body id="class" data-name="class:RedisArray" data-root-path="" data-search-index-url="doctum-search.json">
|
|
<div id="content">
|
|
<div id="left-column">
|
|
<div id="control-panel">
|
|
<div class="search-bar hidden" id="search-progress-bar-container">
|
|
<div class="progress">
|
|
<div class="progress-bar" role="progressbar" id="search-progress-bar"
|
|
aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"></div>
|
|
</div>
|
|
</div>
|
|
<form id="search-form" action="search.html">
|
|
<span class="icon icon-search"></span>
|
|
<input name="search"
|
|
id="doctum-search-auto-complete"
|
|
class="typeahead form-control"
|
|
type="search"
|
|
placeholder="Search"
|
|
spellcheck="false"
|
|
autocorrect="off"
|
|
autocomplete="off"
|
|
autocapitalize="off">
|
|
<div class="auto-complete-results" id="auto-complete-results"></div>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="api-tree"></div>
|
|
|
|
</div>
|
|
<div id="right-column">
|
|
<nav id="site-nav" class="navbar navbar-default" role="navigation">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="index.html">PhpRedis API</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="navbar-elements">
|
|
<ul class="nav navbar-nav">
|
|
<li><a href="classes.html">Classes</a></li>
|
|
<li><a href="interfaces.html">Interfaces</a></li>
|
|
<li><a href="traits.html">Traits</a></li>
|
|
<li><a href="doc-index.html">Index</a></li>
|
|
<li><a href="search.html">Search</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div id="page-content">
|
|
<div class="page-header">
|
|
<h1>RedisArray
|
|
</h1>
|
|
</div>
|
|
|
|
|
|
<p> class
|
|
<strong>RedisArray</strong> (<a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php">View source</a>)
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2>Methods</h2>
|
|
|
|
<div class="container-fluid underlined">
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method___call">__call</a>(string $function_name, array $arguments)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method___construct">__construct</a>(string|array $name_or_hosts, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__continuum">_continuum</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|callable
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__distributor">_distributor</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|callable
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__function">_function</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__hosts">_hosts</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|null|Redis
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__instance">_instance</a>(string $host)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|null
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__rehash">_rehash</a>(callable|null $fn = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|string|null
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__target">_target</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bgsave">bgsave</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_del">del</a>(string|array $key, string ...$otherkeys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|null
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_discard">discard</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|null|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_exec">exec</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_flushall">flushall</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_flushdb">flushdb</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getOption">getOption</a>(int $opt)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hscan">hscan</a>(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_info">info</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_keys">keys</a>(string $pattern)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_mget">mget</a>(array $keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_mset">mset</a>(array $pairs)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|RedisArray
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_multi">multi</a>(string $host, int|null $mode = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_ping">ping</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_save">save</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_scan">scan</a>(null|int|string $iterator, string $node, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_select">select</a>(int $index)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setOption">setOption</a>(int $opt, string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sscan">sscan</a>(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_unlink">unlink</a>(string|array $key, string ...$otherkeys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|null
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_unwatch">unwatch</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zscan">zscan</a>(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_acl">acl</a>(string $subcmd, string $args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_append">append</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_auth">auth</a>(<abbr title="#[\SensitiveParameter]">SensitiveParameter]</abbr> $ixed $credentials)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bgrewriteaof">bgrewriteaof</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_waitaof">waitaof</a>(int $numlocal, int $numreplicas, int $timeout)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bitcount">bitcount</a>(string $key, int $start, int $end = -1, bool $bybit = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bitop">bitop</a>(string $operation, string $deskey, string $srckey, string $other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bitpos">bitpos</a>(string $key, bool $bit, int $start, int $end = -1, bool $bybit = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_blPop">blPop</a>(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_brPop">brPop</a>(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_brpoplpush">brpoplpush</a>(string $src, string $dst, int|float $timeout)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bzPopMax">bzPopMax</a>(string|array $key, string|int $timeout_or_key, mixed $extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bzPopMin">bzPopMin</a>(string|array $key, string|int $timeout_or_key, mixed $extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bzmpop">bzmpop</a>(float $timeout, array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zmpop">zmpop</a>(array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_blmpop">blmpop</a>(float $timeout, array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lmpop">lmpop</a>(array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_clearLastError">clearLastError</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_client">client</a>(string $opt, mixed $args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_close">close</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_command">command</a>(?string $opt = null, mixed $args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_config">config</a>(string $operation, array|string|null $key_or_settings = null, ?string $value = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_copy">copy</a>(string $src, string $dst, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_dbSize">dbSize</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_debug">debug</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_decr">decr</a>(string $key, int $by = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_decrBy">decrBy</a>(string $key, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_delifeq">delifeq</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_delete">delete</a>(array|string $key, string $other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_dump">dump</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_echo">echo</a>(string $str)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_eval">eval</a>(string $script, array $args = [], int $num_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_eval_ro">eval_ro</a>(string $script_sha, array $args = [], int $num_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_evalsha">evalsha</a>(string $sha1, array $args = [], int $num_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_evalsha_ro">evalsha_ro</a>(string $sha1, array $args = [], int $num_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_exists">exists</a>(mixed $key, mixed $other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expire">expire</a>(string $key, int $timeout, ?string $mode = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expireAt">expireAt</a>(string $key, int $timestamp, ?string $mode = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_failover">failover</a>(?array $to = null, bool $abort = false, int $timeout)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expiretime">expiretime</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pexpiretime">pexpiretime</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_fcall">fcall</a>(string $fn, array $keys = [], array $args = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_fcall_ro">fcall_ro</a>(string $fn, array $keys = [], array $args = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool|string|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_function">function</a>(string $operation, mixed $args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geoadd">geoadd</a>(string $key, float $lng, float $lat, string $member, mixed $other_triples_and_options)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geodist">geodist</a>(string $key, string $src, string $dst, ?string $unit = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geohash">geohash</a>(string $key, string $member, string $other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geopos">geopos</a>(string $key, string $member, string $other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadius">georadius</a>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadius_ro">georadius_ro</a>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadiusbymember">georadiusbymember</a>(string $key, string $member, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadiusbymember_ro">georadiusbymember_ro</a>(string $key, string $member, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geosearch">geosearch</a>(string $key, array|string $position, array|int|float $shape, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geosearchstore">geosearchstore</a>(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_get">get</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getWithMeta">getWithMeta</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getAuth">getAuth</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getBit">getBit</a>(string $key, int $idx)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getEx">getEx</a>(string $key, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getDBNum">getDBNum</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getDel">getDel</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getHost">getHost</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string|null
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getLastError">getLastError</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getMode">getMode</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string|null
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getPersistentID">getPersistentID</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getPort">getPort</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_serverName">serverName</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_serverVersion">serverVersion</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getRange">getRange</a>(string $key, int $start, int $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|array|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lcs">lcs</a>(string $key1, string $key2, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
float
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getReadTimeout">getReadTimeout</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getset">getset</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getTimeout">getTimeout</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getTransferredBytes">getTransferredBytes</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
void
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_clearTransferredBytes">clearTransferredBytes</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hDel">hDel</a>(string $key, string $field, string $other_fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hExists">hExists</a>(string $key, string $field)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hGet">hGet</a>(string $key, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hGetAll">hGetAll</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hGetWithMeta">hGetWithMeta</a>(string $key, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hIncrBy">hIncrBy</a>(string $key, string $field, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hIncrByFloat">hIncrByFloat</a>(string $key, string $field, float $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hKeys">hKeys</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hLen">hLen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hMget">hMget</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hgetex">hgetex</a>(string $key, array $fields, string|array|null $expiry = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hsetex">hsetex</a>(string $key, array $fields, ?array $expiry = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hgetdel">hgetdel</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hMset">hMset</a>(string $key, array $fieldvals)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hRandField">hRandField</a>(string $key, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hSet">hSet</a>(string $key, mixed $fields_and_vals)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hSetNx">hSetNx</a>(string $key, string $field, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hStrLen">hStrLen</a>(string $key, string $field)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hVals">hVals</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_httl">httl</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hpttl">hpttl</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hexpiretime">hexpiretime</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hpexpiretime">hpexpiretime</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hpersist">hpersist</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expiremember">expiremember</a>(string $key, string $field, int $ttl, ?string $unit = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expirememberat">expirememberat</a>(string $key, string $field, int $timestamp)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_incr">incr</a>(string $key, int $by = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_incrBy">incrBy</a>(string $key, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_incrByFloat">incrByFloat</a>(string $key, float $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_isConnected">isConnected</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
void
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lInsert">lInsert</a>(string $key, string $pos, mixed $pivot, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lLen">lLen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lMove">lMove</a>(string $src, string $dst, string $wherefrom, string $whereto)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_blmove">blmove</a>(string $src, string $dst, string $wherefrom, string $whereto, float $timeout)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool|string|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lPop">lPop</a>(string $key, int $count)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|null|bool|int|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lPos">lPos</a>(string $key, mixed $value, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lPush">lPush</a>(string $key, mixed $elements)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rPush">rPush</a>(string $key, mixed $elements)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lPushx">lPushx</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rPushx">rPushx</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lSet">lSet</a>(string $key, int $index, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lastSave">lastSave</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lindex">lindex</a>(string $key, int $index)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lrange">lrange</a>(string $key, int $start, int $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lrem">lrem</a>(string $key, mixed $value, int $count)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_ltrim">ltrim</a>(string $key, int $start, int $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_move">move</a>(string $key, int $index)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_msetnx">msetnx</a>(array $key_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_object">object</a>(string $subcommand, string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_open">open</a>(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pconnect">pconnect</a>(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_persist">persist</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pexpire">pexpire</a>(string $key, int $timeout, ?string $mode = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pexpireAt">pexpireAt</a>(string $key, int $timestamp, ?string $mode = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pfadd">pfadd</a>(string $key, array $elements)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pfcount">pfcount</a>(array|string $key_or_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pfmerge">pfmerge</a>(string $dst, array $srckeys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
<abbr title="bool|\RedisArray">RedisArray</abbr>
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pipeline">pipeline</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_popen">popen</a>(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_psetex">psetex</a>(string $key, int $expire, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_psubscribe">psubscribe</a>(array $patterns, callable $cb)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pttl">pttl</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_publish">publish</a>(string $channel, string $message)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pubsub">pubsub</a>(string $command, mixed $arg = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_punsubscribe">punsubscribe</a>(array $patterns)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rPop">rPop</a>(string $key, int $count)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_randomKey">randomKey</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rawcommand">rawcommand</a>(string $command, mixed $args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rename">rename</a>(string $old_name, string $new_name)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_renameNx">renameNx</a>(string $key_src, string $key_dst)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_reset">reset</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_restore">restore</a>(string $key, int $ttl, string $value, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_role">role</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rpoplpush">rpoplpush</a>(string $srckey, string $dstkey)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sAdd">sAdd</a>(string $key, mixed $value, mixed $other_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sAddArray">sAddArray</a>(string $key, array $values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sDiff">sDiff</a>(string $key, string $other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sDiffStore">sDiffStore</a>(string $dst, string $key, string $other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sInter">sInter</a>(array|string $key, string $other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sintercard">sintercard</a>(array $keys, int $limit = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sInterStore">sInterStore</a>(array|string $key, string $other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sMembers">sMembers</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sMisMember">sMisMember</a>(string $key, string $member, string $other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sMove">sMove</a>(string $src, string $dst, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sPop">sPop</a>(string $key, int $count)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sRandMember">sRandMember</a>(string $key, int $count)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sUnion">sUnion</a>(string $key, string $other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sUnionStore">sUnionStore</a>(string $dst, string $key, string $other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_scard">scard</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_script">script</a>(string $command, mixed $args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_set">set</a>(string $key, mixed $value, mixed $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setBit">setBit</a>(string $key, int $idx, bool $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setRange">setRange</a>(string $key, int $index, string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
void
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setex">setex</a>(string $key, int $expire, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setnx">setnx</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sismember">sismember</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_slaveof">slaveof</a>(?string $host = null, int $port = 6379)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_replicaof">replicaof</a>(?string $host = null, int $port = 6379)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_touch">touch</a>(array|string $key_or_array, string $more_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_slowlog">slowlog</a>(string $operation, int $length)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sort">sort</a>(string $key, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sort_ro">sort_ro</a>(string $key, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sortAsc">sortAsc</a>(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sortAscAlpha">sortAscAlpha</a>(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sortDesc">sortDesc</a>(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sortDescAlpha">sortDescAlpha</a>(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_srem">srem</a>(string $key, mixed $value, mixed $other_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_ssubscribe">ssubscribe</a>(array $channels, callable $cb)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_strlen">strlen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_subscribe">subscribe</a>(array $channels, callable $cb)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sunsubscribe">sunsubscribe</a>(array $channels)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_swapdb">swapdb</a>(int $src, int $dst)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_time">time</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_ttl">ttl</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_type">type</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_unsubscribe">unsubscribe</a>(array $channels)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_watch">watch</a>(array|string $key, string $other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_wait">wait</a>(int $numreplicas, int $timeout)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xack">xack</a>(string $key, string $group, array $ids)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xadd">xadd</a>(string $key, string $id, array $values, int $maxlen, bool $approx = false, bool $nomkstream = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xautoclaim">xautoclaim</a>(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xclaim">xclaim</a>(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xdel">xdel</a>(string $key, array $ids)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xinfo">xinfo</a>(string $operation, ?string $arg1 = null, ?string $arg2 = null, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xlen">xlen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xpending">xpending</a>(string $key, string $group, ?string $start = null, ?string $end = null, int $count = -1, ?string $consumer = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xrange">xrange</a>(string $key, string $start, string $end, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xread">xread</a>(array $streams, int $count = -1, int $block = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xreadgroup">xreadgroup</a>(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xrevrange">xrevrange</a>(string $key, string $end, string $start, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vadd">vadd</a>(string $key, array $values, mixed $element, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vsim">vsim</a>(string $key, mixed $member, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vcard">vcard</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vdim">vdim</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vinfo">vinfo</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vismember">vismember</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vemb">vemb</a>(string $key, mixed $member, bool $raw = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vrandmember">vrandmember</a>(string $key, int $count)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vrange">vrange</a>(string $key, string $min, string $max, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vrem">vrem</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vsetattr">vsetattr</a>(string $key, mixed $member, array|string $attributes)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vgetattr">vgetattr</a>(string $key, mixed $member, bool $decode = true)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vlinks">vlinks</a>(string $key, mixed $member, bool $withscores = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xtrim">xtrim</a>(string $key, string $threshold, bool $approx = false, bool $minid = false, int $limit = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zAdd">zAdd</a>(string $key, array|float $score_or_options, mixed $more_scores_and_mems)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zCard">zCard</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zCount">zCount</a>(string $key, int|string $start, int|string $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zIncrBy">zIncrBy</a>(string $key, float $value, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zLexCount">zLexCount</a>(string $key, string $min, string $max)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zMscore">zMscore</a>(string $key, mixed $member, mixed $other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zPopMax">zPopMax</a>(string $key, ?int $count = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zPopMin">zPopMin</a>(string $key, ?int $count = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRange">zRange</a>(string $key, string|int $start, string|int $end, array|bool|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRangeByLex">zRangeByLex</a>(string $key, string $min, string $max, int $offset = -1, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRangeByScore">zRangeByScore</a>(string $key, string $start, string $end, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|string|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRandMember">zRandMember</a>(string $key, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRank">zRank</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRem">zRem</a>(mixed $key, mixed $member, mixed $other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRemRangeByLex">zRemRangeByLex</a>(string $key, string $min, string $max)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRemRangeByRank">zRemRangeByRank</a>(string $key, int $start, int $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRemRangeByScore">zRemRangeByScore</a>(string $key, string $start, string $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRevRange">zRevRange</a>(string $key, int $start, int $end, mixed $scores = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRevRangeByLex">zRevRangeByLex</a>(string $key, string $max, string $min, int $offset = -1, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRevRangeByScore">zRevRangeByScore</a>(string $key, string $max, string $min, array|bool $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zRevRank">zRevRank</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zScore">zScore</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zdiff">zdiff</a>(array $keys, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zdiffstore">zdiffstore</a>(string $dst, array $keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zinter">zinter</a>(array $keys, ?array $weights = null, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zintercard">zintercard</a>(array $keys, int $limit = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zinterstore">zinterstore</a>(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zunion">zunion</a>(array $keys, ?array $weights = null, ?array $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisArray|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zunionstore">zunionstore</a>(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h2>Details</h2>
|
|
|
|
<div id="method-details">
|
|
<div class="method-item">
|
|
<h3 id="method___call">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L261">at line 261</a></div>
|
|
<code> mixed
|
|
<strong>__call</strong>(string $function_name, array $arguments)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$function_name</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$arguments</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method___construct">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L263">at line 263</a></div>
|
|
<code>
|
|
<strong>__construct</strong>(string|array $name_or_hosts, array|null $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$name_or_hosts</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__continuum">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L265">at line 265</a></div>
|
|
<code> bool|array
|
|
<strong>_continuum</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__distributor">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L267">at line 267</a></div>
|
|
<code> bool|callable
|
|
<strong>_distributor</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|callable</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__function">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L269">at line 269</a></div>
|
|
<code> bool|callable
|
|
<strong>_function</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|callable</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__hosts">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L271">at line 271</a></div>
|
|
<code> bool|array
|
|
<strong>_hosts</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__instance">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L273">at line 273</a></div>
|
|
<code> bool|null|Redis
|
|
<strong>_instance</strong>(string $host)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$host</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|null|Redis</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__rehash">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L275">at line 275</a></div>
|
|
<code> bool|null
|
|
<strong>_rehash</strong>(callable|null $fn = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>callable|null</td>
|
|
<td>$fn</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method__target">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L277">at line 277</a></div>
|
|
<code> bool|string|null
|
|
<strong>_target</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|string|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bgsave">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L279">at line 279</a></div>
|
|
<code> array
|
|
<strong>bgsave</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_del">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L281">at line 281</a></div>
|
|
<code> bool|int
|
|
<strong>del</strong>(string|array $key, string ...$otherkeys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$otherkeys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_discard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L283">at line 283</a></div>
|
|
<code> bool|null
|
|
<strong>discard</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_exec">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L285">at line 285</a></div>
|
|
<code> bool|null|array
|
|
<strong>exec</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|null|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_flushall">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L287">at line 287</a></div>
|
|
<code> bool|array
|
|
<strong>flushall</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_flushdb">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L289">at line 289</a></div>
|
|
<code> bool|array
|
|
<strong>flushdb</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getOption">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L291">at line 291</a></div>
|
|
<code> bool|array
|
|
<strong>getOption</strong>(int $opt)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$opt</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L293">at line 293</a></div>
|
|
<code> bool|array
|
|
<strong>hscan</strong>(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>null|int|string</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_info">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L295">at line 295</a></div>
|
|
<code> bool|array
|
|
<strong>info</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_keys">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L297">at line 297</a></div>
|
|
<code> bool|array
|
|
<strong>keys</strong>(string $pattern)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_mget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L299">at line 299</a></div>
|
|
<code> bool|array
|
|
<strong>mget</strong>(array $keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_mset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L301">at line 301</a></div>
|
|
<code> bool
|
|
<strong>mset</strong>(array $pairs)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$pairs</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_multi">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L303">at line 303</a></div>
|
|
<code> bool|RedisArray
|
|
<strong>multi</strong>(string $host, int|null $mode = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$host</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|RedisArray</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_ping">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L305">at line 305</a></div>
|
|
<code> bool|array
|
|
<strong>ping</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_save">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L307">at line 307</a></div>
|
|
<code> bool|array
|
|
<strong>save</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_scan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L309">at line 309</a></div>
|
|
<code> bool|array
|
|
<strong>scan</strong>(null|int|string $iterator, string $node, string|null $pattern = null, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>null|int|string</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$node</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_select">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L311">at line 311</a></div>
|
|
<code> bool|array
|
|
<strong>select</strong>(int $index)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_setOption">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L313">at line 313</a></div>
|
|
<code> bool|array
|
|
<strong>setOption</strong>(int $opt, string $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$opt</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L315">at line 315</a></div>
|
|
<code> bool|array
|
|
<strong>sscan</strong>(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>null|int|string</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_unlink">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L317">at line 317</a></div>
|
|
<code> bool|int
|
|
<strong>unlink</strong>(string|array $key, string ...$otherkeys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$otherkeys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_unwatch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L319">at line 319</a></div>
|
|
<code> bool|null
|
|
<strong>unwatch</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L321">at line 321</a></div>
|
|
<code> bool|array
|
|
<strong>zscan</strong>(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>null|int|string</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_acl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>acl</strong>(string $subcmd, string $args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$subcmd</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_append">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>append</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_auth">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>auth</strong>(<abbr title="#[\SensitiveParameter]">SensitiveParameter]</abbr> $ixed $credentials)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td><abbr title="#[\SensitiveParameter]">SensitiveParameter]</abbr></td>
|
|
<td>$ixed $credentials</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bgrewriteaof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>bgrewriteaof</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_waitaof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>waitaof</strong>(int $numlocal, int $numreplicas, int $timeout)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$numlocal</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$numreplicas</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bitcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>bitcount</strong>(string $key, int $start, int $end = -1, bool $bybit = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$bybit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bitop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>bitop</strong>(string $operation, string $deskey, string $srckey, string $other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$deskey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$srckey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bitpos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>bitpos</strong>(string $key, bool $bit, int $start, int $end = -1, bool $bybit = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$bit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$bybit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_blPop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|null|false
|
|
<strong>blPop</strong>(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|float|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></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/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|null|false
|
|
<strong>brPop</strong>(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|float|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_brpoplpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|false
|
|
<strong>brpoplpush</strong>(string $src, string $dst, int|float $timeout)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bzPopMax">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>bzPopMax</strong>(string|array $key, string|int $timeout_or_key, mixed $extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></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/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>bzPopMin</strong>(string|array $key, string|int $timeout_or_key, mixed $extra_args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_bzmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|null|false
|
|
<strong>bzmpop</strong>(float $timeout, array $keys, string $from, int $count = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|null|false
|
|
<strong>zmpop</strong>(array $keys, string $from, int $count = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_blmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|null|false
|
|
<strong>blmpop</strong>(float $timeout, array $keys, string $from, int $count = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|null|false
|
|
<strong>lmpop</strong>(array $keys, string $from, int $count = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_clearLastError">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> bool
|
|
<strong>clearLastError</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></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/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>client</strong>(string $opt, mixed $args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$opt</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_close">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> bool
|
|
<strong>close</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_command">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>command</strong>(?string $opt = null, mixed $args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$opt</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_config">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>config</strong>(string $operation, array|string|null $key_or_settings = null, ?string $value = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|string|null</td>
|
|
<td>$key_or_settings</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_copy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>copy</strong>(string $src, string $dst, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></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/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>dbSize</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></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/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string
|
|
<strong>debug</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_decr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>decr</strong>(string $key, int $by = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$by</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_decrBy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>decrBy</strong>(string $key, int $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_delifeq">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>delifeq</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_delete">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>delete</strong>(array|string $key, string $other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_dump">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|false
|
|
<strong>dump</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_echo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|false
|
|
<strong>echo</strong>(string $str)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$str</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_eval">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>eval</strong>(string $script, array $args = [], int $num_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$script</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_eval_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>eval_ro</strong>(string $script_sha, array $args = [], int $num_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$script_sha</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_evalsha">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>evalsha</strong>(string $sha1, array $args = [], int $num_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$sha1</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_evalsha_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>evalsha_ro</strong>(string $sha1, array $args = [], int $num_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$sha1</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_exists">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|bool
|
|
<strong>exists</strong>(mixed $key, mixed $other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_expire">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>expire</strong>(string $key, int $timeout, ?string $mode = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_expireAt">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>expireAt</strong>(string $key, int $timestamp, ?string $mode = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timestamp</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_failover">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>failover</strong>(?array $to = null, bool $abort = false, int $timeout)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$to</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$abort</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_expiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>expiretime</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pexpiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>pexpiretime</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_fcall">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>fcall</strong>(string $fn, array $keys = [], array $args = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$fn</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_fcall_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>fcall_ro</strong>(string $fn, array $keys = [], array $args = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$fn</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_function">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool|string|array
|
|
<strong>function</strong>(string $operation, mixed $args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_geoadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>geoadd</strong>(string $key, float $lng, float $lat, string $member, mixed $other_triples_and_options)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lng</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lat</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$other_triples_and_options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_geodist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|float|false
|
|
<strong>geodist</strong>(string $key, string $src, string $dst, ?string $unit = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_geohash">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>geohash</strong>(string $key, string $member, string $other_members)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_geopos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>geopos</strong>(string $key, string $member, string $other_members)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_georadius">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>georadius</strong>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lng</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lat</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_georadius_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>georadius_ro</strong>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lng</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lat</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_georadiusbymember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>georadiusbymember</strong>(string $key, string $member, float $radius, string $unit, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_georadiusbymember_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>georadiusbymember_ro</strong>(string $key, string $member, float $radius, string $unit, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_geosearch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> array
|
|
<strong>geosearch</strong>(string $key, array|string $position, array|int|float $shape, string $unit, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$position</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|int|float</td>
|
|
<td>$shape</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_geosearchstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|int|false
|
|
<strong>geosearchstore</strong>(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$position</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|int|float</td>
|
|
<td>$shape</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_get">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>get</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getWithMeta">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>getWithMeta</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getAuth">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>getAuth</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getBit">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>getBit</strong>(string $key, int $idx)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$idx</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getEx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|bool
|
|
<strong>getEx</strong>(string $key, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getDBNum">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> int
|
|
<strong>getDBNum</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getDel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|bool
|
|
<strong>getDel</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getHost">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> string
|
|
<strong>getHost</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getLastError">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> string|null
|
|
<strong>getLastError</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getMode">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> int
|
|
<strong>getMode</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getPersistentID">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> string|null
|
|
<strong>getPersistentID</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getPort">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> int
|
|
<strong>getPort</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_serverName">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> string|false
|
|
<strong>serverName</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_serverVersion">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> string|false
|
|
<strong>serverVersion</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getRange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|false
|
|
<strong>getRange</strong>(string $key, int $start, int $end)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lcs">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|array|int|false
|
|
<strong>lcs</strong>(string $key1, string $key2, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key1</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key2</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|array|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getReadTimeout">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> float
|
|
<strong>getReadTimeout</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|false
|
|
<strong>getset</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getTimeout">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> float|false
|
|
<strong>getTimeout</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_getTransferredBytes">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> array
|
|
<strong>getTransferredBytes</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_clearTransferredBytes">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> void
|
|
<strong>clearTransferredBytes</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hDel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>hDel</strong>(string $key, string $field, string $other_fields)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hExists">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>hExists</strong>(string $key, string $field)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hGet">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>hGet</strong>(string $key, string $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hGetAll">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>hGetAll</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hGetWithMeta">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>hGetWithMeta</strong>(string $key, string $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hIncrBy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>hIncrBy</strong>(string $key, string $field, int $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hIncrByFloat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|float|false
|
|
<strong>hIncrByFloat</strong>(string $key, string $field, float $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hKeys">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>hKeys</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hLen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>hLen</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hMget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>hMget</strong>(string $key, array $fields)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hgetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>hgetex</strong>(string $key, array $fields, string|array|null $expiry = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|array|null</td>
|
|
<td>$expiry</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hsetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>hsetex</strong>(string $key, array $fields, ?array $expiry = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$expiry</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hgetdel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>hgetdel</strong>(string $key, array $fields)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hMset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>hMset</strong>(string $key, array $fieldvals)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fieldvals</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hRandField">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|array|false
|
|
<strong>hRandField</strong>(string $key, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hSet">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>hSet</strong>(string $key, mixed $fields_and_vals)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$fields_and_vals</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hSetNx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>hSetNx</strong>(string $key, string $field, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hStrLen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>hStrLen</strong>(string $key, string $field)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></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/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>hVals</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_httl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>httl</strong>(string $key, array $fields)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hpttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>hpttl</strong>(string $key, array $fields)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hexpiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>hexpiretime</strong>(string $key, array $fields)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hpexpiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>hpexpiretime</strong>(string $key, array $fields)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_hpersist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>hpersist</strong>(string $key, array $fields)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_expiremember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>expiremember</strong>(string $key, string $field, int $ttl, ?string $unit = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$ttl</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_expirememberat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>expirememberat</strong>(string $key, string $field, int $timestamp)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timestamp</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_incr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>incr</strong>(string $key, int $by = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$by</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_incrBy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>incrBy</strong>(string $key, int $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_incrByFloat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|float|false
|
|
<strong>incrByFloat</strong>(string $key, float $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_isConnected">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> bool
|
|
<strong>isConnected</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lInsert">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> void
|
|
<strong>lInsert</strong>(string $key, string $pos, mixed $pivot, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$pos</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$pivot</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lLen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>lLen</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lMove">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|false
|
|
<strong>lMove</strong>(string $src, string $dst, string $wherefrom, string $whereto)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$wherefrom</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$whereto</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_blmove">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|false
|
|
<strong>blmove</strong>(string $src, string $dst, string $wherefrom, string $whereto, float $timeout)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$wherefrom</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$whereto</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lPop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool|string|array
|
|
<strong>lPop</strong>(string $key, int $count)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lPos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|null|bool|int|array
|
|
<strong>lPos</strong>(string $key, mixed $value, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|null|bool|int|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lPush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>lPush</strong>(string $key, mixed $elements)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$elements</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rPush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>rPush</strong>(string $key, mixed $elements)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$elements</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lPushx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>lPushx</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rPushx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>rPushx</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lSet">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>lSet</strong>(string $key, int $index, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lastSave">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> int
|
|
<strong>lastSave</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lindex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>lindex</strong>(string $key, int $index)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>lrange</strong>(string $key, int $start, int $end)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_lrem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>lrem</strong>(string $key, mixed $value, int $count)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_ltrim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>ltrim</strong>(string $key, int $start, int $end)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_move">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>move</strong>(string $key, int $index)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_msetnx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>msetnx</strong>(array $key_values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$key_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_object">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|string|false
|
|
<strong>object</strong>(string $subcommand, string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$subcommand</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_open">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> bool
|
|
<strong>open</strong>(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$host</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$port</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$persistent_id</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$retry_interval</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$read_timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$context</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pconnect">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> bool
|
|
<strong>pconnect</strong>(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$host</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$port</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$persistent_id</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$retry_interval</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$read_timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$context</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_persist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>persist</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pexpire">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> bool
|
|
<strong>pexpire</strong>(string $key, int $timeout, ?string $mode = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pexpireAt">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>pexpireAt</strong>(string $key, int $timestamp, ?string $mode = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timestamp</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pfadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int
|
|
<strong>pfadd</strong>(string $key, array $elements)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$elements</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pfcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>pfcount</strong>(array|string $key_or_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key_or_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pfmerge">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>pfmerge</strong>(string $dst, array $srckeys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$srckeys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pipeline">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> <abbr title="bool|\RedisArray">RedisArray</abbr>
|
|
<strong>pipeline</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td><abbr title="bool|\RedisArray">RedisArray</abbr></td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_popen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> bool
|
|
<strong>popen</strong>(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$host</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$port</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$persistent_id</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$retry_interval</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$read_timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$context</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_psetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>psetex</strong>(string $key, int $expire, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$expire</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_psubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> bool
|
|
<strong>psubscribe</strong>(array $patterns, callable $cb)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$patterns</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>callable</td>
|
|
<td>$cb</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>pttl</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_publish">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>publish</strong>(string $channel, string $message)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$channel</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$message</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_pubsub">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>pubsub</strong>(string $command, mixed $arg = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$command</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$arg</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_punsubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|bool
|
|
<strong>punsubscribe</strong>(array $patterns)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$patterns</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rPop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|string|bool
|
|
<strong>rPop</strong>(string $key, int $count)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_randomKey">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|false
|
|
<strong>randomKey</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rawcommand">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>rawcommand</strong>(string $command, mixed $args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$command</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rename">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>rename</strong>(string $old_name, string $new_name)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$old_name</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$new_name</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_renameNx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>renameNx</strong>(string $key_src, string $key_dst)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key_src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key_dst</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_reset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>reset</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_restore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>restore</strong>(string $key, int $ttl, string $value, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$ttl</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_role">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>role</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_rpoplpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|false
|
|
<strong>rpoplpush</strong>(string $srckey, string $dstkey)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$srckey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dstkey</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sAdd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>sAdd</strong>(string $key, mixed $value, mixed $other_values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$other_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sAddArray">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> int
|
|
<strong>sAddArray</strong>(string $key, array $values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sDiff">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>sDiff</strong>(string $key, string $other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sDiffStore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>sDiffStore</strong>(string $dst, string $key, string $other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sInter">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>sInter</strong>(array|string $key, string $other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sintercard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>sintercard</strong>(array $keys, int $limit = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$limit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sInterStore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>sInterStore</strong>(array|string $key, string $other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sMembers">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>sMembers</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sMisMember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>sMisMember</strong>(string $key, string $member, string $other_members)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sMove">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>sMove</strong>(string $src, string $dst, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sPop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|array|false
|
|
<strong>sPop</strong>(string $key, int $count)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sRandMember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>sRandMember</strong>(string $key, int $count)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sUnion">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>sUnion</strong>(string $key, string $other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sUnionStore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>sUnionStore</strong>(string $dst, string $key, string $other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_scard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>scard</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_script">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>script</strong>(string $command, mixed $args)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$command</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_set">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|bool
|
|
<strong>set</strong>(string $key, mixed $value, mixed $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_setBit">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>setBit</strong>(string $key, int $idx, bool $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$idx</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_setRange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>setRange</strong>(string $key, int $index, string $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_setex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> void
|
|
<strong>setex</strong>(string $key, int $expire, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$expire</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_setnx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>setnx</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sismember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>sismember</strong>(string $key, mixed $value)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_slaveof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>slaveof</strong>(?string $host = null, int $port = 6379)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$host</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$port</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_replicaof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>replicaof</strong>(?string $host = null, int $port = 6379)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$host</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$port</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_touch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>touch</strong>(array|string $key_or_array, string $more_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key_or_array</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$more_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_slowlog">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>slowlog</strong>(string $operation, int $length)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$length</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sort">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>sort</strong>(string $key, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sort_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>sort_ro</strong>(string $key, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sortAsc">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> array
|
|
<strong>sortAsc</strong>(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$get</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$store</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sortAscAlpha">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> array
|
|
<strong>sortAscAlpha</strong>(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$get</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$store</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sortDesc">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> array
|
|
<strong>sortDesc</strong>(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$get</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$store</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sortDescAlpha">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> array
|
|
<strong>sortDescAlpha</strong>(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$get</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$store</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_srem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>srem</strong>(string $key, mixed $value, mixed $other_values)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$other_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_ssubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> bool
|
|
<strong>ssubscribe</strong>(array $channels, callable $cb)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$channels</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>callable</td>
|
|
<td>$cb</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_strlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>strlen</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_subscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> bool
|
|
<strong>subscribe</strong>(array $channels, callable $cb)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$channels</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>callable</td>
|
|
<td>$cb</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_sunsubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|bool
|
|
<strong>sunsubscribe</strong>(array $channels)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$channels</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_swapdb">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>swapdb</strong>(int $src, int $dst)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_time">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array
|
|
<strong>time</strong>()
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_ttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>ttl</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_type">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>type</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_unsubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|bool
|
|
<strong>unsubscribe</strong>(array $channels)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$channels</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_watch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>watch</strong>(array|string $key, string $other_keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_wait">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> int|false
|
|
<strong>wait</strong>(int $numreplicas, int $timeout)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$numreplicas</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xack">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> int|false
|
|
<strong>xack</strong>(string $key, string $group, array $ids)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$ids</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|false
|
|
<strong>xadd</strong>(string $key, string $id, array $values, int $maxlen, bool $approx = false, bool $nomkstream = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$id</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$values</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$maxlen</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$approx</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$nomkstream</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xautoclaim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool|array
|
|
<strong>xautoclaim</strong>(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$min_idle</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$justid</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xclaim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|bool
|
|
<strong>xclaim</strong>(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$min_idle</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$ids</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xdel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>xdel</strong>(string $key, array $ids)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$ids</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xinfo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> mixed
|
|
<strong>xinfo</strong>(string $operation, ?string $arg1 = null, ?string $arg2 = null, int $count = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$arg1</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$arg2</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>xlen</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xpending">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>xpending</strong>(string $key, string $group, ?string $start = null, ?string $end = null, int $count = -1, ?string $consumer = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|bool
|
|
<strong>xrange</strong>(string $key, string $start, string $end, int $count = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xread">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|bool
|
|
<strong>xread</strong>(array $streams, int $count = -1, int $block = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$streams</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$block</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xreadgroup">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|bool
|
|
<strong>xreadgroup</strong>(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$streams</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$block</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xrevrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|bool
|
|
<strong>xrevrange</strong>(string $key, string $end, string $start, int $count = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>vadd</strong>(string $key, array $values, mixed $element, array|null $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$values</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$element</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vsim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>vsim</strong>(string $key, mixed $member, array|null $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vcard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>vcard</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vdim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>vdim</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vinfo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>vinfo</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vismember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|bool
|
|
<strong>vismember</strong>(string $key, mixed $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vemb">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>vemb</strong>(string $key, mixed $member, bool $raw = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$raw</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vrandmember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|string|false
|
|
<strong>vrandmember</strong>(string $key, int $count)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>vrange</strong>(string $key, string $min, string $max, int $count = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vrem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>vrem</strong>(string $key, mixed $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vsetattr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>vsetattr</strong>(string $key, mixed $member, array|string $attributes)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$attributes</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vgetattr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|string|false
|
|
<strong>vgetattr</strong>(string $key, mixed $member, bool $decode = true)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$decode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_vlinks">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>vlinks</strong>(string $key, mixed $member, bool $withscores = false)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$withscores</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_xtrim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>xtrim</strong>(string $key, string $threshold, bool $approx = false, bool $minid = false, int $limit = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$threshold</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$approx</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$minid</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$limit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zAdd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|float|false
|
|
<strong>zAdd</strong>(string $key, array|float $score_or_options, mixed $more_scores_and_mems)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|float</td>
|
|
<td>$score_or_options</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$more_scores_and_mems</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zCard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zCard</strong>(string $key)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zCount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zCount</strong>(string $key, int|string $start, int|string $end)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zIncrBy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|float|false
|
|
<strong>zIncrBy</strong>(string $key, float $value, mixed $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zLexCount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zLexCount</strong>(string $key, string $min, string $max)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zMscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zMscore</strong>(string $key, mixed $member, mixed $other_members)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zPopMax">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zPopMax</strong>(string $key, ?int $count = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zPopMin">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zPopMin</strong>(string $key, ?int $count = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zRange</strong>(string $key, string|int $start, string|int $end, array|bool|null $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|bool|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRangeByLex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zRangeByLex</strong>(string $key, string $min, string $max, int $offset = -1, int $count = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRangeByScore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zRangeByScore</strong>(string $key, string $start, string $end, array $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRandMember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|string|array
|
|
<strong>zRandMember</strong>(string $key, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zRank</strong>(string $key, mixed $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zRem</strong>(mixed $key, mixed $member, mixed $other_members)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRemRangeByLex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zRemRangeByLex</strong>(string $key, string $min, string $max)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRemRangeByRank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zRemRangeByRank</strong>(string $key, int $start, int $end)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRemRangeByScore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zRemRangeByScore</strong>(string $key, string $start, string $end)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRevRange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zRevRange</strong>(string $key, int $start, int $end, mixed $scores = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$scores</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRevRangeByLex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zRevRangeByLex</strong>(string $key, string $max, string $min, int $offset = -1, int $count = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRevRangeByScore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zRevRangeByScore</strong>(string $key, string $max, string $min, array|bool $options = [])
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|bool</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zRevRank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zRevRank</strong>(string $key, mixed $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zScore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|float|false
|
|
<strong>zScore</strong>(string $key, mixed $member)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zdiff">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zdiff</strong>(array $keys, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zdiffstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zdiffstore</strong>(string $dst, array $keys)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zinter">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zinter</strong>(array $keys, ?array $weights = null, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$weights</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zintercard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zintercard</strong>(array $keys, int $limit = -1)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$limit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zinterstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zinterstore</strong>(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$weights</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$aggregate</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zunion">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|array|false
|
|
<strong>zunion</strong>(array $keys, ?array $weights = null, ?array $options = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$weights</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
<h3 id="method_zunionstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/main/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code> RedisArray|int|false
|
|
<strong>zunionstore</strong>(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)
|
|
</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?array</td>
|
|
<td>$weights</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>?string</td>
|
|
<td>$aggregate</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4>Return Value</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div><div id="footer">
|
|
Generated by <a href="https://github.com/code-lts/doctum">Doctum, a API Documentation generator and fork of Sami</a>.</div></div>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|