mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
17503 lines
561 KiB
HTML
17503 lines
561 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;
|
|
}
|
|
|
|
function ensureCustomClassesAreBuiltIn() {
|
|
var classesToAdd = ['Redis', 'RedisCluster', 'RedisArray'];
|
|
|
|
if (!hljs.getLanguage) {
|
|
return;
|
|
}
|
|
|
|
var phpLanguage = hljs.getLanguage('php');
|
|
if (!phpLanguage || !phpLanguage.keywords) {
|
|
return;
|
|
}
|
|
|
|
var builtIns = phpLanguage.keywords.built_in;
|
|
if (!builtIns) {
|
|
phpLanguage.keywords.built_in = classesToAdd.join(' ');
|
|
return;
|
|
}
|
|
|
|
if (Array.isArray(builtIns)) {
|
|
classesToAdd.forEach(function (className) {
|
|
if (builtIns.indexOf(className) === -1) {
|
|
builtIns.push(className);
|
|
}
|
|
});
|
|
return;
|
|
}
|
|
|
|
if (typeof builtIns === 'string') {
|
|
classesToAdd.forEach(function (className) {
|
|
if (builtIns.indexOf(className) === -1) {
|
|
builtIns += ' ' + className;
|
|
}
|
|
});
|
|
phpLanguage.keywords.built_in = builtIns;
|
|
}
|
|
}
|
|
|
|
function collectLinkMetadata(container, typeText) {
|
|
var anchors = container.querySelectorAll('a');
|
|
var lastIndex = 0;
|
|
var meta = [];
|
|
|
|
for (var i = 0; i < anchors.length; i++) {
|
|
var anchor = anchors[i];
|
|
var text = anchor.textContent.trim();
|
|
if (!text) {
|
|
continue;
|
|
}
|
|
|
|
var href = anchor.getAttribute('href');
|
|
var start = typeText.indexOf(text, lastIndex);
|
|
|
|
if (start === -1) {
|
|
start = typeText.indexOf(text);
|
|
if (start === -1) {
|
|
continue;
|
|
}
|
|
}
|
|
|
|
meta.push({
|
|
start: start,
|
|
end: start + text.length,
|
|
href: href
|
|
});
|
|
|
|
lastIndex = start + text.length;
|
|
}
|
|
|
|
return meta;
|
|
}
|
|
|
|
function findTextPosition(container, targetIndex) {
|
|
var walker = document.createTreeWalker(
|
|
container,
|
|
NodeFilter.SHOW_TEXT,
|
|
null
|
|
);
|
|
|
|
var currentIndex = 0;
|
|
var currentNode;
|
|
|
|
while ((currentNode = walker.nextNode())) {
|
|
var nextIndex = currentIndex + currentNode.textContent.length;
|
|
|
|
if (targetIndex <= nextIndex) {
|
|
return {
|
|
node: currentNode,
|
|
offset: targetIndex - currentIndex
|
|
};
|
|
}
|
|
|
|
currentIndex = nextIndex;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
function restoreLinks(codeElement, meta) {
|
|
var sorted = meta.slice().sort(function (a, b) {
|
|
return b.start - a.start;
|
|
});
|
|
|
|
for (var i = 0; i < sorted.length; i++) {
|
|
var info = sorted[i];
|
|
var startPos = findTextPosition(codeElement, info.start);
|
|
var endPos = findTextPosition(codeElement, info.end);
|
|
|
|
if (!startPos || !endPos) {
|
|
continue;
|
|
}
|
|
|
|
var range = document.createRange();
|
|
range.setStart(startPos.node, startPos.offset);
|
|
range.setEnd(endPos.node, endPos.offset);
|
|
|
|
var anchor = document.createElement('a');
|
|
anchor.setAttribute('href', info.href);
|
|
anchor.appendChild(range.extractContents());
|
|
range.insertNode(anchor);
|
|
range.detach();
|
|
}
|
|
}
|
|
|
|
function highlightAndRestore(codeElement, metadata) {
|
|
hljs.highlightElement(codeElement);
|
|
|
|
if (metadata && metadata.length) {
|
|
restoreLinks(codeElement, metadata);
|
|
}
|
|
}
|
|
|
|
ensureCustomClassesAreBuiltIn();
|
|
|
|
var exampleBlocks = document.querySelectorAll('pre.examples');
|
|
exampleBlocks.forEach(function (block) {
|
|
if (!block.dataset.language) {
|
|
block.dataset.language = 'php';
|
|
}
|
|
block.classList.add('language-php');
|
|
hljs.highlightElement(block);
|
|
});
|
|
|
|
var signatureBlocks = document.querySelectorAll('code.method-signature');
|
|
signatureBlocks.forEach(function (block) {
|
|
if (!block.classList.contains('language-php')) {
|
|
block.classList.add('language-php');
|
|
}
|
|
hljs.highlightElement(block);
|
|
});
|
|
|
|
var phpCodeBlocks = document.querySelectorAll('pre code.language-php');
|
|
phpCodeBlocks.forEach(function (block) {
|
|
if (block.classList.contains('method-signature')) {
|
|
return;
|
|
}
|
|
|
|
if (block.closest('pre.examples')) {
|
|
return;
|
|
}
|
|
|
|
if (block.parentElement && !block.parentElement.classList.contains('language-php')) {
|
|
block.parentElement.classList.add('language-php');
|
|
}
|
|
|
|
hljs.highlightElement(block);
|
|
});
|
|
|
|
highlightReturnTypes();
|
|
highlightMethodParameters();
|
|
highlightApiIndex();
|
|
|
|
function highlightReturnTypes() {
|
|
if (!document.createTreeWalker || !window.NodeFilter) {
|
|
return;
|
|
}
|
|
|
|
var containers = document.querySelectorAll('.return-value-content');
|
|
containers.forEach(function (container) {
|
|
var table = container.querySelector('table');
|
|
if (!table) {
|
|
return;
|
|
}
|
|
|
|
table.querySelectorAll('tr').forEach(function (row) {
|
|
var typeCell = row.querySelector('td');
|
|
if (!typeCell || typeCell.querySelector('code.return-type')) {
|
|
return;
|
|
}
|
|
|
|
var typeText = typeCell.textContent.trim();
|
|
if (!typeText) {
|
|
return;
|
|
}
|
|
|
|
var linkMeta = collectLinkMetadata(typeCell, typeText);
|
|
var code = document.createElement('code');
|
|
code.className = 'return-type language-php';
|
|
code.textContent = typeText;
|
|
|
|
typeCell.innerHTML = '';
|
|
typeCell.appendChild(code);
|
|
|
|
highlightAndRestore(code, linkMeta);
|
|
});
|
|
});
|
|
}
|
|
|
|
function highlightMethodParameters() {
|
|
if (!document.createTreeWalker || !window.NodeFilter) {
|
|
return;
|
|
}
|
|
|
|
var headings = document.querySelectorAll('.tags > h4');
|
|
headings.forEach(function (heading) {
|
|
if (!heading.textContent || heading.textContent.trim() !== 'Parameters') {
|
|
return;
|
|
}
|
|
|
|
var table = heading.nextElementSibling;
|
|
while (table && table.tagName !== 'TABLE') {
|
|
table = table.nextElementSibling;
|
|
}
|
|
|
|
if (!table) {
|
|
return;
|
|
}
|
|
|
|
table.querySelectorAll('tr').forEach(function (row) {
|
|
var cells = row.querySelectorAll('td');
|
|
if (!cells.length) {
|
|
return;
|
|
}
|
|
|
|
enhanceParameterCell(cells[0], 'parameter-type');
|
|
|
|
if (cells.length > 1) {
|
|
enhanceParameterCell(cells[1], 'parameter-name');
|
|
}
|
|
});
|
|
});
|
|
|
|
function enhanceParameterCell(cell, className) {
|
|
if (!cell || cell.querySelector('code.' + className)) {
|
|
return;
|
|
}
|
|
|
|
var cellText = cell.textContent.trim();
|
|
if (!cellText) {
|
|
return;
|
|
}
|
|
|
|
var meta = collectLinkMetadata(cell, cellText);
|
|
var code = document.createElement('code');
|
|
code.className = className + ' language-php';
|
|
code.textContent = cellText;
|
|
|
|
cell.innerHTML = '';
|
|
cell.appendChild(code);
|
|
|
|
highlightAndRestore(code, meta);
|
|
}
|
|
}
|
|
|
|
function highlightApiIndex() {
|
|
if (!document.createTreeWalker || !window.NodeFilter) {
|
|
return;
|
|
}
|
|
|
|
var potentialContainers = document.querySelectorAll('.container-fluid.underlined');
|
|
var containers = [];
|
|
var anchorSelector = '.row .col-md-8 > a[href^="#method_"]';
|
|
|
|
for (var i = 0; i < potentialContainers.length; i++) {
|
|
var candidate = potentialContainers[i];
|
|
if (!candidate.querySelector(anchorSelector)) {
|
|
continue;
|
|
}
|
|
|
|
var heading = candidate.previousElementSibling;
|
|
if (heading && heading.tagName === 'H2' && heading.textContent && heading.textContent.trim() === 'Methods') {
|
|
containers.push(candidate);
|
|
}
|
|
}
|
|
|
|
if (!containers.length) {
|
|
return;
|
|
}
|
|
|
|
for (var j = 0; j < containers.length; j++) {
|
|
var container = containers[j];
|
|
var rows = container.querySelectorAll('.row');
|
|
|
|
for (var k = 0; k < rows.length; k++) {
|
|
var row = rows[k];
|
|
enhanceTypeCell(row.querySelector('.col-md-2.type'));
|
|
enhanceSignatureCell(row.querySelector('.col-md-8'));
|
|
}
|
|
}
|
|
|
|
function enhanceTypeCell(typeCell) {
|
|
if (!typeCell || typeCell.querySelector('code.method-index-type')) {
|
|
return;
|
|
}
|
|
|
|
var typeText = typeCell.textContent.trim();
|
|
if (!typeText) {
|
|
return;
|
|
}
|
|
|
|
var meta = collectLinkMetadata(typeCell, typeText);
|
|
|
|
var code = document.createElement('code');
|
|
code.className = 'method-index-type language-php';
|
|
code.textContent = typeText;
|
|
|
|
typeCell.innerHTML = '';
|
|
typeCell.appendChild(code);
|
|
|
|
highlightAndRestore(code, meta);
|
|
}
|
|
|
|
function enhanceSignatureCell(signatureCell) {
|
|
if (!signatureCell || signatureCell.querySelector('code.method-index-signature')) {
|
|
return;
|
|
}
|
|
|
|
var descriptionStart = null;
|
|
for (var i = 0; i < signatureCell.children.length; i++) {
|
|
var child = signatureCell.children[i];
|
|
if (child.tagName === 'P') {
|
|
descriptionStart = child;
|
|
break;
|
|
}
|
|
}
|
|
|
|
var nodesToProcess = [];
|
|
var current = signatureCell.firstChild;
|
|
while (current && current !== descriptionStart) {
|
|
nodesToProcess.push(current);
|
|
current = current.nextSibling;
|
|
}
|
|
|
|
if (!nodesToProcess.length) {
|
|
return;
|
|
}
|
|
|
|
var signatureText = '';
|
|
for (var j = 0; j < nodesToProcess.length; j++) {
|
|
signatureText += nodesToProcess[j].textContent || '';
|
|
}
|
|
signatureText = signatureText.replace(/\s+/g, ' ').trim();
|
|
|
|
if (!signatureText) {
|
|
return;
|
|
}
|
|
|
|
var tempWrapper = document.createElement('div');
|
|
for (var k = 0; k < nodesToProcess.length; k++) {
|
|
tempWrapper.appendChild(nodesToProcess[k].cloneNode(true));
|
|
}
|
|
|
|
var meta = collectLinkMetadata(tempWrapper, signatureText);
|
|
|
|
for (var l = 0; l < nodesToProcess.length; l++) {
|
|
if (nodesToProcess[l].parentNode === signatureCell) {
|
|
signatureCell.removeChild(nodesToProcess[l]);
|
|
}
|
|
}
|
|
|
|
var code = document.createElement('code');
|
|
code.className = 'method-index-signature language-php';
|
|
code.textContent = signatureText;
|
|
|
|
signatureCell.insertBefore(code, descriptionStart);
|
|
|
|
highlightAndRestore(code, meta);
|
|
}
|
|
}
|
|
});
|
|
</script>
|
|
|
|
|
|
<link rel="search"
|
|
type="application/opensearchdescription+xml"
|
|
href="https://phpredis.github.io/opensearch.xml"
|
|
title="PhpRedis API (develop)" />
|
|
</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/develop/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/develop/redis_array.stub.php#L261">at line 261</a></div>
|
|
<code class="method-signature language-php">mixed __call(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method___construct">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L263">at line 263</a></div>
|
|
<code class="method-signature language-php">__construct(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/develop/redis_array.stub.php#L265">at line 265</a></div>
|
|
<code class="method-signature language-php">bool|array _continuum()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__distributor">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L267">at line 267</a></div>
|
|
<code class="method-signature language-php">bool|callable _distributor()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|callable</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__function">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L269">at line 269</a></div>
|
|
<code class="method-signature language-php">bool|callable _function()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|callable</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__hosts">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L271">at line 271</a></div>
|
|
<code class="method-signature language-php">bool|array _hosts()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__instance">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L273">at line 273</a></div>
|
|
<code class="method-signature language-php">bool|null|Redis _instance(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|null|Redis</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__rehash">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L275">at line 275</a></div>
|
|
<code class="method-signature language-php">bool|null _rehash(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__target">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L277">at line 277</a></div>
|
|
<code class="method-signature language-php">bool|string|null _target(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|string|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bgsave">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L279">at line 279</a></div>
|
|
<code class="method-signature language-php">array bgsave()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_del">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L281">at line 281</a></div>
|
|
<code class="method-signature language-php">bool|int del(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_discard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L283">at line 283</a></div>
|
|
<code class="method-signature language-php">bool|null discard()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_exec">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L285">at line 285</a></div>
|
|
<code class="method-signature language-php">bool|null|array exec()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|null|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_flushall">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L287">at line 287</a></div>
|
|
<code class="method-signature language-php">bool|array flushall()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_flushdb">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L289">at line 289</a></div>
|
|
<code class="method-signature language-php">bool|array flushdb()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getOption">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L291">at line 291</a></div>
|
|
<code class="method-signature language-php">bool|array getOption(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L293">at line 293</a></div>
|
|
<code class="method-signature language-php">bool|array hscan(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_info">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L295">at line 295</a></div>
|
|
<code class="method-signature language-php">bool|array info()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_keys">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L297">at line 297</a></div>
|
|
<code class="method-signature language-php">bool|array keys(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_mget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L299">at line 299</a></div>
|
|
<code class="method-signature language-php">bool|array mget(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_mset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L301">at line 301</a></div>
|
|
<code class="method-signature language-php">bool mset(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_multi">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L303">at line 303</a></div>
|
|
<code class="method-signature language-php">bool|RedisArray multi(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|RedisArray</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_ping">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L305">at line 305</a></div>
|
|
<code class="method-signature language-php">bool|array ping()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_save">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L307">at line 307</a></div>
|
|
<code class="method-signature language-php">bool|array save()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_scan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L309">at line 309</a></div>
|
|
<code class="method-signature language-php">bool|array scan(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_select">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L311">at line 311</a></div>
|
|
<code class="method-signature language-php">bool|array select(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_setOption">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L313">at line 313</a></div>
|
|
<code class="method-signature language-php">bool|array setOption(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L315">at line 315</a></div>
|
|
<code class="method-signature language-php">bool|array sscan(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_unlink">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L317">at line 317</a></div>
|
|
<code class="method-signature language-php">bool|int unlink(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_unwatch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L319">at line 319</a></div>
|
|
<code class="method-signature language-php">bool|null unwatch()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L321">at line 321</a></div>
|
|
<code class="method-signature language-php">bool|array zscan(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_acl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed acl(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_append">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false append(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_auth">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool auth(SensitiveParameter] $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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bgrewriteaof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool bgrewriteaof()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_waitaof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false waitaof(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bitcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false bitcount(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bitop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false bitop(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bitpos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false bitpos(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_blPop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|null|false blPop(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_brPop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|null|false brPop(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_brpoplpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|false brpoplpush(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bzPopMax">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false bzPopMax(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bzPopMin">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false bzPopMin(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bzmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|null|false bzmpop(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|null|false zmpop(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_blmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|null|false blmpop(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|null|false lmpop(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_clearLastError">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">bool clearLastError()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_client">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed client(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_close">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">bool close()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_command">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed command(?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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_config">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed config(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_copy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool copy(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_dbSize">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false dbSize()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_debug">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string debug(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_decr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false decr(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_decrBy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false decrBy(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_delifeq">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false delifeq(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_delete">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false delete(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_dump">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|false dump(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_echo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|false echo(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_eval">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed eval(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_eval_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed eval_ro(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_evalsha">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed evalsha(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_evalsha_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed evalsha_ro(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_exists">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|bool exists(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_expire">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool expire(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_expireAt">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool expireAt(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_failover">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool failover(?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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_expiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false expiretime(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pexpiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false pexpiretime(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_fcall">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed fcall(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_fcall_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed fcall_ro(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_function">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool|string|array function(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geoadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false geoadd(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geodist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|float|false geodist(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geohash">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false geohash(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geopos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false geopos(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_georadius">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed georadius(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_georadius_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed georadius_ro(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_georadiusbymember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed georadiusbymember(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_georadiusbymember_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed georadiusbymember_ro(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geosearch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">array geosearch(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geosearchstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|int|false geosearchstore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_get">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed get(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getWithMeta">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false getWithMeta(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getAuth">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed getAuth()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getBit">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false getBit(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getEx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|bool getEx(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getDBNum">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">int getDBNum()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getDel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|bool getDel(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getHost">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">string getHost()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getLastError">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">string|null getLastError()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getMode">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">int getMode()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getPersistentID">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">string|null getPersistentID()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getPort">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">int getPort()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_serverName">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">string|false serverName()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_serverVersion">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">string|false serverVersion()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getRange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|false getRange(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lcs">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|array|int|false lcs(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|array|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getReadTimeout">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">float getReadTimeout()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|false getset(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getTimeout">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">float|false getTimeout()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getTransferredBytes">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">array getTransferredBytes()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_clearTransferredBytes">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">void clearTransferredBytes()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hDel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false hDel(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hExists">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool hExists(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hGet">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed hGet(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hGetAll">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false hGetAll(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hGetWithMeta">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed hGetWithMeta(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hIncrBy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false hIncrBy(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hIncrByFloat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|float|false hIncrByFloat(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hKeys">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false hKeys(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hLen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false hLen(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hMget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false hMget(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hgetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false hgetex(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hsetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false hsetex(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hgetdel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false hgetdel(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hMset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool hMset(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hRandField">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|array|false hRandField(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hSet">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false hSet(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hSetNx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool hSetNx(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hStrLen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false hStrLen(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hVals">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false hVals(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_httl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false httl(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hpttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false hpttl(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hexpiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false hexpiretime(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hpexpiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false hpexpiretime(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hpersist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false hpersist(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_expiremember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false expiremember(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_expirememberat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false expirememberat(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_incr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false incr(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_incrBy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false incrBy(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_incrByFloat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|float|false incrByFloat(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_isConnected">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">bool isConnected()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lInsert">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">void lInsert(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lLen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false lLen(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lMove">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|false lMove(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_blmove">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|false blmove(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lPop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool|string|array lPop(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lPos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|null|bool|int|array lPos(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|null|bool|int|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lPush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false lPush(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rPush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false rPush(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lPushx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false lPushx(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rPushx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false rPushx(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lSet">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool lSet(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lastSave">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">int lastSave()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lindex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed lindex(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false lrange(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lrem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false lrem(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_ltrim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool ltrim(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_move">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool move(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_msetnx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool msetnx(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_object">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|string|false object(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_open">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">bool open(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pconnect">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">bool pconnect(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_persist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool persist(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pexpire">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">bool pexpire(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pexpireAt">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool pexpireAt(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pfadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int pfadd(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pfcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false pfcount(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pfmerge">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool pfmerge(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pipeline">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray pipeline()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td><abbr title="bool|\RedisArray">RedisArray</abbr></td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_popen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">bool popen(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_psetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool psetex(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_psubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">bool psubscribe(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false pttl(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_publish">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false publish(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pubsub">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed pubsub(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_punsubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|bool punsubscribe(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rPop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|string|bool rPop(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_randomKey">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|false randomKey()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rawcommand">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed rawcommand(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rename">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool rename(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_renameNx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool renameNx(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_reset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool reset()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_restore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool restore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_role">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed role()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rpoplpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|false rpoplpush(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sAdd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false sAdd(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sAddArray">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">int sAddArray(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sDiff">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false sDiff(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sDiffStore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false sDiffStore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sInter">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false sInter(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sintercard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false sintercard(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sInterStore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false sInterStore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sMembers">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false sMembers(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sMisMember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false sMisMember(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sMove">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool sMove(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sPop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|array|false sPop(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sRandMember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed sRandMember(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sUnion">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false sUnion(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sUnionStore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false sUnionStore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_scard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false scard(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_script">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed script(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_set">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|bool set(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_setBit">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false setBit(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_setRange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false setRange(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_setex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">void setex(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_setnx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool setnx(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sismember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool sismember(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_slaveof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool slaveof(?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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_replicaof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool replicaof(?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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_touch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false touch(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_slowlog">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed slowlog(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sort">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed sort(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sort_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed sort_ro(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sortAsc">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">array sortAsc(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sortAscAlpha">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">array sortAscAlpha(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sortDesc">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">array sortDesc(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sortDescAlpha">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">array sortDescAlpha(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_srem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false srem(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_ssubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">bool ssubscribe(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_strlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false strlen(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_subscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">bool subscribe(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sunsubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|bool sunsubscribe(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_swapdb">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool swapdb(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_time">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array time()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_ttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false ttl(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_type">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false type(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_unsubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|bool unsubscribe(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_watch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool watch(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_wait">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">int|false wait(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xack">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">int|false xack(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|false xadd(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xautoclaim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool|array xautoclaim(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xclaim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|bool xclaim(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xdel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false xdel(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xinfo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">mixed xinfo(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false xlen(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xpending">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false xpending(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|bool xrange(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xread">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|bool xread(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xreadgroup">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|bool xreadgroup(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xrevrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|bool xrevrange(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false vadd(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vsim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false vsim(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vcard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false vcard(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vdim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false vdim(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vinfo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false vinfo(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vismember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|bool vismember(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vemb">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false vemb(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vrandmember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|string|false vrandmember(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false vrange(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vrem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false vrem(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vsetattr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false vsetattr(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vgetattr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|string|false vgetattr(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vlinks">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false vlinks(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xtrim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false xtrim(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zAdd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|float|false zAdd(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zCard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zCard(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zCount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zCount(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zIncrBy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|float|false zIncrBy(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zLexCount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zLexCount(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zMscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zMscore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zPopMax">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zPopMax(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zPopMin">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zPopMin(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zRange(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRangeByLex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zRangeByLex(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRangeByScore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zRangeByScore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRandMember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|string|array zRandMember(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zRank(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zRem(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRemRangeByLex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zRemRangeByLex(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRemRangeByRank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zRemRangeByRank(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRemRangeByScore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zRemRangeByScore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRevRange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zRevRange(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRevRangeByLex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zRevRangeByLex(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRevRangeByScore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zRevRangeByScore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zRevRank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zRevRank(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zScore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|float|false zScore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zdiff">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zdiff(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zdiffstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zdiffstore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zinter">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zinter(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zintercard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zintercard(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zinterstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zinterstore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zunion">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|array|false zunion(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zunionstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php#L259">at line 259</a></div>
|
|
<code class="method-signature language-php">RedisArray|int|false zunionstore(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 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisArray|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</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>
|