diff --git a/PDO/PDO.php b/PDO/PDO.php
index 8afb63fb..8db2af5c 100644
--- a/PDO/PDO.php
+++ b/PDO/PDO.php
@@ -5,7 +5,7 @@
/**
* Represents an error raised by PDO. You should not throw a
* PDOException from your own code.
- * @see http://php.net/manual/en/language.exceptions.php Exceptions in PHP
+ * @see https://php.net/manual/en/language.exceptions.php Exceptions in PHP
* @link https://php.net/manual/en/class.pdoexception.php
*/
class PDOException extends RuntimeException {
@@ -293,7 +293,7 @@ class PDO {
const ATTR_TIMEOUT = 2;
/**
- * @see http://php.net/manual/en/pdo.error-handling.php Errors and error handling
+ * @see https://php.net/manual/en/pdo.error-handling.php Errors and error handling
* @link https://php.net/manual/en/pdo.constants.php#pdo.constants.attr-errmode
*/
const ATTR_ERRMODE = 3;
@@ -352,7 +352,7 @@ class PDO {
/**
* Request a persistent connection, rather than creating a new connection.
- * @see http://php.net/manual/en/pdo.connections.php Connections and Connection Management
+ * @see https://php.net/manual/en/pdo.connections.php Connections and Connection Management
* @link https://php.net/manual/en/pdo.constants.php#pdo.constants.attr-persistent
*/
const ATTR_PERSISTENT = 12;
@@ -422,21 +422,21 @@ class PDO {
/**
* Do not raise an error or exception if an error occurs. The developer is
* expected to explicitly check for errors. This is the default mode.
- * @see http://php.net/manual/en/pdo.error-handling.php Errors and Error Handling
+ * @see https://php.net/manual/en/pdo.error-handling.php Errors and Error Handling
* @link https://php.net/manual/en/pdo.constants.php#pdo.constants.errmode-silent
*/
const ERRMODE_SILENT = 0;
/**
* Issue a PHP E_WARNING message if an error occurs.
- * @see http://php.net/manual/en/pdo.error-handling.php Errors and Error Handling
+ * @see https://php.net/manual/en/pdo.error-handling.php Errors and Error Handling
* @link https://php.net/manual/en/pdo.constants.php#pdo.constants.errmode-warning
*/
const ERRMODE_WARNING = 1;
/**
* Throw a PDOException if an error occurs.
- * @see http://php.net/manual/en/pdo.error-handling.php Errors and Error Handling
+ * @see https://php.net/manual/en/pdo.error-handling.php Errors and Error Handling
* @link https://php.net/manual/en/pdo.constants.php#pdo.constants.errmode-exception
*/
const ERRMODE_EXCEPTION = 2;
@@ -1115,7 +1115,7 @@ class PDO {
/**
* (PHP 5 >= 5.1.0, PHP 7, PECL pdo_sqlite >= 1.0.0)
* Registers a User Defined Function for use in SQL statements
- * @link http://php.net/manual/en/pdo.sqlitecreatefunction.php
+ * @link https://php.net/manual/en/pdo.sqlitecreatefunction.php
* @param string $function_name
* The name of the function used in SQL statements. *
diff --git a/Parle/Lexer.php b/Parle/Lexer.php index 7fee77f5..20f4c9bb 100644 --- a/Parle/Lexer.php +++ b/Parle/Lexer.php @@ -111,7 +111,7 @@ class Lexer /** * Insert a regex macro, that can be later used as a shortcut and included in other regular expressions. * - * @see http://php.net/manual/en/parle-lexer.insertmacro.php + * @see https://php.net/manual/en/parle-lexer.insertmacro.php * @param string $name Name of the macros. * @param string $regex Regular expression. * @return void diff --git a/Parle/RLexer.php b/Parle/RLexer.php index 6ee239c3..73fa07e1 100644 --- a/Parle/RLexer.php +++ b/Parle/RLexer.php @@ -78,7 +78,7 @@ class RLexer * * Define a callback to be invoked once lexer encounters a particular token. * - * @see http://php.net/manual/en/parle-rlexer.callout.php + * @see https://php.net/manual/en/parle-rlexer.callout.php * @param int $id Token id. * @param callable $callback Callable to be invoked. The callable doesn't receive any arguments and its return value is ignored. * @return void @@ -90,7 +90,7 @@ class RLexer * * Consume the data for lexing. * - * @see http://php.net/manual/en/parle-rlexer.consume.php + * @see https://php.net/manual/en/parle-rlexer.consume.php * @param string $data Data to be lexed. * @return void */ @@ -101,7 +101,7 @@ class RLexer * * Dump the current state machine to stdout. * - * @see http://php.net/manual/en/parle-rlexer.dump.php + * @see https://php.net/manual/en/parle-rlexer.dump.php * @return void */ public function dump() : void {} diff --git a/SPL/SPL.php b/SPL/SPL.php index eb3af61c..b8402ba1 100644 --- a/SPL/SPL.php +++ b/SPL/SPL.php @@ -106,7 +106,7 @@ class UnexpectedValueException extends RuntimeException { /** * The EmptyIterator class for an empty iterator. - * @link http://www.php.net/manual/en/class.emptyiterator.php + * @link https://www.php.net/manual/en/class.emptyiterator.php */ class EmptyIterator implements Iterator { @@ -154,7 +154,7 @@ class EmptyIterator implements Iterator { /** * Filtered iterator using the callback to determine which items are accepted or rejected. - * @link http://www.php.net/manual/en/class.callbackfilteriterator.php + * @link https://www.php.net/manual/en/class.callbackfilteriterator.php * @since 5.4.0 */ class CallbackFilterIterator extends FilterIterator { @@ -166,14 +166,14 @@ class CallbackFilterIterator extends FilterIterator { * May be any valid callable value. * The callback should accept up to three arguments: the current item, the current key and the iterator, respectively. * function my_callback($current, $key, $iterator)
- * @link http://www.php.net/manual/en/callbackfilteriterator.construct.php
+ * @link https://www.php.net/manual/en/callbackfilteriterator.construct.php
*/
function __construct(Iterator $iterator , callable $callback) { }
/**
* This method calls the callback with the current value, current key and the inner iterator.
* The callback is expected to return TRUE if the current item is to be accepted, or FALSE otherwise.
- * @link http://www.php.net/manual/en/callbackfilteriterator.accept.php
+ * @link https://www.php.net/manual/en/callbackfilteriterator.accept.php
* @return bool true if the current element is acceptable, otherwise false.
*/
public function accept() { }
@@ -182,7 +182,7 @@ class CallbackFilterIterator extends FilterIterator {
/**
* (PHP 5 >= 5.4.0)The column names returned by * SQLITE_ASSOC and SQLITE_BOTH will be * case-folded according to the value of the - * {@link http://php.net/manual/en/sqlite.configuration.php#ini.sqlite.assoc-case sqlite.assoc_case} configuration + * {@link https://php.net/manual/en/sqlite.configuration.php#ini.sqlite.assoc-case sqlite.assoc_case} configuration * option.
*/ public function queryExec ($query, &$error_message) {} diff --git a/curl/curl_d.php b/curl/curl_d.php index 9f99a138..54913feb 100644 --- a/curl/curl_d.php +++ b/curl/curl_d.php @@ -1,6 +1,6 @@ XML_xxx_NODE constants + * XML_xxx_NODE constants * @link https://php.net/manual/en/class.domnode.php#domnode.props.nodetype */ public $nodeType; @@ -321,7 +321,7 @@ class DOMNode { /** * Gets an XPath location path for the node * @return string the XPath, or NULL in case of an error. - * @link http://www.php.net/manual/en/domnode.getnodepath.php + * @link https://www.php.net/manual/en/domnode.getnodepath.php * @since 5.3.0 */ public function getNodePath () {} @@ -438,7 +438,7 @@ class DOMImplementation { /** * Creates a new DOMImplementation object - * @link http://http://php.net/manual/en/domimplementation.construct.php + * @link https://php.net/manual/en/domimplementation.construct.php * @since 5.0 */ public function __construct(){} @@ -1877,14 +1877,14 @@ class DOMConfiguration { /** * The DOMCdataSection inherits from DOMText for textural representation of CData constructs. - * @link http://www.php.net/manual/en/class.domcdatasection.php + * @link https://www.php.net/manual/en/class.domcdatasection.php */ class DOMCdataSection extends DOMText { /** * The value of the CDATA node. If not supplied, an empty CDATA node is created. * @param string $value The value of the CDATA node. If not supplied, an empty CDATA node is created. - * @link http://www.php.net/manual/en/domcdatasection.construct.php + * @link https://www.php.net/manual/en/domcdatasection.construct.php * @since 5.0 */ public function __construct ($value) {} diff --git a/event/event.php b/event/event.php index 08d7badd..d7dff463 100644 --- a/event/event.php +++ b/event/event.php @@ -9,9 +9,9 @@ * @property bool $pending * * @author Kazuaki MABUCHI - * @copyright Сopyright (http://php.net/manual/cc.license.php) by the PHP Documentation Group is licensed under [CC by 3.0 or later](http://creativecommons.org/licenses/by/3.0/). + * @copyright Сopyright (https://php.net/manual/cc.license.php) by the PHP Documentation Group is licensed under [CC by 3.0 or later](https://creativecommons.org/licenses/by/3.0/). * - * @see http://php.net/manual/en/class.event.php + * @see https://php.net/manual/en/class.event.php */ final class Event { @@ -34,7 +34,7 @@ final class Event * @param callable $cb * @param mixed $arg = null * - * @see http://php.net/manual/en/event.construct.php + * @see https://php.net/manual/en/event.construct.php */ public function __construct(EventBase $base, mixed $fd, int $what, callable $cb, mixed $arg = null) { @@ -48,7 +48,7 @@ final class Event * * @return bool * - * @see http://php.net/manual/en/event.add.php + * @see https://php.net/manual/en/event.add.php */ public function add(double $timeout): bool { @@ -62,7 +62,7 @@ final class Event * * @return bool * - * @see http://php.net/manual/en/event.addsignal.php + * @see https://php.net/manual/en/event.addsignal.php */ public function addSignal(double $timeout): bool { @@ -76,7 +76,7 @@ final class Event * * @return bool * - * @see http://php.net/manual/en/event.addtimer.php + * @see https://php.net/manual/en/event.addtimer.php */ public function addTimer(double $timeout): bool { @@ -88,7 +88,7 @@ final class Event * * @return bool * - * @see http://php.net/manual/en/event.del.php + * @see https://php.net/manual/en/event.del.php */ public function del(): bool { @@ -100,7 +100,7 @@ final class Event * * @return bool * - * @see http://php.net/manual/en/event.delsignal.php + * @see https://php.net/manual/en/event.delsignal.php */ public function delSignal(): bool { @@ -112,7 +112,7 @@ final class Event * * @return bool * - * @see http://php.net/manual/en/event.deltimer.php + * @see https://php.net/manual/en/event.deltimer.php */ public function delTimer(): bool { @@ -122,7 +122,7 @@ final class Event * free. * Make event non-pending and free resources allocated for this event. * - * @see http://php.net/manual/en/event.free.php + * @see https://php.net/manual/en/event.free.php */ public function free(): void { @@ -134,7 +134,7 @@ final class Event * * @return array * - * @see http://php.net/manual/en/event.getsupportedmethods.php + * @see https://php.net/manual/en/event.getsupportedmethods.php */ public static function getSupportedMethods(): array { @@ -148,7 +148,7 @@ final class Event * * @return bool * - * @see http://php.net/manual/en/event.pending.php + * @see https://php.net/manual/en/event.pending.php */ public function pending(int $flags): bool { @@ -166,7 +166,7 @@ final class Event * * @return bool * - * @see http://php.net/manual/en/event.set.php + * @see https://php.net/manual/en/event.set.php */ public function set(EventBase $base, mixed $fd, int $what, callable $cb, mixed $arg): bool { @@ -178,7 +178,7 @@ final class Event * * @return bool * - * @see http://php.net/manual/en/event.setpriority.php + * @see https://php.net/manual/en/event.setpriority.php */ public function setPriority(int $priority): bool { @@ -194,7 +194,7 @@ final class Event * * @return bool * - * @see http://php.net/manual/en/event.settimer.php + * @see https://php.net/manual/en/event.settimer.php */ public function setTimer(EventBase $base, callable $cb, mixed $arg): bool { @@ -211,7 +211,7 @@ final class Event * * @return Event * - * @see http://php.net/manual/en/event.signal.php + * @see https://php.net/manual/en/event.signal.php */ public static function signal(EventBase $base, int $signum, callable $cb, mixed $arg): Event { @@ -227,7 +227,7 @@ final class Event * * @return Event * - * @see http://php.net/manual/en/event.timer.php + * @see https://php.net/manual/en/event.timer.php */ public static function timer(EventBase $base, callable $cb, mixed $arg): Event { @@ -242,9 +242,9 @@ final class Event * To configure event base to use, or avoid specific backend EventConfig class can be used. * * @author Kazuaki MABUCHI - * @copyright Copyright (http://php.net/manual/cc.license.php) by the PHP Documentation Group is licensed under [CC by 3.0 or later](http://creativecommons.org/licenses/by/3.0/). + * @copyright Copyright (https://php.net/manual/cc.license.php) by the PHP Documentation Group is licensed under [CC by 3.0 or later](https://creativecommons.org/licenses/by/3.0/). * - * @see http://php.net/manual/en/class.eventbase.php + * @see https://php.net/manual/en/class.eventbase.php */ final class EventBase { @@ -261,7 +261,7 @@ final class EventBase * * @param EventConfig $cfg * - * @see http://php.net/manual/en/eventbase.construct.php + * @see https://php.net/manual/en/eventbase.construct.php */ public function __construct(EventConfig $cfg) { @@ -271,7 +271,7 @@ final class EventBase * dispatch. * Dispatch pending events. * - * @see http://php.net/manual/en/eventbase.dispatch.php + * @see https://php.net/manual/en/eventbase.dispatch.php */ public function dispatch(): void { @@ -285,7 +285,7 @@ final class EventBase * * @return bool * - * @see http://php.net/manual/en/eventbase.exit.php + * @see https://php.net/manual/en/eventbase.exit.php */ public function exit(double $timeout): bool { @@ -295,7 +295,7 @@ final class EventBase * free. * Free resources allocated for this event base. * - * @see http://php.net/manual/en/eventbase.free.php + * @see https://php.net/manual/en/eventbase.free.php */ public function free(): void { @@ -307,7 +307,7 @@ final class EventBase * * @return int * - * @see http://php.net/manual/en/eventbase.getfeatures.php + * @see https://php.net/manual/en/eventbase.getfeatures.php */ public function getFeatures(): int { @@ -319,7 +319,7 @@ final class EventBase * * @return string * - * @see http://php.net/manual/en/eventbase.getmethod.php + * @see https://php.net/manual/en/eventbase.getmethod.php */ public function getMethod(): string { @@ -331,7 +331,7 @@ final class EventBase * * @return float * - * @see http://php.net/manual/en/eventbase.gettimeofdaycached.php + * @see https://php.net/manual/en/eventbase.gettimeofdaycached.php */ public function getTimeOfDayCached(): double { @@ -343,7 +343,7 @@ final class EventBase * * @return bool * - * @see http://php.net/manual/en/eventbase.gotexit.php + * @see https://php.net/manual/en/eventbase.gotexit.php */ public function gotExit(): bool { @@ -355,7 +355,7 @@ final class EventBase * * @return bool * - * @see http://php.net/manual/en/eventbase.gotstop.php + * @see https://php.net/manual/en/eventbase.gotstop.php */ public function gotStop(): bool { @@ -369,7 +369,7 @@ final class EventBase * * @return bool * - * @see http://php.net/manual/en/eventbase.loop.php + * @see https://php.net/manual/en/eventbase.loop.php */ public function loop(int $flags): bool { @@ -383,7 +383,7 @@ final class EventBase * * @return bool * - * @see http://php.net/manual/en/eventbase.priorityinit.php + * @see https://php.net/manual/en/eventbase.priorityinit.php */ public function priorityInit(int $n_priorities): bool { @@ -395,7 +395,7 @@ final class EventBase * * @return bool * - * @see http://php.net/manual/en/eventbase.reinit.php + * @see https://php.net/manual/en/eventbase.reinit.php */ public function reInit(): bool { @@ -407,7 +407,7 @@ final class EventBase * * @return bool * - * @see http://php.net/manual/en/eventbase.stop.php + * @see https://php.net/manual/en/eventbase.stop.php */ public function stop(): bool { @@ -424,9 +424,9 @@ final class EventBase * @property int $contiguous_space * * @author Kazuaki MABUCHI - * @copyright Copyright (http://php.net/manual/cc.license.php) by the PHP Documentation Group is licensed under [CC by 3.0 or later](http://creativecommons.org/licenses/by/3.0/). + * @copyright Copyright (https://php.net/manual/cc.license.php) by the PHP Documentation Group is licensed under [CC by 3.0 or later](https://creativecommons.org/licenses/by/3.0/). * - * @see http://php.net/manual/en/class.eventbuffer.php + * @see https://php.net/manual/en/class.eventbuffer.php */ class EventBuffer { @@ -444,7 +444,7 @@ class EventBuffer * __construct. * Constructs EventBuffer object. * - * @see http://php.net/manual/en/eventbuffer.construct.php + * @see https://php.net/manual/en/eventbuffer.construct.php */ public function __construct() { @@ -458,7 +458,7 @@ class EventBuffer * * @return bool * - * @see http://php.net/manual/en/eventbuffer.add.php + * @see https://php.net/manual/en/eventbuffer.add.php */ public function add(string $data): bool { @@ -472,7 +472,7 @@ class EventBuffer * * @return bool * - * @see http://php.net/manual/en/eventbuffer.addbuffer.php + * @see https://php.net/manual/en/eventbuffer.addbuffer.php */ public function addBuffer(EventBuffer $buf): bool { @@ -487,7 +487,7 @@ class EventBuffer * * @return int * - * @see http://php.net/manual/en/eventbuffer.appendfrom.php + * @see https://php.net/manual/en/eventbuffer.appendfrom.php */ public function appendFrom(EventBuffer $buf, int $len): int { @@ -502,7 +502,7 @@ class EventBuffer * * @return int * - * @see http://php.net/manual/en/eventbuffer.copyout.php + * @see https://php.net/manual/en/eventbuffer.copyout.php */ public function copyout(string &$data, int $max_bytes): int { @@ -516,7 +516,7 @@ class EventBuffer * * @return bool * - * @see http://php.net/manual/en/eventbuffer.drain.php + * @see https://php.net/manual/en/eventbuffer.drain.php */ public function drain(int $len): bool { @@ -525,7 +525,7 @@ class EventBuffer /** * enableLocking. * - * @see http://php.net/manual/en/eventbuffer.enablelocking.php + * @see https://php.net/manual/en/eventbuffer.enablelocking.php */ public function enableLocking(): void { @@ -539,7 +539,7 @@ class EventBuffer * * @return bool * - * @see http://php.net/manual/en/eventbuffer.expand.php + * @see https://php.net/manual/en/eventbuffer.expand.php */ public function expand(int $len): bool { @@ -553,7 +553,7 @@ class EventBuffer * * @return bool * - * @see http://php.net/manual/en/eventbuffer.freeze.php + * @see https://php.net/manual/en/eventbuffer.freeze.php */ public function freeze(bool $at_front): bool { @@ -563,7 +563,7 @@ class EventBuffer * lock. * Acquires a lock on buffer. * - * @see http://php.net/manual/en/eventbuffer.lock.php + * @see https://php.net/manual/en/eventbuffer.lock.php */ public function lock(): void { @@ -577,7 +577,7 @@ class EventBuffer * * @return bool * - * @see http://php.net/manual/en/eventbuffer.prepend.php + * @see https://php.net/manual/en/eventbuffer.prepend.php */ public function prepend(string $data): bool { @@ -591,7 +591,7 @@ class EventBuffer * * @return bool * - * @see http://php.net/manual/en/eventbuffer.prependbuffer.php + * @see https://php.net/manual/en/eventbuffer.prependbuffer.php */ public function prependBuffer(EventBuffer $buf): bool { @@ -605,7 +605,7 @@ class EventBuffer * * @return string * - * @see http://php.net/manual/en/eventbuffer.pullup.php + * @see https://php.net/manual/en/eventbuffer.pullup.php */ public function pullup(int $size): string { @@ -634,7 +634,7 @@ class EventBuffer * * @return int * - * @see http://php.net/manual/en/eventbuffer.readfrom.php + * @see https://php.net/manual/en/eventbuffer.readfrom.php */ public function readFrom(mixed $fd, int $howmuch): int { @@ -648,7 +648,7 @@ class EventBuffer * * @return string * - * @see http://php.net/manual/en/eventbuffer.readline.php + * @see https://php.net/manual/en/eventbuffer.readline.php */ public function readLine(int $eol_style): string { @@ -664,7 +664,7 @@ class EventBuffer * * @return mixed * - * @see http://php.net/manual/en/eventbuffer.search.php + * @see https://php.net/manual/en/eventbuffer.search.php */ public function search(string $what, int $start = 1, int $end = 1): mixed { @@ -679,7 +679,7 @@ class EventBuffer * * @return mixed * - * @see http://php.net/manual/en/eventbuffer.searcheol.php + * @see https://php.net/manual/en/eventbuffer.searcheol.php */ public function searchEol(int $start = 1, int $eol_style = EOL_ANY): mixed { @@ -694,7 +694,7 @@ class EventBuffer * * @return string * - * @see http://php.net/manual/en/eventbuffer.substr.php + * @see https://php.net/manual/en/eventbuffer.substr.php */ public function substr(int $start, int $length): string { @@ -708,7 +708,7 @@ class EventBuffer * * @return bool * - * @see http://php.net/manual/en/eventbuffer.unfreeze.php + * @see https://php.net/manual/en/eventbuffer.unfreeze.php */ public function unfreeze(bool $at_front): bool { @@ -720,7 +720,7 @@ class EventBuffer * * @return bool * - * @see http://php.net/manual/en/eventbuffer.unlock.php + * @see https://php.net/manual/en/eventbuffer.unlock.php */ public function unlock(): bool { @@ -735,7 +735,7 @@ class EventBuffer * * @return int * - * @see http://php.net/manual/en/eventbuffer.write.php + * @see https://php.net/manual/en/eventbuffer.write.php */ public function write(mixed $fd, int $howmuch): int { @@ -759,9 +759,9 @@ class EventBuffer * @property EventBuffer $output * * @author Kazuaki MABUCHI - * @copyright Copyright (http://php.net/manual/cc.license.php) by the PHP Documentation Group is licensed under [CC by 3.0 or later](http://creativecommons.org/licenses/by/3.0/). + * @copyright Copyright (https://php.net/manual/cc.license.php) by the PHP Documentation Group is licensed under [CC by 3.0 or later](https://creativecommons.org/licenses/by/3.0/). * - * @see http://php.net/manual/en/class.eventbufferevent.php + * @see https://php.net/manual/en/class.eventbufferevent.php */ final class EventBufferEvent { @@ -795,7 +795,7 @@ final class EventBufferEvent * @param callable $writecb = null * @param callable $eventcb = null * - * @see http://php.net/manual/en/eventbufferevent.construct.php + * @see https://php.net/manual/en/eventbufferevent.construct.php */ public function __construct(EventBase $base, mixed $socket = null, int $options = 0, callable $readcb = null, callable $writecb = null, callable $eventcb = null) { @@ -805,7 +805,7 @@ final class EventBufferEvent * close. * Closes file descriptor associated with the current buffer event. * - * @see http://php.net/manual/en/eventbufferevent.close.php + * @see https://php.net/manual/en/eventbufferevent.close.php */ public function close(): void { @@ -819,7 +819,7 @@ final class EventBufferEvent * * @return bool * - * @see http://php.net/manual/en/eventbufferevent.connect.php + * @see https://php.net/manual/en/eventbufferevent.connect.php */ public function connect(string $addr): bool { @@ -836,7 +836,7 @@ final class EventBufferEvent * * @return bool * - * @see http://php.net/manual/en/eventbufferevent.connecthost.php + * @see https://php.net/manual/en/eventbufferevent.connecthost.php */ public function connectHost(EventDnsBase $dns_base, string $hostname, int $port, int $family = AF_UNSPEC): bool { @@ -851,7 +851,7 @@ final class EventBufferEvent * * @return array * - * @see http://php.net/manual/en/eventbufferevent.createpair.php + * @see https://php.net/manual/en/eventbufferevent.createpair.php */ public static function createPair(EventBase $base, int $options = 0): array { @@ -865,7 +865,7 @@ final class EventBufferEvent * * @return bool * - * @see http://php.net/manual/en/eventbufferevent.disable.php + * @see https://php.net/manual/en/eventbufferevent.disable.php */ public function disable(int $events): bool { @@ -879,7 +879,7 @@ final class EventBufferEvent * * @return bool * - * @see http://php.net/manual/en/eventbufferevent.enable.php + * @see https://php.net/manual/en/eventbufferevent.enable.php */ public function enable(int $events): bool { @@ -889,7 +889,7 @@ final class EventBufferEvent * free. * Free a buffer event. * - * @see http://php.net/manual/en/eventbufferevent.free.php + * @see https://php.net/manual/en/eventbufferevent.free.php */ public function free(): void { @@ -901,7 +901,7 @@ final class EventBufferEvent * * @return string * - * @see http://php.net/manual/en/eventbufferevent.getdnserrorstring.php + * @see https://php.net/manual/en/eventbufferevent.getdnserrorstring.php */ public function getDnsErrorString(): string { @@ -913,7 +913,7 @@ final class EventBufferEvent * * @return int * - * @see http://php.net/manual/en/eventbufferevent.getenabled.php + * @see https://php.net/manual/en/eventbufferevent.getenabled.php */ public function getEnabled(): int { @@ -925,7 +925,7 @@ final class EventBufferEvent * * @return EventBuffer * - * @see http://php.net/manual/en/eventbufferevent.getinput.php + * @see https://php.net/manual/en/eventbufferevent.getinput.php */ public function getInput(): EventBuffer { @@ -937,7 +937,7 @@ final class EventBufferEvent * * @return EventBuffer * - * @see http://php.net/manual/en/eventbufferevent.getoutput.php + * @see https://php.net/manual/en/eventbufferevent.getoutput.php */ public function getOutput(): EventBuffer { @@ -951,7 +951,7 @@ final class EventBufferEvent * * @return string * - * @see http://php.net/manual/en/eventbufferevent.read.php + * @see https://php.net/manual/en/eventbufferevent.read.php */ public function read(int $size): string { @@ -965,7 +965,7 @@ final class EventBufferEvent * * @return bool * - * @see http://php.net/manual/en/eventbufferevent.readbuffer.php + * @see https://php.net/manual/en/eventbufferevent.readbuffer.php */ public function readBuffer(EventBuffer $buf): bool { @@ -980,7 +980,7 @@ final class EventBufferEvent * @param callable $eventcb * @param string $arg (optional) * - * @see http://php.net/manual/en/eventbufferevent.setcallbacks.php + * @see https://php.net/manual/en/eventbufferevent.setcallbacks.php */ public function setCallbacks(callable $readcb, callable $writecb, callable $eventcb, string $arg): void { @@ -994,7 +994,7 @@ final class EventBufferEvent * * @return bool * - * @see http://php.net/manual/en/eventbufferevent.setpriority.php + * @see https://php.net/manual/en/eventbufferevent.setpriority.php */ public function setPriority(int $priority): bool { @@ -1009,7 +1009,7 @@ final class EventBufferEvent * * @return bool * - * @see http://php.net/manual/en/eventbufferevent.settimeouts.php + * @see https://php.net/manual/en/eventbufferevent.settimeouts.php */ public function setTimeouts(float $timeout_read, float $timeout_write): bool { @@ -1023,7 +1023,7 @@ final class EventBufferEvent * @param int $lowmark * @param int $highmark * - * @see http://php.net/manual/en/eventbufferevent.setwatermark.php + * @see https://php.net/manual/en/eventbufferevent.setwatermark.php */ public function setWatermark(int $events, int $lowmark, int $highmark): void { diff --git a/fileinfo/fileinfo.php b/fileinfo/fileinfo.php index 63a4e4b2..e5d9fbb3 100644 --- a/fileinfo/fileinfo.php +++ b/fileinfo/fileinfo.php @@ -146,7 +146,7 @@ function finfo_file ($finfo, $file_name, $options = null, $context = null) {} * * @param string $string * @param int $options [optional] One or disjunction of more - * Fileinfo constants. + * Fileinfo constants. * @param resource $context [optional] * @return string a textual description of the string * argument, or FALSE if an error occurred. diff --git a/igbinary/igbinary.php b/igbinary/igbinary.php index 2c5759c6..05a48c01 100644 --- a/igbinary/igbinary.php +++ b/igbinary/igbinary.php @@ -10,7 +10,7 @@ * You can even serialize() arrays that contain references to itself. * Circular references inside the array/object you are serialize()ing will also be stored. * - * If object implements {@link http://www.php.net/~helly/php/ext/spl/interfaceSerializable.html Serializable} -interface, + * If object implements {@link https://www.php.net/~helly/php/ext/spl/interfaceSerializable.html Serializable} -interface, * PHP will call the member function serialize to get serialized representation of object. * * When serializing objects, PHP will attempt to call the member function __sleep prior to serialization. @@ -19,7 +19,7 @@ * * @param mixed $value The value to be serialized. * @return string Returns a string containing a byte-stream representation of value that can be stored anywhere. - * @link http://www.php.net/serialize PHP default serialize + * @link https://www.php.net/serialize PHP default serialize */ function igbinary_serialize($value) {} @@ -32,8 +32,8 @@ function igbinary_serialize($value) {} * * @param string $str The serialized string. * @return mixed The converted value is returned, and can be a boolean, integer, float, string, array or object. - * @link http://www.php.net/manual/en/function.unserialize.php PHP default unserialize - * @link http://www.php.net/~helly/php/ext/spl/interfaceSerializable.html Serializable + * @link https://www.php.net/manual/en/function.unserialize.php PHP default unserialize + * @link https://www.php.net/~helly/php/ext/spl/interfaceSerializable.html Serializable */ function igbinary_unserialize($str) {} diff --git a/intl/intl.php b/intl/intl.php index f436d49e..5bc13ae9 100644 --- a/intl/intl.php +++ b/intl/intl.php @@ -1106,13 +1106,13 @@ class Normalizer { /** * Default normalization options - * @link http://www.php.net/manual/en/class.normalizer.php + * @link https://www.php.net/manual/en/class.normalizer.php */ const OPTION_DEFAULT = ""; /** * No decomposition/composition - * @link http://www.php.net/manual/en/class.normalizer.php + * @link https://www.php.net/manual/en/class.normalizer.php */ const NONE = "1"; diff --git a/libevent/libevent.php b/libevent/libevent.php index fa27c80b..a4a6449e 100644 --- a/libevent/libevent.php +++ b/libevent/libevent.php @@ -6,7 +6,7 @@ // http://www.wangafu.net/~nickm/libevent-book/ // PHP Libevent extension documentation: -// http://php.net/libevent +// https://php.net/libevent // Event flags diff --git a/mbstring/mbstring.php b/mbstring/mbstring.php index a9ee9316..08238f28 100644 --- a/mbstring/mbstring.php +++ b/mbstring/mbstring.php @@ -1023,7 +1023,7 @@ function mb_ereg_replace ($pattern, $replacement, $string, $option = "msr") {} /** * Perform a regular expresssion seach and replace with multibyte support using a callback - * @link http://www.php.net/manual/en/function.mb-ereg-replace-callback.php + * @link https://www.php.net/manual/en/function.mb-ereg-replace-callback.php * @param string $pattern* The regular expression pattern. *
diff --git a/posix/posix.php b/posix/posix.php index 9e4bf78b..f25c58d8 100644 --- a/posix/posix.php +++ b/posix/posix.php @@ -858,7 +858,7 @@ define('POSIX_RLIMIT_LOCKS', 10); define('POSIX_RLIMIT_MSGQUEUE', 12); /** - * The maximum value to which the process can be reniced to. The value that will be used will be 20 - limit, as resource limit values cannot be negative. + * The maximum value to which the process can be reniced to. The value that will be used will be 20 - limit, as resource limit values cannot be negative. * @link https://php.net/manual/en/posix.constants.setrlimit.php */ define('POSIX_RLIMIT_NICE', 13); diff --git a/redis/Redis.php b/redis/Redis.php index e1aefd99..02e240d4 100644 --- a/redis/Redis.php +++ b/redis/Redis.php @@ -15,7 +15,7 @@ * (int/string), or an array. Arrays that are returned can also contain other arrays, if that's how it was set up in * your LUA script. If there is an error executing the LUA script, the getLastError() function can tell you the * message that came back from Redis (e.g. compile error). - * @link http://redis.io/commands/eval + * @link https://redis.io/commands/eval * @example ** $redis->eval("return 1"); // Returns an integer: 1 @@ -105,7 +105,7 @@ class Redis * @param int $ttl in milliseconds * @param string $value * @return bool TRUE if the command is successful. - * @link http://redis.io/commands/setex + * @link https://redis.io/commands/setex * $redis->psetex('key', 100, 'value'); // sets key → value, with 0.1 sec TTL. */ public function psetex($key, $ttl, $value) {} @@ -128,7 +128,7 @@ class Redis * @param string $pattern Pattern to match. * @param int $count Count of keys per iteration (only a suggestion to Redis). * @return array|bool This function will return an array of keys or FALSE if there are no more keys. - * @link http://redis.io/commands/scan + * @link https://redis.io/commands/scan * @example ** $iterator = null; @@ -172,10 +172,10 @@ class Redis * @param string $command list | getname | setname | kill * @param string $arg * @return mixed - * @link http://redis.io/commands/client-list - * @link http://redis.io/commands/client-getname - * @link http://redis.io/commands/client-setname - * @link http://redis.io/commands/client-kill + * @link https://redis.io/commands/client-list + * @link https://redis.io/commands/client-getname + * @link https://redis.io/commands/client-setname + * @link https://redis.io/commands/client-kill ** $redis->client('list'); * $redis->client('getname'); @@ -196,7 +196,7 @@ class Redis * * @param string $command get | len | reset * @return mixed - * @link http://redis.io/commands/slowlog + * @link https://redis.io/commands/slowlog ** // Get ten slowlog entries * $redis->slowlog('get', 10); @@ -296,7 +296,7 @@ class Redis * Check the current connection status * * @return string STRING: +PONG on success. Throws a RedisException object on connectivity error, as described above. - * @link http://redis.io/commands/ping + * @link https://redis.io/commands/ping */ public function ping( ) {} @@ -305,7 +305,7 @@ class Redis * * @param string $key * @return string|bool If key didn't exist, FALSE is returned. Otherwise, the value related to this key is returned. - * @link http://redis.io/commands/get + * @link https://redis.io/commands/get * @example $redis->get('key'); */ public function get( $key ) {} @@ -318,7 +318,7 @@ class Redis * @param string $value * @param int $timeout [optional] Calling setex() is preferred if you want a timeout. * @return bool TRUE if the command is successful. - * @link http://redis.io/commands/set + * @link https://redis.io/commands/set * @example $redis->set('key', 'value'); */ public function set( $key, $value, $timeout = 0 ) {} @@ -330,7 +330,7 @@ class Redis * @param int $ttl * @param string $value * @return bool TRUE if the command is successful. - * @link http://redis.io/commands/setex + * @link https://redis.io/commands/setex * @example $redis->setex('key', 3600, 'value'); // sets key → value, with 1h TTL. */ public function setex( $key, $ttl, $value ) {} @@ -341,7 +341,7 @@ class Redis * @param string $key * @param string $value * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/setnx + * @link https://redis.io/commands/setnx * @example ** $redis->setnx('key', 'value'); // return TRUE @@ -357,7 +357,7 @@ class Redis * @param string $key2 ... * @param string $key3 ... * @return int Number of keys deleted. - * @link http://redis.io/commands/del + * @link https://redis.io/commands/del * @example ** $redis->set('key1', 'val1'); @@ -376,7 +376,7 @@ class Redis * @param string $key2 ... * @param string $key3 ... * @return int Number of keys deleted. - * @link http://redis.io/commands/del + * @link https://redis.io/commands/del */ public function delete( $key1, $key2 = null, $key3 = null ) {} @@ -390,7 +390,7 @@ class Redis * discard cancels a transaction. * @return Redis returns the Redis instance and enters multi-mode. * Once in multi-mode, all subsequent method calls return the same object until exec() is called. - * @link http://redis.io/commands/multi + * @link https://redis.io/commands/multi * @example ** $ret = $redis->multi() @@ -411,14 +411,14 @@ class Redis /** * @see multi() - * @link http://redis.io/commands/exec + * @link https://redis.io/commands/exec * @return array */ public function exec( ) {} /** * @see multi() - * @link http://redis.io/commands/discard + * @link https://redis.io/commands/discard */ public function discard( ) {} @@ -427,7 +427,7 @@ class Redis * the MULTI/EXEC transaction will fail (return FALSE). unwatch cancels all the watching of all keys by this client. * @param string | array $key: a list of keys * @return void - * @link http://redis.io/commands/watch + * @link https://redis.io/commands/watch * @example ** $redis->watch('x'); @@ -442,7 +442,7 @@ class Redis /** * @see watch() - * @link http://redis.io/commands/unwatch + * @link https://redis.io/commands/unwatch */ public function unwatch( ) {} @@ -452,7 +452,7 @@ class Redis * @param array $channels an array of channels to subscribe to * @param string | array $callback either a string or an array($instance, 'method_name'). * The callback function receives 3 parameters: the redis instance, the channel name, and the message. - * @link http://redis.io/commands/subscribe + * @link https://redis.io/commands/subscribe * @example ** function f($redis, $chan, $msg) { @@ -482,7 +482,7 @@ class Redis * @param array $patterns The number of elements removed from the set. * @param string|array $callback Either a string or an array with an object and method. * The callback will get four arguments ($redis, $pattern, $channel, $message) - * @link http://redis.io/commands/psubscribe + * @link https://redis.io/commands/psubscribe * @example ** function psubscribe($redis, $pattern, $chan, $msg) { @@ -499,7 +499,7 @@ class Redis * * @param string $channel a channel to publish to * @param string $message string - * @link http://redis.io/commands/publish + * @link https://redis.io/commands/publish * @return int Number of clients that received the message * @example $redis->publish('chan-1', 'hello, world!'); // send message. */ @@ -516,7 +516,7 @@ class Redis * - numsub Returns a key/value array where the keys are channel names and * values are their counts. * - numpat Integer return containing the number active pattern subscriptions. - * @link http://redis.io/commands/pubsub + * @link https://redis.io/commands/pubsub * @example ** $redis->pubsub('channels'); // All channels @@ -532,7 +532,7 @@ class Redis * * @param string $key * @return bool If the key exists, return TRUE, otherwise return FALSE. - * @link http://redis.io/commands/exists + * @link https://redis.io/commands/exists * @example ** $redis->set('key', 'value'); @@ -547,7 +547,7 @@ class Redis * * @param string $key * @return int the new value - * @link http://redis.io/commands/incr + * @link https://redis.io/commands/incr * @example ** $redis->incr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value 1 @@ -564,7 +564,7 @@ class Redis * @param string $key * @param float $increment * @return float - * @link http://redis.io/commands/incrbyfloat + * @link https://redis.io/commands/incrbyfloat * @example ** $redis = new Redis(); @@ -585,7 +585,7 @@ class Redis * @param string $key key * @param int $value value that will be added to key (only for incrBy) * @return int the new value - * @link http://redis.io/commands/incrby + * @link https://redis.io/commands/incrby * @example ** $redis->incr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value 1 @@ -602,7 +602,7 @@ class Redis * * @param string $key * @return int the new value - * @link http://redis.io/commands/decr + * @link https://redis.io/commands/decr * @example ** $redis->decr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value -1 @@ -619,7 +619,7 @@ class Redis * @param string $key * @param int $value that will be substracted to key (only for decrBy) * @return int the new value - * @link http://redis.io/commands/decrby + * @link https://redis.io/commands/decrby * @example ** $redis->decr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value -1 @@ -656,7 +656,7 @@ class Redis * @param string $value2 Optional * @param string $valueN Optional * @return int|bool The new length of the list in case of success, FALSE in case of Failure. - * @link http://redis.io/commands/lpush + * @link https://redis.io/commands/lpush * @example ** $redis->lPush('l', 'v1', 'v2', 'v3', 'v4') // int(4) @@ -681,7 +681,7 @@ class Redis * @param string $value2 Optional * @param string $valueN Optional * @return int|bool The new length of the list in case of success, FALSE in case of Failure. - * @link http://redis.io/commands/rpush + * @link https://redis.io/commands/rpush * @example ** $redis->rPush('l', 'v1', 'v2', 'v3', 'v4'); // int(4) @@ -703,7 +703,7 @@ class Redis * @param string $key * @param string $value String, value to push in key * @return int The new length of the list in case of success, FALSE in case of Failure. - * @link http://redis.io/commands/lpushx + * @link https://redis.io/commands/lpushx * @example ** $redis->delete('key1'); @@ -722,7 +722,7 @@ class Redis * @param string $key * @param string $value String, value to push in key * @return int The new length of the list in case of success, FALSE in case of Failure. - * @link http://redis.io/commands/rpushx + * @link https://redis.io/commands/rpushx * @example ** $redis->delete('key1'); @@ -740,7 +740,7 @@ class Redis * * @param string $key * @return string if command executed successfully BOOL FALSE in case of failure (empty list) - * @link http://redis.io/commands/lpop + * @link https://redis.io/commands/lpop * @example ** $redis->rPush('key1', 'A'); @@ -756,7 +756,7 @@ class Redis * * @param string $key * @return string if command executed successfully BOOL FALSE in case of failure (empty list) - * @link http://redis.io/commands/rpop + * @link https://redis.io/commands/rpop * @example ** $redis->rPush('key1', 'A'); @@ -778,7 +778,7 @@ class Redis * @param int $timeout Timeout * * @return array array('listName', 'element') - * @link http://redis.io/commands/blpop + * @link https://redis.io/commands/blpop * @example ** // Non blocking feature @@ -820,7 +820,7 @@ class Redis * Or STRING Key1 STRING Key2 STRING Key3 ... STRING Keyn * @param int $timeout Timeout * @return array array('listName', 'element') - * @link http://redis.io/commands/brpop + * @link https://redis.io/commands/brpop * @example ** // Non blocking feature @@ -859,7 +859,7 @@ class Redis * @param string $key * @return int The size of the list identified by Key exists. * bool FALSE if the data type identified by Key is not list - * @link http://redis.io/commands/llen + * @link https://redis.io/commands/llen * @example ** $redis->rPush('key1', 'A'); @@ -875,7 +875,7 @@ class Redis /** * @see lLen() * @param string $key - * @link http://redis.io/commands/llen + * @link https://redis.io/commands/llen */ public function lSize( $key ) {} @@ -888,7 +888,7 @@ class Redis * @param int $index * @return String the element at this index * Bool FALSE if the key identifies a non-string data type, or no value corresponds to this index in the list Key. - * @link http://redis.io/commands/lindex + * @link https://redis.io/commands/lindex * @example ** $redis->rPush('key1', 'A'); @@ -905,7 +905,7 @@ class Redis * @see lIndex() * @param string $key * @param int $index - * @link http://redis.io/commands/lindex + * @link https://redis.io/commands/lindex */ public function lGet( $key, $index ) {} @@ -918,7 +918,7 @@ class Redis * @param string $value * @return BOOL TRUE if the new value is setted. FALSE if the index is out of range, or data type identified by key * is not a list. - * @link http://redis.io/commands/lset + * @link https://redis.io/commands/lset * @example ** $redis->rPush('key1', 'A'); @@ -940,7 +940,7 @@ class Redis * @param int $start * @param int $end * @return array containing the values in specified range. - * @link http://redis.io/commands/lrange + * @link https://redis.io/commands/lrange * @example ** $redis->rPush('key1', 'A'); @@ -953,7 +953,7 @@ class Redis /** * @see lRange() - * @link http://redis.io/commands/lrange + * @link https://redis.io/commands/lrange * @param string $key * @param int $start * @param int $end @@ -968,7 +968,7 @@ class Redis * @param int $start * @param int $stop * @return array Bool return FALSE if the key identify a non-list value. - * @link http://redis.io/commands/ltrim + * @link https://redis.io/commands/ltrim * @example ** $redis->rPush('key1', 'A'); @@ -983,7 +983,7 @@ class Redis /** * @see lTrim() - * @link http://redis.io/commands/ltrim + * @link https://redis.io/commands/ltrim * @param string $key * @param int $start * @param int $stop @@ -1001,7 +1001,7 @@ class Redis * @param int $count * @return int the number of elements to remove * bool FALSE if the value identified by key is not a list. - * @link http://redis.io/commands/lrem + * @link https://redis.io/commands/lrem * @example ** $redis->lPush('key1', 'A'); @@ -1019,7 +1019,7 @@ class Redis /** * @see lRem - * @link http://redis.io/commands/lremove + * @link https://redis.io/commands/lremove * @param string $key * @param string $value * @param int $count @@ -1037,7 +1037,7 @@ class Redis * @param string $pivot * @param string $value * @return int The number of the elements in the list, -1 if the pivot didn't exists. - * @link http://redis.io/commands/linsert + * @link https://redis.io/commands/linsert * @example ** $redis->delete('key1'); @@ -1068,7 +1068,7 @@ class Redis * @param string $value2 Optional value * @param string $valueN Optional value * @return int The number of elements added to the set - * @link http://redis.io/commands/sadd + * @link https://redis.io/commands/sadd * @example ** $redis->sAdd('k', 'v1'); // int(1) @@ -1083,7 +1083,7 @@ class Redis * @param string $key Required key * @param array $values Required values * @return boolean The number of elements added to the set - * @link http://redis.io/commands/sadd + * @link https://redis.io/commands/sadd * @link https://github.com/phpredis/phpredis/commit/3491b188e0022f75b938738f7542603c7aae9077 * @since phpredis 2.2.8 * @example @@ -1102,7 +1102,7 @@ class Redis * @param string $member2 * @param string $memberN * @return int The number of elements removed from the set. - * @link http://redis.io/commands/srem + * @link https://redis.io/commands/srem * @example ** var_dump( $redis->sAdd('k', 'v1', 'v2', 'v3') ); // int(3) @@ -1118,7 +1118,7 @@ class Redis /** * @see sRem() - * @link http://redis.io/commands/srem + * @link https://redis.io/commands/srem * @param string $key * @param string $member1 * @param string $member2 @@ -1135,7 +1135,7 @@ class Redis * @param string $member * @return bool If the operation is successful, return TRUE. * If the srcKey and/or dstKey didn't exist, and/or the member didn't exist in srcKey, FALSE is returned. - * @link http://redis.io/commands/smove + * @link https://redis.io/commands/smove * @example ** $redis->sAdd('key1' , 'set11'); @@ -1156,7 +1156,7 @@ class Redis * @param string $key * @param string $value * @return bool TRUE if value is a member of the set at key key, FALSE otherwise. - * @link http://redis.io/commands/sismember + * @link https://redis.io/commands/sismember * @example ** $redis->sAdd('key1' , 'set1'); @@ -1171,7 +1171,7 @@ class Redis /** * @see sIsMember() - * @link http://redis.io/commands/sismember + * @link https://redis.io/commands/sismember * @param string $key * @param string $value */ @@ -1182,7 +1182,7 @@ class Redis * * @param string $key * @return int the cardinality of the set identified by key, 0 if the set doesn't exist. - * @link http://redis.io/commands/scard + * @link https://redis.io/commands/scard * @example ** $redis->sAdd('key1' , 'set1'); @@ -1201,7 +1201,7 @@ class Redis * @param string $key * @return string "popped" value * bool FALSE if set identified by key is empty or doesn't exist. - * @link http://redis.io/commands/spop + * @link https://redis.io/commands/spop * @example ** $redis->sAdd('key1' , 'set1'); @@ -1221,7 +1221,7 @@ class Redis * @param int $count [optional] * @return string|array value(s) from the set * bool FALSE if set identified by key is empty or doesn't exist and count argument isn't passed. - * @link http://redis.io/commands/srandmember + * @link https://redis.io/commands/srandmember * @example ** $redis->sAdd('key1' , 'one'); @@ -1252,7 +1252,7 @@ class Redis * @param string $keyN ... * @return array contain the result of the intersection between those keys. * If the intersection between the different sets is empty, the return value will be empty array. - * @link http://redis.io/commands/sinterstore + * @link https://redis.io/commands/sinterstore * @example ** $redis->sAdd('key1', 'val1'); @@ -1286,7 +1286,7 @@ class Redis * @param string $key2 ... * @param string $keyN ... * @return int The cardinality of the resulting set, or FALSE in case of a missing key. - * @link http://redis.io/commands/sinterstore + * @link https://redis.io/commands/sinterstore * @example ** $redis->sAdd('key1', 'val1'); @@ -1322,7 +1322,7 @@ class Redis * @param string $key2 ... * @param string $keyN ... * @return array of strings: The union of all these sets. - * @link http://redis.io/commands/sunionstore + * @link https://redis.io/commands/sunionstore * @example ** $redis->delete('s0', 's1', 's2'); @@ -1358,7 +1358,7 @@ class Redis * @param string $key2 ... * @param string $keyN ... * @return int Any number of keys corresponding to sets in redis. - * @link http://redis.io/commands/sunionstore + * @link https://redis.io/commands/sunionstore * @example ** $redis->delete('s0', 's1', 's2'); @@ -1395,7 +1395,7 @@ class Redis * @param string $key2 ... * @param string $keyN ... * @return array of strings: The difference of the first set will all the others. - * @link http://redis.io/commands/sdiff + * @link https://redis.io/commands/sdiff * @example ** $redis->delete('s0', 's1', 's2'); @@ -1428,7 +1428,7 @@ class Redis * @param string $key2 ... * @param string $keyN ... * @return int The cardinality of the resulting set, or FALSE in case of a missing key. - * @link http://redis.io/commands/sdiffstore + * @link https://redis.io/commands/sdiffstore * @example ** $redis->delete('s0', 's1', 's2'); @@ -1460,7 +1460,7 @@ class Redis * * @param string $key * @return array An array of elements, the contents of the set. - * @link http://redis.io/commands/smembers + * @link https://redis.io/commands/smembers * @example ** $redis->delete('s'); @@ -1486,7 +1486,7 @@ class Redis /** * @see sMembers() * @param string $key - * @link http://redis.io/commands/smembers + * @link https://redis.io/commands/smembers */ public function sGetMembers( $key ) {} @@ -1496,7 +1496,7 @@ class Redis * @param string $key * @param string $value * @return string A string, the previous value located at this key. - * @link http://redis.io/commands/getset + * @link https://redis.io/commands/getset * @example ** $redis->set('x', '42'); @@ -1510,7 +1510,7 @@ class Redis * Returns a random key. * * @return string an existing key in redis. - * @link http://redis.io/commands/randomkey + * @link https://redis.io/commands/randomkey * @example ** $key = $redis->randomKey(); @@ -1525,7 +1525,7 @@ class Redis * * @param int $dbindex * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/select + * @link https://redis.io/commands/select * @example ** $redis->select(0); // switch to DB 0 @@ -1543,7 +1543,7 @@ class Redis * @param string $key * @param int $dbindex * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/move + * @link https://redis.io/commands/move * @example ** $redis->select(0); // switch to DB 0 @@ -1561,7 +1561,7 @@ class Redis * @param string $srcKey * @param string $dstKey * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/rename + * @link https://redis.io/commands/rename * @example ** $redis->set('x', '42'); @@ -1574,7 +1574,7 @@ class Redis /** * @see rename() - * @link http://redis.io/commands/rename + * @link https://redis.io/commands/rename * @param string $srcKey * @param string $dstKey */ @@ -1589,7 +1589,7 @@ class Redis * @param string $srcKey * @param string $dstKey * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/renamenx + * @link https://redis.io/commands/renamenx * @example ** $redis->set('x', '42'); @@ -1606,7 +1606,7 @@ class Redis * @param string $key The key that will disappear. * @param int $ttl The key's remaining Time To Live, in seconds. * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/expire + * @link https://redis.io/commands/expire * @example ** $redis->set('x', '42'); @@ -1623,7 +1623,7 @@ class Redis * @param string $key The key that will disappear. * @param int $ttl The key's remaining Time To Live, in milliseconds. * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/pexpire + * @link https://redis.io/commands/pexpire * @example ** $redis->set('x', '42'); @@ -1638,7 +1638,7 @@ class Redis * @see expire() * @param string $key * @param int $ttl - * @link http://redis.io/commands/expire + * @link https://redis.io/commands/expire */ public function setTimeout( $key, $ttl ) {} @@ -1648,7 +1648,7 @@ class Redis * @param string $key The key that will disappear. * @param int $timestamp Unix timestamp. The key's date of death, in seconds from Epoch time. * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/expireat + * @link https://redis.io/commands/expireat * @example ** $redis->set('x', '42'); @@ -1666,7 +1666,7 @@ class Redis * @param string $key The key that will disappear. * @param int $timestamp Unix timestamp. The key's date of death, in seconds from Epoch time. * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/pexpireat + * @link https://redis.io/commands/pexpireat * @example ** $redis->set('x', '42'); @@ -1682,7 +1682,7 @@ class Redis * * @param string $pattern pattern, using '*' as a wildcard. * @return array of STRING: The keys that match a certain pattern. - * @link http://redis.io/commands/keys + * @link https://redis.io/commands/keys * @example ** $allKeys = $redis->keys('*'); // all keys will match this. @@ -1694,7 +1694,7 @@ class Redis /** * @see keys() * @param string $pattern - * @link http://redis.io/commands/keys + * @link https://redis.io/commands/keys */ public function getKeys( $pattern ) {} @@ -1702,7 +1702,7 @@ class Redis * Returns the current database's size. * * @return int DB size, in number of keys. - * @link http://redis.io/commands/dbsize + * @link https://redis.io/commands/dbsize * @example ** $count = $redis->dbSize(); @@ -1717,7 +1717,7 @@ class Redis * * @param string $password * @return bool TRUE if the connection is authenticated, FALSE otherwise. - * @link http://redis.io/commands/auth + * @link https://redis.io/commands/auth * @example $redis->auth('foobared'); */ public function auth( $password ) {} @@ -1726,7 +1726,7 @@ class Redis * Starts the background rewrite of AOF (Append-Only File) * * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/bgrewriteaof + * @link https://redis.io/commands/bgrewriteaof * @example $redis->bgrewriteaof(); */ public function bgrewriteaof( ) {} @@ -1738,7 +1738,7 @@ class Redis * @param string $host [optional] * @param int $port [optional] * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/slaveof + * @link https://redis.io/commands/slaveof * @example ** $redis->slaveof('10.0.1.7', 6379); @@ -1759,7 +1759,7 @@ class Redis * @param string $string * @param string $key * @return string for "encoding", int for "refcount" and "idletime", FALSE if the key doesn't exist. - * @link http://redis.io/commands/object + * @link https://redis.io/commands/object * @example ** $redis->object("encoding", "l"); // → ziplist @@ -1774,7 +1774,7 @@ class Redis * * @return bool TRUE in case of success, FALSE in case of failure. * If a save is already running, this command will fail and return FALSE. - * @link http://redis.io/commands/save + * @link https://redis.io/commands/save * @example $redis->save(); */ public function save( ) {} @@ -1784,7 +1784,7 @@ class Redis * * @return bool TRUE in case of success, FALSE in case of failure. * If a save is already running, this command will fail and return FALSE. - * @link http://redis.io/commands/bgsave + * @link https://redis.io/commands/bgsave * @example $redis->bgSave(); */ public function bgsave( ) {} @@ -1793,7 +1793,7 @@ class Redis * Returns the timestamp of the last disk save. * * @return int timestamp. - * @link http://redis.io/commands/lastsave + * @link https://redis.io/commands/lastsave * @example $redis->lastSave(); */ public function lastSave( ) {} @@ -1805,7 +1805,7 @@ class Redis * @param int $timeout Timeout in milliseconds. * @return int The command returns the number of slaves reached by all the writes performed in the * context of the current connection. - * @link http://redis.io/commands/wait + * @link https://redis.io/commands/wait * @example $redis->wait(2, 1000); */ public function wait( $numSlaves, $timeout ) {} @@ -1824,7 +1824,7 @@ class Redis * - zset: Redis::REDIS_ZSET * - hash: Redis::REDIS_HASH * - other: Redis::REDIS_NOT_FOUND - * @link http://redis.io/commands/type + * @link https://redis.io/commands/type * @example $redis->type('key'); */ public function type( $key ) {} @@ -1835,7 +1835,7 @@ class Redis * @param string $key * @param string $value * @return int Size of the value after the append - * @link http://redis.io/commands/append + * @link https://redis.io/commands/append * @example ** $redis->set('key', 'value1'); @@ -1853,7 +1853,7 @@ class Redis * @param int $start * @param int $end * @return string the substring - * @link http://redis.io/commands/getrange + * @link https://redis.io/commands/getrange * @example ** $redis->set('key', 'string value'); @@ -1881,7 +1881,7 @@ class Redis * @param int $offset * @param string $value * @return string the length of the string after it was modified. - * @link http://redis.io/commands/setrange + * @link https://redis.io/commands/setrange * @example ** $redis->set('key', 'Hello world'); @@ -1896,7 +1896,7 @@ class Redis * * @param string $key * @return int - * @link http://redis.io/commands/strlen + * @link https://redis.io/commands/strlen * @example ** $redis->set('key', 'value'); @@ -1923,7 +1923,7 @@ class Redis * start argument only. However, this behavior changes if you are looking for clear bits and * specify a range with both start and end. If no clear bit is found in the specified range, the * function returns -1 as the user specified a clear range and there are no 0 bits in that range. - * @link http://redis.io/commands/bitpos + * @link https://redis.io/commands/bitpos * @example ** $redis->set('key', '\xff\xff'); @@ -1943,7 +1943,7 @@ class Redis * @param string $key * @param int $offset * @return int the bit value (0 or 1) - * @link http://redis.io/commands/getbit + * @link https://redis.io/commands/getbit * @example ** $redis->set('key', "\x7f"); // this is 0111 1111 @@ -1960,7 +1960,7 @@ class Redis * @param int $offset * @param bool|int $value bool or int (1 or 0) * @return int 0 or 1, the value of the bit before it was set. - * @link http://redis.io/commands/setbit + * @link https://redis.io/commands/setbit * @example ** $redis->set('key', "*"); // ord("*") = 42 = 0x2f = "0010 1010" @@ -1976,7 +1976,7 @@ class Redis * * @param string $key * @return int The number of bits set to 1 in the value behind the input key. - * @link http://redis.io/commands/bitcount + * @link https://redis.io/commands/bitcount * @example ** $redis->set('bit', '345'); // // 11 0011 0011 0100 0011 0101 @@ -1995,7 +1995,7 @@ class Redis * @param string $retKey return key * @param string $keys * @return int The size of the string stored in the destination key. - * @link http://redis.io/commands/bitop + * @link https://redis.io/commands/bitop * @example ** $redis->set('bit1', '1'); // 11 0001 @@ -2013,7 +2013,7 @@ class Redis * Removes all entries from the current database. * * @return bool Always TRUE. - * @link http://redis.io/commands/flushdb + * @link https://redis.io/commands/flushdb * @example $redis->flushDB(); */ public function flushDB( ) {} @@ -2022,7 +2022,7 @@ class Redis * Removes all entries from all databases. * * @return bool Always TRUE. - * @link http://redis.io/commands/flushall + * @link https://redis.io/commands/flushall * @example $redis->flushAll(); */ public function flushAll( ) {} @@ -2040,7 +2040,7 @@ class Redis * - 'store' => 'external-key' * @return array * An array of values, or a number corresponding to the number of elements stored if that was used. - * @link http://redis.io/commands/sort + * @link https://redis.io/commands/sort * @example ** $redis->delete('s'); @@ -2106,7 +2106,7 @@ class Redis * - latest_fork_usec * - vm_enabled * - role - * @link http://redis.io/commands/info + * @link https://redis.io/commands/info * @return string * @example *@@ -2131,7 +2131,7 @@ class Redis * * @return bool `TRUE` in case of success, `FALSE` in case of failure. * @example $redis->resetStat(); - * @link http://redis.io/commands/config-resetstat + * @link https://redis.io/commands/config-resetstat */ public function resetStat( ) {} @@ -2140,7 +2140,7 @@ class Redis * * @param string $key * @return int the time left to live in seconds. - * @link http://redis.io/commands/ttl + * @link https://redis.io/commands/ttl * @example $redis->ttl('key'); */ public function ttl( $key ) {} @@ -2152,7 +2152,7 @@ class Redis * * @param string $key * @return int the time left to live in milliseconds. - * @link http://redis.io/commands/pttl + * @link https://redis.io/commands/pttl * @example $redis->pttl('key'); */ public function pttl( $key ) {} @@ -2162,7 +2162,7 @@ class Redis * * @param string $key * @return bool TRUE if a timeout was removed, FALSE if the key didn’t exist or didn’t have an expiration timer. - * @link http://redis.io/commands/persist + * @link https://redis.io/commands/persist * @example $redis->persist('key'); */ public function persist( $key ) {} @@ -2173,7 +2173,7 @@ class Redis * * @param array $array Pairs: array(key => value, ...) * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/mset + * @link https://redis.io/commands/mset * @example ** $redis->mset(array('key0' => 'value0', 'key1' => 'value1')); @@ -2195,7 +2195,7 @@ class Redis * * @param array $array * @return array - * @link http://redis.io/commands/mget + * @link https://redis.io/commands/mget * @example ** $redis->delete('x', 'y', 'z', 'h'); // remove x y z @@ -2221,7 +2221,7 @@ class Redis * @see mset() * @param array $array * @return int 1 (if the keys were set) or 0 (no key was set) - * @link http://redis.io/commands/msetnx + * @link https://redis.io/commands/msetnx */ public function msetnx( array $array ) {} @@ -2233,7 +2233,7 @@ class Redis * @param string $srcKey * @param string $dstKey * @return string The element that was moved in case of success, FALSE in case of failure. - * @link http://redis.io/commands/rpoplpush + * @link https://redis.io/commands/rpoplpush * @example ** $redis->delete('x', 'y'); @@ -2274,7 +2274,7 @@ class Redis * @param string $dstKey * @param int $timeout * @return string The element that was moved in case of success, FALSE in case of timeout. - * @link http://redis.io/commands/brpoplpush + * @link https://redis.io/commands/brpoplpush */ public function brpoplpush( $srcKey, $dstKey, $timeout ) {} @@ -2289,7 +2289,7 @@ class Redis * @param float $scoreN Optional score * @param string $valueN Optional value * @return int Number of values added - * @link http://redis.io/commands/zadd + * @link https://redis.io/commands/zadd * @example **@@ -2319,7 +2319,7 @@ class Redis * @param int $end * @param bool $withscores * @return array Array containing the values in specified range. - * @link http://redis.io/commands/zrange + * @link https://redis.io/commands/zrange * @example ** $redis->zAdd('key1', 0, 'val0'); @@ -2340,7 +2340,7 @@ class Redis * @param string $member2 * @param string $memberN * @return int Number of deleted values - * @link http://redis.io/commands/zrem + * @link https://redis.io/commands/zrem * @example ** $redis->zAdd('z', 1, 'v2', 2, 'v2', 3, 'v3', 4, 'v4' ); // int(2) @@ -2362,7 +2362,7 @@ class Redis * @param string $member2 * @param string $memberN * @return int Number of deleted values - * @link http://redis.io/commands/zrem + * @link https://redis.io/commands/zrem */ public function zDelete( $key, $member1, $member2 = null, $memberN = null ) {} @@ -2379,7 +2379,7 @@ class Redis * @param int $end * @param bool $withscore * @return array Array containing the values in specified range. - * @link http://redis.io/commands/zrevrange + * @link https://redis.io/commands/zrevrange * @example ** $redis->zAdd('key', 0, 'val0'); @@ -2407,7 +2407,7 @@ class Redis * - withscores => TRUE, * - and limit => array($offset, $count) * @return array Array containing the values in specified range. - * @link http://redis.io/commands/zrangebyscore + * @link https://redis.io/commands/zrangebyscore * @example ** $redis->zAdd('key', 0, 'val0'); @@ -2444,7 +2444,7 @@ class Redis * @param int $offset Optional argument if you wish to start somewhere other than the first element. * @param int $limit Optional argument if you wish to limit the number of elements returned. * @return array Array containing the values in the specified range. - * @link http://redis.io/commands/zrangebylex + * @link https://redis.io/commands/zrangebylex * @example ** foreach (array('a', 'b', 'c', 'd', 'e', 'f', 'g') as $char) { @@ -2466,7 +2466,7 @@ class Redis * @param int $offset * @param int $limit * @return array - * @link http://redis.io/commands/zrevrangebylex + * @link https://redis.io/commands/zrevrangebylex */ public function zRevRangeByLex( $key, $min, $max, $offset = null, $limit = null ) {} @@ -2479,7 +2479,7 @@ class Redis * @param string $start * @param string $end * @return int the size of a corresponding zRangeByScore. - * @link http://redis.io/commands/zcount + * @link https://redis.io/commands/zcount * @example ** $redis->zAdd('key', 0, 'val0'); @@ -2497,7 +2497,7 @@ class Redis * @param float|string $start double or "+inf" or "-inf" string * @param float|string $end double or "+inf" or "-inf" string * @return int The number of values deleted from the sorted set - * @link http://redis.io/commands/zremrangebyscore + * @link https://redis.io/commands/zremrangebyscore * @example ** $redis->zAdd('key', 0, 'val0'); @@ -2523,7 +2523,7 @@ class Redis * @param int $start * @param int $end * @return int The number of values deleted from the sorted set - * @link http://redis.io/commands/zremrangebyrank + * @link https://redis.io/commands/zremrangebyrank * @example ** $redis->zAdd('key', 1, 'one'); @@ -2540,7 +2540,7 @@ class Redis * @param string $key * @param int $start * @param int $end - * @link http://redis.io/commands/zremrangebyscore + * @link https://redis.io/commands/zremrangebyscore */ public function zDeleteRangeByRank( $key, $start, $end ) {} @@ -2549,7 +2549,7 @@ class Redis * * @param string $key * @return int the set's cardinality - * @link http://redis.io/commands/zsize + * @link https://redis.io/commands/zsize * @example ** $redis->zAdd('key', 0, 'val0'); @@ -2572,7 +2572,7 @@ class Redis * @param string $key * @param string $member * @return float - * @link http://redis.io/commands/zscore + * @link https://redis.io/commands/zscore * @example ** $redis->zAdd('key', 2.5, 'val2'); @@ -2588,7 +2588,7 @@ class Redis * @param string $key * @param string $member * @return int the item's score. - * @link http://redis.io/commands/zrank + * @link https://redis.io/commands/zrank * @example ** $redis->delete('z'); @@ -2607,7 +2607,7 @@ class Redis * @param string $key * @param string $member * @return int the item's score - * @link http://redis.io/commands/zrevrank + * @link https://redis.io/commands/zrevrank */ public function zRevRank( $key, $member ) {} @@ -2618,7 +2618,7 @@ class Redis * @param float $value (double) value that will be added to the member's score * @param string $member * @return float the new value - * @link http://redis.io/commands/zincrby + * @link https://redis.io/commands/zincrby * @example ** $redis->delete('key'); @@ -2643,7 +2643,7 @@ class Redis * @param string $aggregateFunction Either "SUM", "MIN", or "MAX": defines the behaviour to use on * duplicate entries during the zUnion. * @return int The number of values in the new sorted set. - * @link http://redis.io/commands/zunionstore + * @link https://redis.io/commands/zunionstore * @example ** $redis->delete('k1'); @@ -2682,7 +2682,7 @@ class Redis * @param string $aggregateFunction Either "SUM", "MIN", or "MAX": * defines the behaviour to use on duplicate entries during the zInter. * @return int The number of values in the new sorted set. - * @link http://redis.io/commands/zinterstore + * @link https://redis.io/commands/zinterstore * @example ** $redis->delete('k1'); @@ -2721,7 +2721,7 @@ class Redis * 1 if value didn't exist and was added successfully, * 0 if the value was already present and was replaced, * FALSE if there was an error. - * @link http://redis.io/commands/hset + * @link https://redis.io/commands/hset * @example ** $redis->delete('h') @@ -2741,7 +2741,7 @@ class Redis * @param string $hashKey * @param string $value * @return bool TRUE if the field was set, FALSE if it was already present. - * @link http://redis.io/commands/hsetnx + * @link https://redis.io/commands/hsetnx * @example ** $redis->delete('h') @@ -2759,7 +2759,7 @@ class Redis * @param string $key * @param string $hashKey * @return string The value, if the command executed successfully BOOL FALSE in case of failure - * @link http://redis.io/commands/hget + * @link https://redis.io/commands/hget */ public function hGet($key, $hashKey) {} @@ -2768,7 +2768,7 @@ class Redis * * @param string $key * @return int the number of items in a hash, FALSE if the key doesn't exist or isn't a hash. - * @link http://redis.io/commands/hlen + * @link https://redis.io/commands/hlen * @example ** $redis->delete('h') @@ -2788,7 +2788,7 @@ class Redis * @param string $hashKey2 * @param string $hashKeyN * @return int|bool Number of deleted fields, FALSE if table or key doesn't exist - * @link http://redis.io/commands/hdel + * @link https://redis.io/commands/hdel * @example ** $redis->hMSet('h', @@ -2816,7 +2816,7 @@ class Redis * * @param string $key * @return array An array of elements, the keys of the hash. This works like PHP's array_keys(). - * @link http://redis.io/commands/hkeys + * @link https://redis.io/commands/hkeys * @example ** $redis->delete('h'); @@ -2847,7 +2847,7 @@ class Redis * * @param string $key * @return array An array of elements, the values of the hash. This works like PHP's array_values(). - * @link http://redis.io/commands/hvals + * @link https://redis.io/commands/hvals * @example ** $redis->delete('h'); @@ -2878,7 +2878,7 @@ class Redis * * @param string $key * @return array An array of elements, the contents of the hash. - * @link http://redis.io/commands/hgetall + * @link https://redis.io/commands/hgetall * @example ** $redis->delete('h'); @@ -2910,7 +2910,7 @@ class Redis * @param string $key * @param string $hashKey * @return bool If the member exists in the hash table, return TRUE, otherwise return FALSE. - * @link http://redis.io/commands/hexists + * @link https://redis.io/commands/hexists * @example ** $redis->hSet('h', 'a', 'x'); @@ -2927,7 +2927,7 @@ class Redis * @param string $hashKey * @param int $value (integer) value that will be added to the member's value * @return int the new value - * @link http://redis.io/commands/hincrby + * @link https://redis.io/commands/hincrby * @example ** $redis->delete('h'); @@ -2943,7 +2943,7 @@ class Redis * @param string $field * @param float $increment * @return float - * @link http://redis.io/commands/hincrbyfloat + * @link https://redis.io/commands/hincrbyfloat * @example ** $redis = new Redis(); @@ -2972,7 +2972,7 @@ class Redis * @param string $key * @param array $hashKeys key → value array * @return bool - * @link http://redis.io/commands/hmset + * @link https://redis.io/commands/hmset * @example ** $redis->delete('user:1'); @@ -2989,7 +2989,7 @@ class Redis * @param array $hashKeys * @return array Array An array of elements, the values of the specified fields in the hash, * with the hash keys as array keys. - * @link http://redis.io/commands/hmget + * @link https://redis.io/commands/hmget * @example ** $redis->delete('h'); @@ -3004,11 +3004,11 @@ class Redis * Get or Set the redis config keys. * * @param string $operation either `GET` or `SET` - * @param string $key for `SET`, glob-pattern for `GET`. See http://redis.io/commands/config-get for examples. + * @param string $key for `SET`, glob-pattern for `GET`. See https://redis.io/commands/config-get for examples. * @param string $value optional string (only for `SET`) * @return array Associative array for `GET`, key -> value - * @link http://redis.io/commands/config-get - * @link http://redis.io/commands/config-set + * @link https://redis.io/commands/config-get + * @link https://redis.io/commands/config-set * @example ** $redis->config("GET", "*max-*-entries*"); @@ -3035,7 +3035,7 @@ class Redis * @param int $numKeys * @return mixed @see eval() * @see eval() - * @link http://redis.io/commands/evalsha + * @link https://redis.io/commands/evalsha * @example ** $script = 'return 1'; @@ -3058,10 +3058,10 @@ class Redis * @param string $command load | flush | kill | exists * @param string $script * @return mixed - * @link http://redis.io/commands/script-load - * @link http://redis.io/commands/script-kill - * @link http://redis.io/commands/script-flush - * @link http://redis.io/commands/script-exists + * @link https://redis.io/commands/script-load + * @link https://redis.io/commands/script-kill + * @link https://redis.io/commands/script-flush + * @link https://redis.io/commands/script-exists * @example ** $redis->script('load', $script); @@ -3158,7 +3158,7 @@ class Redis * The data that comes out of DUMP is a binary representation of the key as Redis stores it. * @param string $key * @return string The Redis encoded value of the key, or FALSE if the key doesn't exist - * @link http://redis.io/commands/dump + * @link https://redis.io/commands/dump * @example ** $redis->set('foo', 'bar'); @@ -3174,7 +3174,7 @@ class Redis * @param int $ttl How long the key should live (if zero, no expire will be set on the key) * @param string $value (binary). The Redis encoded key value (from DUMP) * @return bool - * @link http://redis.io/commands/restore + * @link https://redis.io/commands/restore * @example ** $redis->set('foo', 'bar'); @@ -3195,7 +3195,7 @@ class Redis * @param bool $copy Should we send the COPY flag to redis. * @param bool $replace Should we send the REPLACE flag to redis. * @return bool - * @link http://redis.io/commands/migrate + * @link https://redis.io/commands/migrate * @example ** $redis->migrate('backup', 6379, 'foo', 0, 3600); @@ -3207,7 +3207,7 @@ class Redis * Return the current Redis server time. * @return array If successfull, the time will come back as an associative array with element zero being the * unix timestamp, and element one being microseconds. - * @link http://redis.io/commands/time + * @link https://redis.io/commands/time ** var_dump( $redis->time() ); * // array(2) { @@ -3223,7 +3223,7 @@ class Redis * @param string $key * @param array $elements * @return bool - * @link http://redis.io/commands/pfadd + * @link https://redis.io/commands/pfadd * @example $redis->pfAdd('key', array('elem1', 'elem2')) */ public function pfAdd( $key, array $elements ) {} @@ -3233,7 +3233,7 @@ class Redis * structure stored at the specified variable, which is 0 if the variable does not exist. * @param string|array $key * @return int - * @link http://redis.io/commands/pfcount + * @link https://redis.io/commands/pfcount * @example ** $redis->pfAdd('key1', array('elem1', 'elem2')); @@ -3249,7 +3249,7 @@ class Redis * @param string $destkey * @param array $sourcekeys * @return bool - * @link http://redis.io/commands/pfmerge + * @link https://redis.io/commands/pfmerge * @example ** $redis->pfAdd('key1', array('elem1', 'elem2')); diff --git a/redis/RedisCluster.php b/redis/RedisCluster.php index 72b0b414..6170fd48 100644 --- a/redis/RedisCluster.php +++ b/redis/RedisCluster.php @@ -106,7 +106,7 @@ class RedisCluster { * @return string|bool If key didn't exist, FALSE is returned. Otherwise, the value related to this key is * returned. * - * @link http://redis.io/commands/get + * @link https://redis.io/commands/get * @example ** $redisCluster->get('key'); @@ -126,7 +126,7 @@ class RedisCluster { * * @return bool TRUE if the command is successful. * - * @link http://redis.io/commands/set + * @link https://redis.io/commands/set * @example ** // Simple key -> value set @@ -154,7 +154,7 @@ class RedisCluster { * * @return array * - * @link http://redis.io/commands/mget + * @link https://redis.io/commands/mget * @example ** $redisCluster->del('x', 'y', 'z', 'h'); // remove x y z @@ -183,7 +183,7 @@ class RedisCluster { * @param array $array Pairs: array(key => value, ...) * * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/mset + * @link https://redis.io/commands/mset * @example ** $redisCluster->mset(array('key0' => 'value0', 'key1' => 'value1')); @@ -202,7 +202,7 @@ class RedisCluster { * @param array $array * * @return int 1 (if the keys were set) or 0 (no key was set) - * @link http://redis.io/commands/msetnx + * @link https://redis.io/commands/msetnx */ public function msetnx(array $array) { } @@ -215,7 +215,7 @@ class RedisCluster { * @param string $key3 ... * * @return int Number of keys deleted. - * @link http://redis.io/commands/del + * @link https://redis.io/commands/del * @example ** $redisCluster->set('key1', 'val1'); @@ -236,7 +236,7 @@ class RedisCluster { * @param string $value * * @return bool TRUE if the command is successful. - * @link http://redis.io/commands/setex + * @link https://redis.io/commands/setex * @example ** $redisCluster->setex('key', 3600, 'value'); // sets key → value, with 1h TTL. @@ -253,7 +253,7 @@ class RedisCluster { * @param string $value * * @return bool TRUE if the command is successful. - * @link http://redis.io/commands/psetex + * @link https://redis.io/commands/psetex * @example ** $redisCluster->psetex('key', 1000, 'value'); // sets key → value, with 1s TTL. @@ -268,7 +268,7 @@ class RedisCluster { * @param string $value * * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/setnx + * @link https://redis.io/commands/setnx * @example ** $redisCluster->setnx('key', 'value'); // return TRUE @@ -284,7 +284,7 @@ class RedisCluster { * @param string $value * * @return string A string, the previous value located at this key. - * @link http://redis.io/commands/getset + * @link https://redis.io/commands/getset * @example ** $redisCluster->set('x', '42'); @@ -300,7 +300,7 @@ class RedisCluster { * @param string $key * * @return bool If the key exists, return TRUE, otherwise return FALSE. - * @link http://redis.io/commands/exists + * @link https://redis.io/commands/exists * @example ** $redisCluster->set('key', 'value'); @@ -316,7 +316,7 @@ class RedisCluster { * @param string $pattern pattern, using '*' as a wildcard. * * @return array of STRING: The keys that match a certain pattern. - * @link http://redis.io/commands/keys + * @link https://redis.io/commands/keys * @example ** $allKeys = $redisCluster->keys('*'); // all keys will match this. @@ -340,7 +340,7 @@ class RedisCluster { * - zset: RedisCluster::REDIS_ZSET * - hash: RedisCluster::REDIS_HASH * - other: RedisCluster::REDIS_NOT_FOUND - * @link http://redis.io/commands/type + * @link https://redis.io/commands/type * @example $redisCluster->type('key'); */ public function type($key) { } @@ -351,7 +351,7 @@ class RedisCluster { * @param string $key * * @return string if command executed successfully BOOL FALSE in case of failure (empty list) - * @link http://redis.io/commands/lpop + * @link https://redis.io/commands/lpop * @example ** $redisCluster->rPush('key1', 'A'); @@ -381,7 +381,7 @@ class RedisCluster { * @param string $key * * @return string if command executed successfully BOOL FALSE in case of failure (empty list) - * @link http://redis.io/commands/rpop + * @link https://redis.io/commands/rpop * @example ** $redisCluster->rPush('key1', 'A'); @@ -414,7 +414,7 @@ class RedisCluster { * * @return BOOL TRUE if the new value is setted. FALSE if the index is out of range, or data type identified by key * is not a list. - * @link http://redis.io/commands/lset + * @link https://redis.io/commands/lset * @example ** $redisCluster->rPush('key1', 'A'); @@ -434,7 +434,7 @@ class RedisCluster { * * @return string "popped" value * bool FALSE if set identified by key is empty or doesn't exist. - * @link http://redis.io/commands/spop + * @link https://redis.io/commands/spop * @example ** $redisCluster->sAdd('key1' , 'set1'); @@ -459,7 +459,7 @@ class RedisCluster { * @param string $valueN Optional * * @return int The new length of the list in case of success, FALSE in case of Failure. - * @link http://redis.io/commands/lpush + * @link https://redis.io/commands/lpush * @example ** $redisCluster->lPush('l', 'v1', 'v2', 'v3', 'v4') // int(4) @@ -485,7 +485,7 @@ class RedisCluster { * @param string $valueN Optional * * @return int The new length of the list in case of success, FALSE in case of Failure. - * @link http://redis.io/commands/rpush + * @link https://redis.io/commands/rpush * @example ** $redisCluster->rPush('r', 'v1', 'v2', 'v3', 'v4'); // int(4) @@ -513,7 +513,7 @@ class RedisCluster { * @param int $timeout Timeout * * @return array array('listName', 'element') - * @link http://redis.io/commands/blpop + * @link https://redis.io/commands/blpop * @example ** // Non blocking feature @@ -550,7 +550,7 @@ class RedisCluster { * there are no elements to pop from any of the given lists. * An element is popped from the tail of the first list that is non-empty, * with the given keys being checked in the order that they are given. - * See the BLPOP documentation(http://redis.io/commands/blpop) for the exact semantics, + * See the BLPOP documentation(https://redis.io/commands/blpop) for the exact semantics, * since BRPOP is identical to BLPOP with the only difference being that * it pops elements from the tail of a list instead of popping from the head. * @@ -559,7 +559,7 @@ class RedisCluster { * @param int $timeout Timeout * * @return array array('listName', 'element') - * @link http://redis.io/commands/brpop + * @link https://redis.io/commands/brpop * @example ** // Non blocking feature @@ -597,7 +597,7 @@ class RedisCluster { * @param string $value String, value to push in key * * @return int The new length of the list in case of success, FALSE in case of Failure. - * @link http://redis.io/commands/rpushx + * @link https://redis.io/commands/rpushx * @example ** $redisCluster->del('key1'); @@ -617,7 +617,7 @@ class RedisCluster { * @param string $value String, value to push in key * * @return int The new length of the list in case of success, FALSE in case of Failure. - * @link http://redis.io/commands/lpushx + * @link https://redis.io/commands/lpushx * @example ** $redisCluster->del('key1'); @@ -641,7 +641,7 @@ class RedisCluster { * @param string $value * * @return int The number of the elements in the list, -1 if the pivot didn't exists. - * @link http://redis.io/commands/linsert + * @link https://redis.io/commands/linsert * @example ** $redisCluster->del('key1'); @@ -672,7 +672,7 @@ class RedisCluster { * * @return String the element at this index * Bool FALSE if the key identifies a non-string data type, or no value corresponds to this index in the list Key. - * @link http://redis.io/commands/lindex + * @link https://redis.io/commands/lindex * @example ** $redisCluster->rPush('key1', 'A'); @@ -696,7 +696,7 @@ class RedisCluster { * * @return int the number of elements to remove * bool FALSE if the value identified by key is not a list. - * @link http://redis.io/commands/lrem + * @link https://redis.io/commands/lrem * @example ** $redisCluster->lPush('key1', 'A'); @@ -720,7 +720,7 @@ class RedisCluster { * @param int $timeout * * @return string The element that was moved in case of success, FALSE in case of timeout. - * @link http://redis.io/commands/brpoplpush + * @link https://redis.io/commands/brpoplpush */ public function brpoplpush($srcKey, $dstKey, $timeout) { } @@ -734,7 +734,7 @@ class RedisCluster { * @param string $dstKey * * @return string The element that was moved in case of success, FALSE in case of failure. - * @link http://redis.io/commands/rpoplpush + * @link https://redis.io/commands/rpoplpush * @example ** $redisCluster->del('x', 'y'); @@ -776,7 +776,7 @@ class RedisCluster { * * @return int The size of the list identified by Key exists. * bool FALSE if the data type identified by Key is not list - * @link http://redis.io/commands/llen + * @link https://redis.io/commands/llen * @example ** $redisCluster->rPush('key1', 'A'); @@ -795,7 +795,7 @@ class RedisCluster { * @param string $key * * @return int the cardinality (number of elements) of the set, or 0 if key does not exist. - * @link http://redis.io/commands/scard + * @link https://redis.io/commands/scard * @example ** $redisCluster->sAdd('key1' , 'set1'); @@ -814,7 +814,7 @@ class RedisCluster { * @param string $key * * @return array All elements of the set. - * @link http://redis.io/commands/smembers + * @link https://redis.io/commands/smembers * @example ** $redisCluster->del('s'); @@ -846,7 +846,7 @@ class RedisCluster { * @param string $value * * @return bool TRUE if value is a member of the set at key key, FALSE otherwise. - * @link http://redis.io/commands/sismember + * @link https://redis.io/commands/sismember * @example ** $redisCluster->sAdd('key1' , 'set1'); @@ -869,7 +869,7 @@ class RedisCluster { * @param string $valueN Optional value * * @return int The number of elements added to the set - * @link http://redis.io/commands/sadd + * @link https://redis.io/commands/sadd * @example ** $redisCluster->sAdd('k', 'v1'); // int(1) @@ -903,7 +903,7 @@ class RedisCluster { * @param string $memberN * * @return int The number of elements removed from the set. - * @link http://redis.io/commands/srem + * @link https://redis.io/commands/srem * @example ** var_dump( $redisCluster->sAdd('k', 'v1', 'v2', 'v3') ); // int(3) @@ -925,7 +925,7 @@ class RedisCluster { * @param string $keyN ... * * @return array of strings: The union of all these sets. - * @link http://redis.io/commands/sunionstore + * @link https://redis.io/commands/sunionstore * @example ** $redisCluster->del('s0', 's1', 's2'); @@ -964,7 +964,7 @@ class RedisCluster { * @param string $keyN ... * * @return int Any number of keys corresponding to sets in redis. - * @link http://redis.io/commands/sunionstore + * @link https://redis.io/commands/sunionstore * @example ** $redisCluster->del('s0', 's1', 's2'); @@ -1007,7 +1007,7 @@ class RedisCluster { * * @return array contain the result of the intersection between those keys. * If the intersection between the different sets is empty, the return value will be empty array. - * @link http://redis.io/commands/sinterstore + * @link https://redis.io/commands/sinterstore * @example ** $redisCluster->sAdd('key1', 'val1'); @@ -1044,7 +1044,7 @@ class RedisCluster { * @param string $keyN ... * * @return int The cardinality of the resulting set, or FALSE in case of a missing key. - * @link http://redis.io/commands/sinterstore + * @link https://redis.io/commands/sinterstore * @example ** $redisCluster->sAdd('key1', 'val1'); @@ -1082,7 +1082,7 @@ class RedisCluster { * @param string $keyN ... * * @return array of strings: The difference of the first set will all the others. - * @link http://redis.io/commands/sdiff + * @link https://redis.io/commands/sdiff * @example ** $redisCluster->del('s0', 's1', 's2'); @@ -1118,7 +1118,7 @@ class RedisCluster { * @param string $keyN ... * * @return int The cardinality of the resulting set, or FALSE in case of a missing key. - * @link http://redis.io/commands/sdiffstore + * @link https://redis.io/commands/sdiffstore * @example ** $redisCluster->del('s0', 's1', 's2'); @@ -1155,7 +1155,7 @@ class RedisCluster { * * @return string|array value(s) from the set * bool FALSE if set identified by key is empty or doesn't exist and count argument isn't passed. - * @link http://redis.io/commands/srandmember + * @link https://redis.io/commands/srandmember * @example ** $redisCluster->sAdd('key1' , 'one'); @@ -1182,7 +1182,7 @@ class RedisCluster { * @param string $key * * @return int - * @link http://redis.io/commands/strlen + * @link https://redis.io/commands/strlen * @example ** $redisCluster->set('key', 'value'); @@ -1197,7 +1197,7 @@ class RedisCluster { * @param string $key * * @return bool TRUE if a timeout was removed, FALSE if the key didn’t exist or didn’t have an expiration timer. - * @link http://redis.io/commands/persist + * @link https://redis.io/commands/persist * @example $redisCluster->persist('key'); */ public function persist($key) { } @@ -1212,7 +1212,7 @@ class RedisCluster { * @param string $key * * @return int the time left to live in seconds. - * @link http://redis.io/commands/ttl + * @link https://redis.io/commands/ttl * @example $redisCluster->ttl('key'); */ public function ttl($key) { } @@ -1227,7 +1227,7 @@ class RedisCluster { * @param string $key * * @return int the time left to live in milliseconds. - * @link http://redis.io/commands/pttl + * @link https://redis.io/commands/pttl * @example $redisCluster->pttl('key'); */ public function pttl($key) { } @@ -1238,7 +1238,7 @@ class RedisCluster { * @param string $key * * @return int the set's cardinality - * @link http://redis.io/commands/zsize + * @link https://redis.io/commands/zsize * @example ** $redisCluster->zAdd('key', 0, 'val0'); @@ -1259,7 +1259,7 @@ class RedisCluster { * @param string $end * * @return int the size of a corresponding zRangeByScore. - * @link http://redis.io/commands/zcount + * @link https://redis.io/commands/zcount * @example ** $redisCluster->zAdd('key', 0, 'val0'); @@ -1278,7 +1278,7 @@ class RedisCluster { * @param float|string $end double or "+inf" or "-inf" string * * @return int The number of values deleted from the sorted set - * @link http://redis.io/commands/zremrangebyscore + * @link https://redis.io/commands/zremrangebyscore * @example ** $redisCluster->zAdd('key', 0, 'val0'); @@ -1296,7 +1296,7 @@ class RedisCluster { * @param string $member * * @return float - * @link http://redis.io/commands/zscore + * @link https://redis.io/commands/zscore * @example ** $redisCluster->zAdd('key', 2.5, 'val2'); @@ -1317,7 +1317,7 @@ class RedisCluster { * @param string $valueN Optional value * * @return int Number of values added - * @link http://redis.io/commands/zadd + * @link https://redis.io/commands/zadd * @example ** $redisCluster->zAdd('z', 1, 'v2', 2, 'v2', 3, 'v3', 4, 'v4' ); // int(3) @@ -1340,7 +1340,7 @@ class RedisCluster { * @param string $member * * @return float the new value - * @link http://redis.io/commands/zincrby + * @link https://redis.io/commands/zincrby * @example ** $redisCluster->del('key'); @@ -1357,7 +1357,7 @@ class RedisCluster { * @param string $key * * @return int the number of items in a hash, FALSE if the key doesn't exist or isn't a hash. - * @link http://redis.io/commands/hlen + * @link https://redis.io/commands/hlen * @example ** $redisCluster->del('h'); @@ -1374,7 +1374,7 @@ class RedisCluster { * @param string $key * * @return array An array of elements, the keys of the hash. This works like PHP's array_keys(). - * @link http://redis.io/commands/hkeys + * @link https://redis.io/commands/hkeys * @example ** $redisCluster->del('h'); @@ -1407,7 +1407,7 @@ class RedisCluster { * @param string $key * * @return array An array of elements, the values of the hash. This works like PHP's array_values(). - * @link http://redis.io/commands/hvals + * @link https://redis.io/commands/hvals * @example ** $redisCluster->del('h'); @@ -1442,7 +1442,7 @@ class RedisCluster { * @param string $hashKey * * @return string The value, if the command executed successfully BOOL FALSE in case of failure - * @link http://redis.io/commands/hget + * @link https://redis.io/commands/hget * @example ** $redisCluster->del('h'); @@ -1458,7 +1458,7 @@ class RedisCluster { * @param string $key * * @return array An array of elements, the contents of the hash. - * @link http://redis.io/commands/hgetall + * @link https://redis.io/commands/hgetall * @example ** $redisCluster->del('h'); @@ -1492,7 +1492,7 @@ class RedisCluster { * @param string $hashKey * * @return bool If the member exists in the hash table, return TRUE, otherwise return FALSE. - * @link http://redis.io/commands/hexists + * @link https://redis.io/commands/hexists * @example ** $redisCluster->hSet('h', 'a', 'x'); @@ -1510,7 +1510,7 @@ class RedisCluster { * @param int $value (integer) value that will be added to the member's value * * @return int the new value - * @link http://redis.io/commands/hincrby + * @link https://redis.io/commands/hincrby * @example ** $redisCluster->del('h'); @@ -1530,7 +1530,7 @@ class RedisCluster { * @return int * 1 if value didn't exist and was added successfully, * 0 if the value was already present and was replaced, FALSE if there was an error. - * @link http://redis.io/commands/hset + * @link https://redis.io/commands/hset * @example ** $redisCluster->del('h') @@ -1551,7 +1551,7 @@ class RedisCluster { * @param string $value * * @return bool TRUE if the field was set, FALSE if it was already present. - * @link http://redis.io/commands/hsetnx + * @link https://redis.io/commands/hsetnx * @example ** $redisCluster->del('h') @@ -1570,7 +1570,7 @@ class RedisCluster { * * @return array Array An array of elements, the values of the specified fields in the hash, * with the hash keys as array keys. - * @link http://redis.io/commands/hmget + * @link https://redis.io/commands/hmget * @example ** $redisCluster->del('h'); @@ -1590,7 +1590,7 @@ class RedisCluster { * @param array $hashKeys key → value array * * @return bool - * @link http://redis.io/commands/hmset + * @link https://redis.io/commands/hmset * @example ** $redisCluster->del('user:1'); @@ -1610,7 +1610,7 @@ class RedisCluster { * @param string $hashKeyN * * @return int Number of deleted fields - * @link http://redis.io/commands/hdel + * @link https://redis.io/commands/hdel * @example ** $redisCluster->hMSet('h', @@ -1643,7 +1643,7 @@ class RedisCluster { * @param float $increment * * @return float - * @link http://redis.io/commands/hincrbyfloat + * @link https://redis.io/commands/hincrbyfloat * @example ** $redisCluster->hset('h', 'float', 3); @@ -1671,7 +1671,7 @@ class RedisCluster { * @param string $key * * @return string The Redis encoded value of the key, or FALSE if the key doesn't exist - * @link http://redis.io/commands/dump + * @link https://redis.io/commands/dump * @example ** $redisCluster->set('foo', 'bar'); @@ -1688,7 +1688,7 @@ class RedisCluster { * @param string $member * * @return int the item's score. - * @link http://redis.io/commands/zrank + * @link https://redis.io/commands/zrank * @example ** $redisCluster->del('z'); @@ -1709,7 +1709,7 @@ class RedisCluster { * @param string $member * * @return int the item's score - * @link http://redis.io/commands/zrevrank + * @link https://redis.io/commands/zrevrank */ public function zRevRank($key, $member) { } @@ -1719,7 +1719,7 @@ class RedisCluster { * @param string $key * * @return int the new value - * @link http://redis.io/commands/incr + * @link https://redis.io/commands/incr * @example ** $redisCluster->incr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value 1 @@ -1736,7 +1736,7 @@ class RedisCluster { * @param string $key * * @return int the new value - * @link http://redis.io/commands/decr + * @link https://redis.io/commands/decr * @example ** $redisCluster->decr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value -1 @@ -1754,7 +1754,7 @@ class RedisCluster { * @param int $value value that will be added to key (only for incrBy) * * @return int the new value - * @link http://redis.io/commands/incrby + * @link https://redis.io/commands/incrby * @example ** $redisCluster->incr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value 1 @@ -1774,7 +1774,7 @@ class RedisCluster { * @param int $value that will be substracted to key (only for decrBy) * * @return int the new value - * @link http://redis.io/commands/decrby + * @link https://redis.io/commands/decrby * @example ** $redisCluster->decr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value -1 @@ -1792,7 +1792,7 @@ class RedisCluster { * @param float $increment * * @return float - * @link http://redis.io/commands/incrbyfloat + * @link https://redis.io/commands/incrbyfloat * @example ** $redisCluster->set('x', 3); @@ -1810,7 +1810,7 @@ class RedisCluster { * @param int $ttl The key's remaining Time To Live, in seconds. * * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/expire + * @link https://redis.io/commands/expire * @example ** $redisCluster->set('x', '42'); @@ -1828,7 +1828,7 @@ class RedisCluster { * @param int $ttl The key's remaining Time To Live, in milliseconds. * * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/pexpire + * @link https://redis.io/commands/pexpire * @example ** $redisCluster->set('x', '42'); @@ -1846,7 +1846,7 @@ class RedisCluster { * @param int $timestamp Unix timestamp. The key's date of death, in seconds from Epoch time. * * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/expireat + * @link https://redis.io/commands/expireat * @example ** $redisCluster->set('x', '42'); @@ -1865,7 +1865,7 @@ class RedisCluster { * @param int $timestamp Unix timestamp. The key's date of death, in seconds from Epoch time. * * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/pexpireat + * @link https://redis.io/commands/pexpireat * @example ** $redisCluster->set('x', '42'); @@ -1883,7 +1883,7 @@ class RedisCluster { * @param string $value * * @return int Size of the value after the append - * @link http://redis.io/commands/append + * @link https://redis.io/commands/append * @example ** $redisCluster->set('key', 'value1'); @@ -1900,7 +1900,7 @@ class RedisCluster { * @param int $offset * * @return int the bit value (0 or 1) - * @link http://redis.io/commands/getbit + * @link https://redis.io/commands/getbit * @example ** $redisCluster->set('key', "\x7f"); // this is 0111 1111 @@ -1918,7 +1918,7 @@ class RedisCluster { * @param bool|int $value bool or int (1 or 0) * * @return int 0 or 1, the value of the bit before it was set. - * @link http://redis.io/commands/setbit + * @link https://redis.io/commands/setbit * @example ** $redisCluster->set('key', "*"); // ord("*") = 42 = 0x2f = "0010 1010" @@ -1939,7 +1939,7 @@ class RedisCluster { * @param string $key3 * * @return int The size of the string stored in the destination key. - * @link http://redis.io/commands/bitop + * @link https://redis.io/commands/bitop * @example ** $redisCluster->set('bit1', '1'); // 11 0001 @@ -1973,7 +1973,7 @@ class RedisCluster { * start argument only. However, this behavior changes if you are looking for clear bits and * specify a range with both start and end. If no clear bit is found in the specified range, the * function returns -1 as the user specified a clear range and there are no 0 bits in that range. - * @link http://redis.io/commands/bitpos + * @link https://redis.io/commands/bitpos * @example ** $redisCluster->set('key', '\xff\xff'); @@ -1993,7 +1993,7 @@ class RedisCluster { * @param string $key * * @return int The number of bits set to 1 in the value behind the input key. - * @link http://redis.io/commands/bitcount + * @link https://redis.io/commands/bitcount * @example ** $redisCluster->set('bit', '345'); // // 11 0011 0011 0100 0011 0101 @@ -2011,7 +2011,7 @@ class RedisCluster { * @param string $key * @param int $index * - * @link http://redis.io/commands/lindex + * @link https://redis.io/commands/lindex */ public function lGet($key, $index) { } @@ -2023,7 +2023,7 @@ class RedisCluster { * @param int $end * * @return string the substring - * @link http://redis.io/commands/getrange + * @link https://redis.io/commands/getrange * @example ** $redisCluster->set('key', 'string value'); @@ -2041,7 +2041,7 @@ class RedisCluster { * @param int $stop * * @return array Bool return FALSE if the key identify a non-list value. - * @link http://redis.io/commands/ltrim + * @link https://redis.io/commands/ltrim * @example ** $redisCluster->rPush('key1', 'A'); @@ -2064,7 +2064,7 @@ class RedisCluster { * @param int $end * * @return array containing the values in specified range. - * @link http://redis.io/commands/lrange + * @link https://redis.io/commands/lrange * @example ** $redisCluster->rPush('key1', 'A'); @@ -2083,7 +2083,7 @@ class RedisCluster { * @param int $end * * @return int The number of values deleted from the sorted set - * @link http://redis.io/commands/zremrangebyrank + * @link https://redis.io/commands/zremrangebyrank * @example ** $redisCluster->zAdd('key', 1, 'one'); @@ -2101,7 +2101,7 @@ class RedisCluster { * @param string $channel a channel to publish to * @param string $message string * - * @link http://redis.io/commands/publish + * @link https://redis.io/commands/publish * @return int Number of clients that received the message * @example $redisCluster->publish('chan-1', 'hello, world!'); // send message. */ @@ -2114,7 +2114,7 @@ class RedisCluster { * @param string $dstKey * * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/rename + * @link https://redis.io/commands/rename * @example ** $redisCluster->set('x', '42'); @@ -2135,7 +2135,7 @@ class RedisCluster { * @param string $dstKey * * @return bool TRUE in case of success, FALSE in case of failure. - * @link http://redis.io/commands/renamenx + * @link https://redis.io/commands/renamenx * @example ** $redisCluster->set('x', '42'); @@ -2153,7 +2153,7 @@ class RedisCluster { * @param string | array $key * * @return int - * @link http://redis.io/commands/pfcount + * @link https://redis.io/commands/pfcount * @example ** $redisCluster->pfAdd('key1', array('elem1', 'elem2')); @@ -2170,7 +2170,7 @@ class RedisCluster { * @param array $elements * * @return bool - * @link http://redis.io/commands/pfadd + * @link https://redis.io/commands/pfadd * @example $redisCluster->pfAdd('key', array('elem1', 'elem2')) */ public function pfAdd($key, array $elements) { } @@ -2183,7 +2183,7 @@ class RedisCluster { * @param array $sourceKeys * * @return bool - * @link http://redis.io/commands/pfmerge + * @link https://redis.io/commands/pfmerge * @example ** $redisCluster->pfAdd('key1', array('elem1', 'elem2')); @@ -2201,7 +2201,7 @@ class RedisCluster { * @param string $value * * @return string the length of the string after it was modified. - * @link http://redis.io/commands/setrange + * @link https://redis.io/commands/setrange * @example ** $redisCluster->set('key', 'Hello world'); @@ -2219,7 +2219,7 @@ class RedisCluster { * @param string $value (binary). The Redis encoded key value (from DUMP) * * @return bool - * @link http://redis.io/commands/restore + * @link https://redis.io/commands/restore * @example ** $redisCluster->set('foo', 'bar'); diff --git a/rrd/rrd.php b/rrd/rrd.php index 9b4042cc..569c2826 100644 --- a/rrd/rrd.php +++ b/rrd/rrd.php @@ -2,7 +2,7 @@ /** * Stubs for PECL/rrd extension * Description taken from official documenation - * @link http://php.net/manual/en/book.rrd.php + * @link https://php.net/manual/en/book.rrd.php * @author Olegs Capligins*/ diff --git a/snmp/snmp.php b/snmp/snmp.php index ea5fff8d..147ddb2e 100644 --- a/snmp/snmp.php +++ b/snmp/snmp.php @@ -9,7 +9,7 @@ class SNMP { /** * @var int Maximum OID per GET/SET/GETBULK request - * @link http://www.php.net/manual/en/class.snmp.php#snmp.props.max-oids + * @link https://www.php.net/manual/en/class.snmp.php#snmp.props.max-oids */ public $max_oids; @@ -20,21 +20,21 @@ class SNMP { * SNMP_VALUE_PLAIN The return values will be the plain value without the SNMP type hint. * SNMP_VALUE_OBJECT The return values will be objects with the properties "value" and "type", where the latter is one of the SNMP_OCTET_STR, SNMP_COUNTER etc. constants. The way "value" is returned is based on which one of SNMP_VALUE_LIBRARY, SNMP_VALUE_PLAIN is set * - * @link http://www.php.net/manual/en/class.snmp.php#snmp.props.max-oids + * @link https://www.php.net/manual/en/class.snmp.php#snmp.props.max-oids */ public $valueretrieval; /** * @var bool Value of quick_print within the NET-SNMP library *
- * @link http://www.php.net/manual/en/class.snmp.php#snmp.props.oid-output-format + * @link https://www.php.net/manual/en/class.snmp.php#snmp.props.oid-output-format */ public $oid_output_format; /** * @var bool Controls disabling check for increasing OID while walking OID tree *Sets the value of quick_print within the NET-SNMP library. When this is set (1), the SNMP library will return 'quick printed' values. This means that just the value will be printed. When quick_print is not enabled (default) the UCD SNMP library prints extra information including the type of the value (i.e. IpAddress or OID). Additionally, if quick_print is not enabled, the library prints additional hex values for all strings of three characters or less. - * @link http://www.php.net/manual/en/class.snmp.php#snmp.props.quick-print + * @link https://www.php.net/manual/en/class.snmp.php#snmp.props.quick-print */ public $quick_print; /** * @var bool Controls the way enum values are printed *
Parameter toggles if walk/get etc. should automatically lookup enum values in the MIB and return them together with their human readable string. - * @link http://www.php.net/manual/en/class.snmp.php#snmp.props.enum-print + * @link https://www.php.net/manual/en/class.snmp.php#snmp.props.enum-print */ public $enum_print; @@ -49,26 +49,26 @@ class SNMP { *
- SNMP_OID_OUTPUT_UCD
- system.sysUpTime.sysUpTimeInstance *
- SNMP_OID_OUTPUT_NONE
- Undefined *
Some SNMP agents are known for returning OIDs out of order but can complete the walk anyway. Other agents return OIDs that are out of order and can cause SNMP::walk() to loop indefinitely until memory limit will be reached. PHP SNMP library by default performs OID increasing check and stops walking on OID tree when it detects possible loop with issuing warning about non-increasing OID faced. Set oid_increasing_check to FALSE to disable this check. - * @link http://www.php.net/manual/en/class.snmp.php#snmp.props.oid-increasing-check + * @link https://www.php.net/manual/en/class.snmp.php#snmp.props.oid-increasing-check */ public $oid_increasing_check; /** * @var int Controls which failures will raise SNMPException instead of warning. Use bitwise OR'ed SNMP::ERRNO_* constants. By default all SNMP exceptions are disabled. - * @link http://www.php.net/manual/en/class.snmp.php#snmp.props.exceptions-enabled + * @link https://www.php.net/manual/en/class.snmp.php#snmp.props.exceptions-enabled */ public $exceptions_enabled; /** * @var array Read-only property with remote agent configuration: hostname, port, default timeout, default retries count - * @link http://www.php.net/manual/en/class.snmp.php#snmp.props.info + * @link https://www.php.net/manual/en/class.snmp.php#snmp.props.info */ public $info; diff --git a/sockets/sockets.php b/sockets/sockets.php index 1a74a63d..d11ed3e3 100644 --- a/sockets/sockets.php +++ b/sockets/sockets.php @@ -674,7 +674,7 @@ function socket_send ($socket, $buf, $len, $flags) {} /** * (PHP 5 >=5.5.0)
* Send a message - * @link http://www.php.net/manual/en/function.socket-sendmsg.php + * @link https://www.php.net/manual/en/function.socket-sendmsg.php * @param resource $socket * @param array $message * @param int $flags @@ -761,7 +761,7 @@ function socket_recvfrom ($socket, &$buf, $len, $flags, &$name, &$port = null) { /** * Read a message - * @link http://www.php.net/manual/en/function.socket-recvmsg.php + * @link https://www.php.net/manual/en/function.socket-recvmsg.php * @param resource $socket * @param string $message * @param int $flags [optional] diff --git a/solr/Documents/SolrInputDocument.php b/solr/Documents/SolrInputDocument.php index 2d7da69d..aa49667e 100644 --- a/solr/Documents/SolrInputDocument.php +++ b/solr/Documents/SolrInputDocument.php @@ -256,7 +256,7 @@ final class SolrInputDocument { /** * (PECL solr >= 0.9.2)
* Sets the index-time boost value for a field - * http://php.net/manual/en/solrinputdocument.setfieldboost.php + * https://php.net/manual/en/solrinputdocument.setfieldboost.php * @param string $fieldName* The name of the field. *