Replace http with https in doc links

This commit is contained in:
Andrey Sokolov 2018-08-13 16:39:18 +03:00
parent f1f8c17fd8
commit 4352577586
21 changed files with 381 additions and 381 deletions

View File

@ -5,7 +5,7 @@
/** /**
* Represents an error raised by PDO. You should not throw a * Represents an error raised by PDO. You should not throw a
* <b>PDOException</b> from your own code. * <b>PDOException</b> 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 * @link https://php.net/manual/en/class.pdoexception.php
*/ */
class PDOException extends RuntimeException { class PDOException extends RuntimeException {
@ -293,7 +293,7 @@ class PDO {
const ATTR_TIMEOUT = 2; 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 * @link https://php.net/manual/en/pdo.constants.php#pdo.constants.attr-errmode
*/ */
const ATTR_ERRMODE = 3; const ATTR_ERRMODE = 3;
@ -352,7 +352,7 @@ class PDO {
/** /**
* Request a persistent connection, rather than creating a new connection. * 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 * @link https://php.net/manual/en/pdo.constants.php#pdo.constants.attr-persistent
*/ */
const ATTR_PERSISTENT = 12; const ATTR_PERSISTENT = 12;
@ -422,21 +422,21 @@ class PDO {
/** /**
* Do not raise an error or exception if an error occurs. The developer is * 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. * 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 * @link https://php.net/manual/en/pdo.constants.php#pdo.constants.errmode-silent
*/ */
const ERRMODE_SILENT = 0; const ERRMODE_SILENT = 0;
/** /**
* Issue a PHP <b>E_WARNING</b> message if an error occurs. * Issue a PHP <b>E_WARNING</b> 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 * @link https://php.net/manual/en/pdo.constants.php#pdo.constants.errmode-warning
*/ */
const ERRMODE_WARNING = 1; const ERRMODE_WARNING = 1;
/** /**
* Throw a <b>PDOException</b> if an error occurs. * Throw a <b>PDOException</b> 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 * @link https://php.net/manual/en/pdo.constants.php#pdo.constants.errmode-exception
*/ */
const ERRMODE_EXCEPTION = 2; const ERRMODE_EXCEPTION = 2;
@ -1115,7 +1115,7 @@ class PDO {
/** /**
* (PHP 5 &gt;= 5.1.0, PHP 7, PECL pdo_sqlite &gt;= 1.0.0)<br/> * (PHP 5 &gt;= 5.1.0, PHP 7, PECL pdo_sqlite &gt;= 1.0.0)<br/>
* Registers a User Defined Function for use in SQL statements * 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 <p> * @param string $function_name <p>
* The name of the function used in SQL statements. * The name of the function used in SQL statements.
* </p> * </p>

View File

@ -111,7 +111,7 @@ class Lexer
/** /**
* Insert a regex macro, that can be later used as a shortcut and included in other regular expressions. * 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 $name Name of the macros.
* @param string $regex Regular expression. * @param string $regex Regular expression.
* @return void * @return void

View File

@ -78,7 +78,7 @@ class RLexer
* *
* Define a callback to be invoked once lexer encounters a particular token. * 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 int $id Token id.
* @param callable $callback Callable to be invoked. The callable doesn't receive any arguments and its return value is ignored. * @param callable $callback Callable to be invoked. The callable doesn't receive any arguments and its return value is ignored.
* @return void * @return void
@ -90,7 +90,7 @@ class RLexer
* *
* Consume the data for lexing. * 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. * @param string $data Data to be lexed.
* @return void * @return void
*/ */
@ -101,7 +101,7 @@ class RLexer
* *
* Dump the current state machine to stdout. * 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 * @return void
*/ */
public function dump() : void {} public function dump() : void {}

View File

@ -106,7 +106,7 @@ class UnexpectedValueException extends RuntimeException {
/** /**
* The EmptyIterator class for an empty iterator. * 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 { 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. * 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 * @since 5.4.0
*/ */
class CallbackFilterIterator extends FilterIterator { class CallbackFilterIterator extends FilterIterator {
@ -166,14 +166,14 @@ class CallbackFilterIterator extends FilterIterator {
* May be any valid callable value. * May be any valid callable value.
* The callback should accept up to three arguments: the current item, the current key and the iterator, respectively. * The callback should accept up to three arguments: the current item, the current key and the iterator, respectively.
* <code> function my_callback($current, $key, $iterator) </code> * <code> function my_callback($current, $key, $iterator) </code>
* @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) { } function __construct(Iterator $iterator , callable $callback) { }
/** /**
* This method calls the callback with the current value, current key and the inner iterator. * 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. * 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. * @return bool true if the current element is acceptable, otherwise false.
*/ */
public function accept() { } public function accept() { }
@ -182,7 +182,7 @@ class CallbackFilterIterator extends FilterIterator {
/** /**
* (PHP 5 >= 5.4.0)<br> * (PHP 5 >= 5.4.0)<br>
* RecursiveCallbackFilterIterator from a RecursiveIterator * RecursiveCallbackFilterIterator from a RecursiveIterator
* @link http://www.php.net/manual/en/class.recursivecallbackfilteriterator.php * @link https://www.php.net/manual/en/class.recursivecallbackfilteriterator.php
*/ */
class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements RecursiveIterator { class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements RecursiveIterator {
@ -191,7 +191,7 @@ class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements
* @param RecursiveIterator $iterator The recursive iterator to be filtered. * @param RecursiveIterator $iterator The recursive iterator to be filtered.
* @param string $callback The callback, which should return TRUE to accept the current item or FALSE otherwise. See Examples. * @param string $callback The callback, which should return TRUE to accept the current item or FALSE otherwise. See Examples.
* May be any valid callable value. * May be any valid callable value.
* @link http://www.php.net/manual/en/recursivecallbackfilteriterator.getchildren.php * @link https://www.php.net/manual/en/recursivecallbackfilteriterator.getchildren.php
*/ */
function __construct( RecursiveIterator $iterator, $callback ) { } function __construct( RecursiveIterator $iterator, $callback ) { }
@ -204,7 +204,7 @@ class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements
/** /**
* Returns an iterator for the current entry. * Returns an iterator for the current entry.
* @link http://www.php.net/manual/en/recursivecallbackfilteriterator.haschildren.php * @link https://www.php.net/manual/en/recursivecallbackfilteriterator.haschildren.php
* @return RecursiveCallbackFilterIterator containing the children. * @return RecursiveCallbackFilterIterator containing the children.
*/ */
public function getChildren() { } public function getChildren() { }
@ -1306,7 +1306,7 @@ class RegexIterator extends FilterIterator {
/** /**
* Returns current regular expression * Returns current regular expression
* @link http://www.php.net/manual/en/regexiterator.getregex.php * @link https://www.php.net/manual/en/regexiterator.getregex.php
* @return string * @return string
* @since 5.4.0 * @since 5.4.0
*/ */

View File

@ -573,7 +573,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt
/** /**
* Construct a new file object. * Construct a new file object.
* *
* @link http://php.net/manual/en/splfileobject.construct.php * @link https://php.net/manual/en/splfileobject.construct.php
* *
* @param string $file_name The file to open * @param string $file_name The file to open
* @param string $open_mode [optional] The mode in which to open the file. See {@see fopen} for a list of allowed modes. * @param string $open_mode [optional] The mode in which to open the file. See {@see fopen} for a list of allowed modes.

View File

@ -68,7 +68,7 @@ class SQLiteDatabase {
* <p>The column names returned by * <p>The column names returned by
* <b>SQLITE_ASSOC</b> and <b>SQLITE_BOTH</b> will be * <b>SQLITE_ASSOC</b> and <b>SQLITE_BOTH</b> will be
* case-folded according to the value of the * 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.</p> * option.</p>
*/ */
public function queryExec ($query, &$error_message) {} public function queryExec ($query, &$error_message) {}

View File

@ -1,6 +1,6 @@
<?php <?php
//TODO: copy proper descriptions for all constants from http://us.php.net/manual/en/function.curl-setopt.php //TODO: copy proper descriptions for all constants from https://php.net/manual/en/function.curl-setopt.php
/** /**
* A bitmask consisting of one or more of * A bitmask consisting of one or more of

View File

@ -28,7 +28,7 @@ class DOMNode {
* @var int * @var int
* @since 5.0 * @since 5.0
* Gets the type of the node. One of the predefined * Gets the type of the node. One of the predefined
* <a href="http://www.php.net/manual/en/dom.constants.php">XML_xxx_NODE</a> constants * <a href="https://www.php.net/manual/en/dom.constants.php">XML_xxx_NODE</a> constants
* @link https://php.net/manual/en/class.domnode.php#domnode.props.nodetype * @link https://php.net/manual/en/class.domnode.php#domnode.props.nodetype
*/ */
public $nodeType; public $nodeType;
@ -321,7 +321,7 @@ class DOMNode {
/** /**
* Gets an XPath location path for the node * Gets an XPath location path for the node
* @return string the XPath, or NULL in case of an error. * @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 * @since 5.3.0
*/ */
public function getNodePath () {} public function getNodePath () {}
@ -438,7 +438,7 @@ class DOMImplementation {
/** /**
* Creates a new DOMImplementation object * 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 * @since 5.0
*/ */
public function __construct(){} public function __construct(){}
@ -1877,14 +1877,14 @@ class DOMConfiguration {
/** /**
* The DOMCdataSection inherits from DOMText for textural representation of CData constructs. * 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 { class DOMCdataSection extends DOMText {
/** /**
* The value of the CDATA node. If not supplied, an empty CDATA node is created. * 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. * @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 * @since 5.0
*/ */
public function __construct ($value) {} public function __construct ($value) {}

View File

@ -9,9 +9,9 @@
* @property bool $pending * @property bool $pending
* *
* @author Kazuaki MABUCHI * @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 final class Event
{ {
@ -34,7 +34,7 @@ final class Event
* @param callable $cb * @param callable $cb
* @param mixed $arg = null * @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) public function __construct(EventBase $base, mixed $fd, int $what, callable $cb, mixed $arg = null)
{ {
@ -48,7 +48,7 @@ final class Event
* *
* @return bool * @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 public function add(double $timeout): bool
{ {
@ -62,7 +62,7 @@ final class Event
* *
* @return bool * @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 public function addSignal(double $timeout): bool
{ {
@ -76,7 +76,7 @@ final class Event
* *
* @return bool * @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 public function addTimer(double $timeout): bool
{ {
@ -88,7 +88,7 @@ final class Event
* *
* @return bool * @return bool
* *
* @see http://php.net/manual/en/event.del.php * @see https://php.net/manual/en/event.del.php
*/ */
public function del(): bool public function del(): bool
{ {
@ -100,7 +100,7 @@ final class Event
* *
* @return bool * @return bool
* *
* @see http://php.net/manual/en/event.delsignal.php * @see https://php.net/manual/en/event.delsignal.php
*/ */
public function delSignal(): bool public function delSignal(): bool
{ {
@ -112,7 +112,7 @@ final class Event
* *
* @return bool * @return bool
* *
* @see http://php.net/manual/en/event.deltimer.php * @see https://php.net/manual/en/event.deltimer.php
*/ */
public function delTimer(): bool public function delTimer(): bool
{ {
@ -122,7 +122,7 @@ final class Event
* free. * free.
* Make event non-pending and free resources allocated for this event. * 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 public function free(): void
{ {
@ -134,7 +134,7 @@ final class Event
* *
* @return array * @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 public static function getSupportedMethods(): array
{ {
@ -148,7 +148,7 @@ final class Event
* *
* @return bool * @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 public function pending(int $flags): bool
{ {
@ -166,7 +166,7 @@ final class Event
* *
* @return bool * @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 public function set(EventBase $base, mixed $fd, int $what, callable $cb, mixed $arg): bool
{ {
@ -178,7 +178,7 @@ final class Event
* *
* @return bool * @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 public function setPriority(int $priority): bool
{ {
@ -194,7 +194,7 @@ final class Event
* *
* @return bool * @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 public function setTimer(EventBase $base, callable $cb, mixed $arg): bool
{ {
@ -211,7 +211,7 @@ final class Event
* *
* @return 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 public static function signal(EventBase $base, int $signum, callable $cb, mixed $arg): Event
{ {
@ -227,7 +227,7 @@ final class Event
* *
* @return 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 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. * To configure event base to use, or avoid specific backend EventConfig class can be used.
* *
* @author Kazuaki MABUCHI * @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 final class EventBase
{ {
@ -261,7 +261,7 @@ final class EventBase
* *
* @param EventConfig $cfg * @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) public function __construct(EventConfig $cfg)
{ {
@ -271,7 +271,7 @@ final class EventBase
* dispatch. * dispatch.
* Dispatch pending events. * 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 public function dispatch(): void
{ {
@ -285,7 +285,7 @@ final class EventBase
* *
* @return bool * @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 public function exit(double $timeout): bool
{ {
@ -295,7 +295,7 @@ final class EventBase
* free. * free.
* Free resources allocated for this event base. * 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 public function free(): void
{ {
@ -307,7 +307,7 @@ final class EventBase
* *
* @return int * @return int
* *
* @see http://php.net/manual/en/eventbase.getfeatures.php * @see https://php.net/manual/en/eventbase.getfeatures.php
*/ */
public function getFeatures(): int public function getFeatures(): int
{ {
@ -319,7 +319,7 @@ final class EventBase
* *
* @return string * @return string
* *
* @see http://php.net/manual/en/eventbase.getmethod.php * @see https://php.net/manual/en/eventbase.getmethod.php
*/ */
public function getMethod(): string public function getMethod(): string
{ {
@ -331,7 +331,7 @@ final class EventBase
* *
* @return float * @return float
* *
* @see http://php.net/manual/en/eventbase.gettimeofdaycached.php * @see https://php.net/manual/en/eventbase.gettimeofdaycached.php
*/ */
public function getTimeOfDayCached(): double public function getTimeOfDayCached(): double
{ {
@ -343,7 +343,7 @@ final class EventBase
* *
* @return bool * @return bool
* *
* @see http://php.net/manual/en/eventbase.gotexit.php * @see https://php.net/manual/en/eventbase.gotexit.php
*/ */
public function gotExit(): bool public function gotExit(): bool
{ {
@ -355,7 +355,7 @@ final class EventBase
* *
* @return bool * @return bool
* *
* @see http://php.net/manual/en/eventbase.gotstop.php * @see https://php.net/manual/en/eventbase.gotstop.php
*/ */
public function gotStop(): bool public function gotStop(): bool
{ {
@ -369,7 +369,7 @@ final class EventBase
* *
* @return bool * @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 public function loop(int $flags): bool
{ {
@ -383,7 +383,7 @@ final class EventBase
* *
* @return bool * @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 public function priorityInit(int $n_priorities): bool
{ {
@ -395,7 +395,7 @@ final class EventBase
* *
* @return bool * @return bool
* *
* @see http://php.net/manual/en/eventbase.reinit.php * @see https://php.net/manual/en/eventbase.reinit.php
*/ */
public function reInit(): bool public function reInit(): bool
{ {
@ -407,7 +407,7 @@ final class EventBase
* *
* @return bool * @return bool
* *
* @see http://php.net/manual/en/eventbase.stop.php * @see https://php.net/manual/en/eventbase.stop.php
*/ */
public function stop(): bool public function stop(): bool
{ {
@ -424,9 +424,9 @@ final class EventBase
* @property int $contiguous_space * @property int $contiguous_space
* *
* @author Kazuaki MABUCHI * @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 class EventBuffer
{ {
@ -444,7 +444,7 @@ class EventBuffer
* __construct. * __construct.
* Constructs EventBuffer object. * Constructs EventBuffer object.
* *
* @see http://php.net/manual/en/eventbuffer.construct.php * @see https://php.net/manual/en/eventbuffer.construct.php
*/ */
public function __construct() public function __construct()
{ {
@ -458,7 +458,7 @@ class EventBuffer
* *
* @return bool * @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 public function add(string $data): bool
{ {
@ -472,7 +472,7 @@ class EventBuffer
* *
* @return bool * @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 public function addBuffer(EventBuffer $buf): bool
{ {
@ -487,7 +487,7 @@ class EventBuffer
* *
* @return int * @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 public function appendFrom(EventBuffer $buf, int $len): int
{ {
@ -502,7 +502,7 @@ class EventBuffer
* *
* @return int * @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 public function copyout(string &$data, int $max_bytes): int
{ {
@ -516,7 +516,7 @@ class EventBuffer
* *
* @return bool * @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 public function drain(int $len): bool
{ {
@ -525,7 +525,7 @@ class EventBuffer
/** /**
* enableLocking. * enableLocking.
* *
* @see http://php.net/manual/en/eventbuffer.enablelocking.php * @see https://php.net/manual/en/eventbuffer.enablelocking.php
*/ */
public function enableLocking(): void public function enableLocking(): void
{ {
@ -539,7 +539,7 @@ class EventBuffer
* *
* @return bool * @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 public function expand(int $len): bool
{ {
@ -553,7 +553,7 @@ class EventBuffer
* *
* @return bool * @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 public function freeze(bool $at_front): bool
{ {
@ -563,7 +563,7 @@ class EventBuffer
* lock. * lock.
* Acquires a lock on buffer. * 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 public function lock(): void
{ {
@ -577,7 +577,7 @@ class EventBuffer
* *
* @return bool * @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 public function prepend(string $data): bool
{ {
@ -591,7 +591,7 @@ class EventBuffer
* *
* @return bool * @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 public function prependBuffer(EventBuffer $buf): bool
{ {
@ -605,7 +605,7 @@ class EventBuffer
* *
* @return string * @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 public function pullup(int $size): string
{ {
@ -634,7 +634,7 @@ class EventBuffer
* *
* @return int * @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 public function readFrom(mixed $fd, int $howmuch): int
{ {
@ -648,7 +648,7 @@ class EventBuffer
* *
* @return string * @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 public function readLine(int $eol_style): string
{ {
@ -664,7 +664,7 @@ class EventBuffer
* *
* @return mixed * @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 public function search(string $what, int $start = 1, int $end = 1): mixed
{ {
@ -679,7 +679,7 @@ class EventBuffer
* *
* @return mixed * @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 public function searchEol(int $start = 1, int $eol_style = EOL_ANY): mixed
{ {
@ -694,7 +694,7 @@ class EventBuffer
* *
* @return string * @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 public function substr(int $start, int $length): string
{ {
@ -708,7 +708,7 @@ class EventBuffer
* *
* @return bool * @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 public function unfreeze(bool $at_front): bool
{ {
@ -720,7 +720,7 @@ class EventBuffer
* *
* @return bool * @return bool
* *
* @see http://php.net/manual/en/eventbuffer.unlock.php * @see https://php.net/manual/en/eventbuffer.unlock.php
*/ */
public function unlock(): bool public function unlock(): bool
{ {
@ -735,7 +735,7 @@ class EventBuffer
* *
* @return int * @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 public function write(mixed $fd, int $howmuch): int
{ {
@ -759,9 +759,9 @@ class EventBuffer
* @property EventBuffer $output * @property EventBuffer $output
* *
* @author Kazuaki MABUCHI * @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 final class EventBufferEvent
{ {
@ -795,7 +795,7 @@ final class EventBufferEvent
* @param callable $writecb = null * @param callable $writecb = null
* @param callable $eventcb = 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) 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. * close.
* Closes file descriptor associated with the current buffer event. * 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 public function close(): void
{ {
@ -819,7 +819,7 @@ final class EventBufferEvent
* *
* @return bool * @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 public function connect(string $addr): bool
{ {
@ -836,7 +836,7 @@ final class EventBufferEvent
* *
* @return bool * @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 public function connectHost(EventDnsBase $dns_base, string $hostname, int $port, int $family = AF_UNSPEC): bool
{ {
@ -851,7 +851,7 @@ final class EventBufferEvent
* *
* @return array * @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 public static function createPair(EventBase $base, int $options = 0): array
{ {
@ -865,7 +865,7 @@ final class EventBufferEvent
* *
* @return bool * @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 public function disable(int $events): bool
{ {
@ -879,7 +879,7 @@ final class EventBufferEvent
* *
* @return bool * @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 public function enable(int $events): bool
{ {
@ -889,7 +889,7 @@ final class EventBufferEvent
* free. * free.
* Free a buffer event. * 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 public function free(): void
{ {
@ -901,7 +901,7 @@ final class EventBufferEvent
* *
* @return string * @return string
* *
* @see http://php.net/manual/en/eventbufferevent.getdnserrorstring.php * @see https://php.net/manual/en/eventbufferevent.getdnserrorstring.php
*/ */
public function getDnsErrorString(): string public function getDnsErrorString(): string
{ {
@ -913,7 +913,7 @@ final class EventBufferEvent
* *
* @return int * @return int
* *
* @see http://php.net/manual/en/eventbufferevent.getenabled.php * @see https://php.net/manual/en/eventbufferevent.getenabled.php
*/ */
public function getEnabled(): int public function getEnabled(): int
{ {
@ -925,7 +925,7 @@ final class EventBufferEvent
* *
* @return EventBuffer * @return EventBuffer
* *
* @see http://php.net/manual/en/eventbufferevent.getinput.php * @see https://php.net/manual/en/eventbufferevent.getinput.php
*/ */
public function getInput(): EventBuffer public function getInput(): EventBuffer
{ {
@ -937,7 +937,7 @@ final class EventBufferEvent
* *
* @return EventBuffer * @return EventBuffer
* *
* @see http://php.net/manual/en/eventbufferevent.getoutput.php * @see https://php.net/manual/en/eventbufferevent.getoutput.php
*/ */
public function getOutput(): EventBuffer public function getOutput(): EventBuffer
{ {
@ -951,7 +951,7 @@ final class EventBufferEvent
* *
* @return string * @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 public function read(int $size): string
{ {
@ -965,7 +965,7 @@ final class EventBufferEvent
* *
* @return bool * @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 public function readBuffer(EventBuffer $buf): bool
{ {
@ -980,7 +980,7 @@ final class EventBufferEvent
* @param callable $eventcb * @param callable $eventcb
* @param string $arg (optional) * @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 public function setCallbacks(callable $readcb, callable $writecb, callable $eventcb, string $arg): void
{ {
@ -994,7 +994,7 @@ final class EventBufferEvent
* *
* @return bool * @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 public function setPriority(int $priority): bool
{ {
@ -1009,7 +1009,7 @@ final class EventBufferEvent
* *
* @return bool * @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 public function setTimeouts(float $timeout_read, float $timeout_write): bool
{ {
@ -1023,7 +1023,7 @@ final class EventBufferEvent
* @param int $lowmark * @param int $lowmark
* @param int $highmark * @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 public function setWatermark(int $events, int $lowmark, int $highmark): void
{ {

View File

@ -146,7 +146,7 @@ function finfo_file ($finfo, $file_name, $options = null, $context = null) {}
* </p> * </p>
* @param string $string * @param string $string
* @param int $options [optional] One or disjunction of more * @param int $options [optional] One or disjunction of more
* <a href="http://hu.php.net/manual/en/fileinfo.constants.php">Fileinfo</a> constants. * <a href="https://php.net/manual/en/fileinfo.constants.php">Fileinfo</a> constants.
* @param resource $context [optional] * @param resource $context [optional]
* @return string a textual description of the <i>string</i> * @return string a textual description of the <i>string</i>
* argument, or <b>FALSE</b> if an error occurred. * argument, or <b>FALSE</b> if an error occurred.

View File

@ -10,7 +10,7 @@
* You can even serialize() arrays that contain references to itself. * You can even serialize() arrays that contain references to itself.
* Circular references inside the array/object you are serialize()ing will also be stored. * 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. * 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. * 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. * @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. * @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) {} function igbinary_serialize($value) {}
@ -32,8 +32,8 @@ function igbinary_serialize($value) {}
* *
* @param string $str The serialized string. * @param string $str The serialized string.
* @return mixed The converted value is returned, and can be a boolean, integer, float, string, array or object. * @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 https://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/~helly/php/ext/spl/interfaceSerializable.html Serializable
*/ */
function igbinary_unserialize($str) {} function igbinary_unserialize($str) {}

View File

@ -1106,13 +1106,13 @@ class Normalizer {
/** /**
* Default normalization options * 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 = ""; const OPTION_DEFAULT = "";
/** /**
* No decomposition/composition * 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"; const NONE = "1";

View File

@ -6,7 +6,7 @@
// http://www.wangafu.net/~nickm/libevent-book/ // http://www.wangafu.net/~nickm/libevent-book/
// PHP Libevent extension documentation: // PHP Libevent extension documentation:
// http://php.net/libevent // https://php.net/libevent
// Event flags // Event flags

View File

@ -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 * 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 <p> * @param string $pattern <p>
* The regular expression pattern. * The regular expression pattern.
* </p> * </p>

View File

@ -858,7 +858,7 @@ define('POSIX_RLIMIT_LOCKS', 10);
define('POSIX_RLIMIT_MSGQUEUE', 12); define('POSIX_RLIMIT_MSGQUEUE', 12);
/** /**
* The maximum value to which the process can be <a href="http://php.net/manual/en/function.pcntl-setpriority.php"> reniced</a> 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 <a href="https://php.net/manual/en/function.pcntl-setpriority.php"> reniced</a> 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 * @link https://php.net/manual/en/posix.constants.setrlimit.php
*/ */
define('POSIX_RLIMIT_NICE', 13); define('POSIX_RLIMIT_NICE', 13);

File diff suppressed because it is too large Load Diff

View File

@ -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 * @return string|bool If key didn't exist, FALSE is returned. Otherwise, the value related to this key is
* returned. * returned.
* *
* @link http://redis.io/commands/get * @link https://redis.io/commands/get
* @example * @example
* <pre> * <pre>
* $redisCluster->get('key'); * $redisCluster->get('key');
@ -126,7 +126,7 @@ class RedisCluster {
* *
* @return bool TRUE if the command is successful. * @return bool TRUE if the command is successful.
* *
* @link http://redis.io/commands/set * @link https://redis.io/commands/set
* @example * @example
* <pre> * <pre>
* // Simple key -> value set * // Simple key -> value set
@ -154,7 +154,7 @@ class RedisCluster {
* *
* @return array * @return array
* *
* @link http://redis.io/commands/mget * @link https://redis.io/commands/mget
* @example * @example
* <pre> * <pre>
* $redisCluster->del('x', 'y', 'z', 'h'); // remove x y z * $redisCluster->del('x', 'y', 'z', 'h'); // remove x y z
@ -183,7 +183,7 @@ class RedisCluster {
* @param array $array Pairs: array(key => value, ...) * @param array $array Pairs: array(key => value, ...)
* *
* @return bool TRUE in case of success, FALSE in case of failure. * @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 * @example
* <pre> * <pre>
* $redisCluster->mset(array('key0' => 'value0', 'key1' => 'value1')); * $redisCluster->mset(array('key0' => 'value0', 'key1' => 'value1'));
@ -202,7 +202,7 @@ class RedisCluster {
* @param array $array * @param array $array
* *
* @return int 1 (if the keys were set) or 0 (no key was set) * @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) { } public function msetnx(array $array) { }
@ -215,7 +215,7 @@ class RedisCluster {
* @param string $key3 ... * @param string $key3 ...
* *
* @return int Number of keys deleted. * @return int Number of keys deleted.
* @link http://redis.io/commands/del * @link https://redis.io/commands/del
* @example * @example
* <pre> * <pre>
* $redisCluster->set('key1', 'val1'); * $redisCluster->set('key1', 'val1');
@ -236,7 +236,7 @@ class RedisCluster {
* @param string $value * @param string $value
* *
* @return bool TRUE if the command is successful. * @return bool TRUE if the command is successful.
* @link http://redis.io/commands/setex * @link https://redis.io/commands/setex
* @example * @example
* <pre> * <pre>
* $redisCluster->setex('key', 3600, 'value'); // sets key → value, with 1h TTL. * $redisCluster->setex('key', 3600, 'value'); // sets key → value, with 1h TTL.
@ -253,7 +253,7 @@ class RedisCluster {
* @param string $value * @param string $value
* *
* @return bool TRUE if the command is successful. * @return bool TRUE if the command is successful.
* @link http://redis.io/commands/psetex * @link https://redis.io/commands/psetex
* @example * @example
* <pre> * <pre>
* $redisCluster->psetex('key', 1000, 'value'); // sets key → value, with 1s TTL. * $redisCluster->psetex('key', 1000, 'value'); // sets key → value, with 1s TTL.
@ -268,7 +268,7 @@ class RedisCluster {
* @param string $value * @param string $value
* *
* @return bool TRUE in case of success, FALSE in case of failure. * @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 * @example
* <pre> * <pre>
* $redisCluster->setnx('key', 'value'); // return TRUE * $redisCluster->setnx('key', 'value'); // return TRUE
@ -284,7 +284,7 @@ class RedisCluster {
* @param string $value * @param string $value
* *
* @return string A string, the previous value located at this key. * @return string A string, the previous value located at this key.
* @link http://redis.io/commands/getset * @link https://redis.io/commands/getset
* @example * @example
* <pre> * <pre>
* $redisCluster->set('x', '42'); * $redisCluster->set('x', '42');
@ -300,7 +300,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return bool If the key exists, return TRUE, otherwise return FALSE. * @return bool If the key exists, return TRUE, otherwise return FALSE.
* @link http://redis.io/commands/exists * @link https://redis.io/commands/exists
* @example * @example
* <pre> * <pre>
* $redisCluster->set('key', 'value'); * $redisCluster->set('key', 'value');
@ -316,7 +316,7 @@ class RedisCluster {
* @param string $pattern pattern, using '*' as a wildcard. * @param string $pattern pattern, using '*' as a wildcard.
* *
* @return array of STRING: The keys that match a certain pattern. * @return array of STRING: The keys that match a certain pattern.
* @link http://redis.io/commands/keys * @link https://redis.io/commands/keys
* @example * @example
* <pre> * <pre>
* $allKeys = $redisCluster->keys('*'); // all keys will match this. * $allKeys = $redisCluster->keys('*'); // all keys will match this.
@ -340,7 +340,7 @@ class RedisCluster {
* - zset: RedisCluster::REDIS_ZSET * - zset: RedisCluster::REDIS_ZSET
* - hash: RedisCluster::REDIS_HASH * - hash: RedisCluster::REDIS_HASH
* - other: RedisCluster::REDIS_NOT_FOUND * - other: RedisCluster::REDIS_NOT_FOUND
* @link http://redis.io/commands/type * @link https://redis.io/commands/type
* @example $redisCluster->type('key'); * @example $redisCluster->type('key');
*/ */
public function type($key) { } public function type($key) { }
@ -351,7 +351,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return string if command executed successfully BOOL FALSE in case of failure (empty list) * @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 * @example
* <pre> * <pre>
* $redisCluster->rPush('key1', 'A'); * $redisCluster->rPush('key1', 'A');
@ -381,7 +381,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return string if command executed successfully BOOL FALSE in case of failure (empty list) * @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 * @example
* <pre> * <pre>
* $redisCluster->rPush('key1', 'A'); * $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 * @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. * is not a list.
* @link http://redis.io/commands/lset * @link https://redis.io/commands/lset
* @example * @example
* <pre> * <pre>
* $redisCluster->rPush('key1', 'A'); * $redisCluster->rPush('key1', 'A');
@ -434,7 +434,7 @@ class RedisCluster {
* *
* @return string "popped" value * @return string "popped" value
* bool FALSE if set identified by key is empty or doesn't exist. * 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 * @example
* <pre> * <pre>
* $redisCluster->sAdd('key1' , 'set1'); * $redisCluster->sAdd('key1' , 'set1');
@ -459,7 +459,7 @@ class RedisCluster {
* @param string $valueN Optional * @param string $valueN Optional
* *
* @return int The new length of the list in case of success, FALSE in case of Failure. * @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 * @example
* <pre> * <pre>
* $redisCluster->lPush('l', 'v1', 'v2', 'v3', 'v4') // int(4) * $redisCluster->lPush('l', 'v1', 'v2', 'v3', 'v4') // int(4)
@ -485,7 +485,7 @@ class RedisCluster {
* @param string $valueN Optional * @param string $valueN Optional
* *
* @return int The new length of the list in case of success, FALSE in case of Failure. * @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 * @example
* <pre> * <pre>
* $redisCluster->rPush('r', 'v1', 'v2', 'v3', 'v4'); // int(4) * $redisCluster->rPush('r', 'v1', 'v2', 'v3', 'v4'); // int(4)
@ -513,7 +513,7 @@ class RedisCluster {
* @param int $timeout Timeout * @param int $timeout Timeout
* *
* @return array array('listName', 'element') * @return array array('listName', 'element')
* @link http://redis.io/commands/blpop * @link https://redis.io/commands/blpop
* @example * @example
* <pre> * <pre>
* // Non blocking feature * // Non blocking feature
@ -550,7 +550,7 @@ class RedisCluster {
* there are no elements to pop from any of the given lists. * 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, * 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. * 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 * 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. * 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 * @param int $timeout Timeout
* *
* @return array array('listName', 'element') * @return array array('listName', 'element')
* @link http://redis.io/commands/brpop * @link https://redis.io/commands/brpop
* @example * @example
* <pre> * <pre>
* // Non blocking feature * // Non blocking feature
@ -597,7 +597,7 @@ class RedisCluster {
* @param string $value String, value to push in 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. * @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 * @example
* <pre> * <pre>
* $redisCluster->del('key1'); * $redisCluster->del('key1');
@ -617,7 +617,7 @@ class RedisCluster {
* @param string $value String, value to push in 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. * @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 * @example
* <pre> * <pre>
* $redisCluster->del('key1'); * $redisCluster->del('key1');
@ -641,7 +641,7 @@ class RedisCluster {
* @param string $value * @param string $value
* *
* @return int The number of the elements in the list, -1 if the pivot didn't exists. * @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 * @example
* <pre> * <pre>
* $redisCluster->del('key1'); * $redisCluster->del('key1');
@ -672,7 +672,7 @@ class RedisCluster {
* *
* @return String the element at this 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. * 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 * @example
* <pre> * <pre>
* $redisCluster->rPush('key1', 'A'); * $redisCluster->rPush('key1', 'A');
@ -696,7 +696,7 @@ class RedisCluster {
* *
* @return int the number of elements to remove * @return int the number of elements to remove
* bool FALSE if the value identified by key is not a list. * 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 * @example
* <pre> * <pre>
* $redisCluster->lPush('key1', 'A'); * $redisCluster->lPush('key1', 'A');
@ -720,7 +720,7 @@ class RedisCluster {
* @param int $timeout * @param int $timeout
* *
* @return string The element that was moved in case of success, FALSE in case of 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) { } public function brpoplpush($srcKey, $dstKey, $timeout) { }
@ -734,7 +734,7 @@ class RedisCluster {
* @param string $dstKey * @param string $dstKey
* *
* @return string The element that was moved in case of success, FALSE in case of failure. * @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 * @example
* <pre> * <pre>
* $redisCluster->del('x', 'y'); * $redisCluster->del('x', 'y');
@ -776,7 +776,7 @@ class RedisCluster {
* *
* @return int The size of the list identified by Key exists. * @return int The size of the list identified by Key exists.
* bool FALSE if the data type identified by Key is not list * 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 * @example
* <pre> * <pre>
* $redisCluster->rPush('key1', 'A'); * $redisCluster->rPush('key1', 'A');
@ -795,7 +795,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return int the cardinality (number of elements) of the set, or 0 if key does not exist. * @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 * @example
* <pre> * <pre>
* $redisCluster->sAdd('key1' , 'set1'); * $redisCluster->sAdd('key1' , 'set1');
@ -814,7 +814,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return array All elements of the set. * @return array All elements of the set.
* @link http://redis.io/commands/smembers * @link https://redis.io/commands/smembers
* @example * @example
* <pre> * <pre>
* $redisCluster->del('s'); * $redisCluster->del('s');
@ -846,7 +846,7 @@ class RedisCluster {
* @param string $value * @param string $value
* *
* @return bool TRUE if value is a member of the set at key key, FALSE otherwise. * @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 * @example
* <pre> * <pre>
* $redisCluster->sAdd('key1' , 'set1'); * $redisCluster->sAdd('key1' , 'set1');
@ -869,7 +869,7 @@ class RedisCluster {
* @param string $valueN Optional value * @param string $valueN Optional value
* *
* @return int The number of elements added to the set * @return int The number of elements added to the set
* @link http://redis.io/commands/sadd * @link https://redis.io/commands/sadd
* @example * @example
* <pre> * <pre>
* $redisCluster->sAdd('k', 'v1'); // int(1) * $redisCluster->sAdd('k', 'v1'); // int(1)
@ -903,7 +903,7 @@ class RedisCluster {
* @param string $memberN * @param string $memberN
* *
* @return int The number of elements removed from the set. * @return int The number of elements removed from the set.
* @link http://redis.io/commands/srem * @link https://redis.io/commands/srem
* @example * @example
* <pre> * <pre>
* var_dump( $redisCluster->sAdd('k', 'v1', 'v2', 'v3') ); // int(3) * var_dump( $redisCluster->sAdd('k', 'v1', 'v2', 'v3') ); // int(3)
@ -925,7 +925,7 @@ class RedisCluster {
* @param string $keyN ... * @param string $keyN ...
* *
* @return array of strings: The union of all these sets. * @return array of strings: The union of all these sets.
* @link http://redis.io/commands/sunionstore * @link https://redis.io/commands/sunionstore
* @example * @example
* <pre> * <pre>
* $redisCluster->del('s0', 's1', 's2'); * $redisCluster->del('s0', 's1', 's2');
@ -964,7 +964,7 @@ class RedisCluster {
* @param string $keyN ... * @param string $keyN ...
* *
* @return int Any number of keys corresponding to sets in redis. * @return int Any number of keys corresponding to sets in redis.
* @link http://redis.io/commands/sunionstore * @link https://redis.io/commands/sunionstore
* @example * @example
* <pre> * <pre>
* $redisCluster->del('s0', 's1', 's2'); * $redisCluster->del('s0', 's1', 's2');
@ -1007,7 +1007,7 @@ class RedisCluster {
* *
* @return array contain the result of the intersection between those keys. * @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. * 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 * @example
* <pre> * <pre>
* $redisCluster->sAdd('key1', 'val1'); * $redisCluster->sAdd('key1', 'val1');
@ -1044,7 +1044,7 @@ class RedisCluster {
* @param string $keyN ... * @param string $keyN ...
* *
* @return int The cardinality of the resulting set, or FALSE in case of a missing key. * @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 * @example
* <pre> * <pre>
* $redisCluster->sAdd('key1', 'val1'); * $redisCluster->sAdd('key1', 'val1');
@ -1082,7 +1082,7 @@ class RedisCluster {
* @param string $keyN ... * @param string $keyN ...
* *
* @return array of strings: The difference of the first set will all the others. * @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 * @example
* <pre> * <pre>
* $redisCluster->del('s0', 's1', 's2'); * $redisCluster->del('s0', 's1', 's2');
@ -1118,7 +1118,7 @@ class RedisCluster {
* @param string $keyN ... * @param string $keyN ...
* *
* @return int The cardinality of the resulting set, or FALSE in case of a missing key. * @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 * @example
* <pre> * <pre>
* $redisCluster->del('s0', 's1', 's2'); * $redisCluster->del('s0', 's1', 's2');
@ -1155,7 +1155,7 @@ class RedisCluster {
* *
* @return string|array value(s) from the set * @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. * 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 * @example
* <pre> * <pre>
* $redisCluster->sAdd('key1' , 'one'); * $redisCluster->sAdd('key1' , 'one');
@ -1182,7 +1182,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return int * @return int
* @link http://redis.io/commands/strlen * @link https://redis.io/commands/strlen
* @example * @example
* <pre> * <pre>
* $redisCluster->set('key', 'value'); * $redisCluster->set('key', 'value');
@ -1197,7 +1197,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return bool TRUE if a timeout was removed, FALSE if the key didnt exist or didnt have an expiration timer. * @return bool TRUE if a timeout was removed, FALSE if the key didnt exist or didnt have an expiration timer.
* @link http://redis.io/commands/persist * @link https://redis.io/commands/persist
* @example $redisCluster->persist('key'); * @example $redisCluster->persist('key');
*/ */
public function persist($key) { } public function persist($key) { }
@ -1212,7 +1212,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return int the time left to live in seconds. * @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'); * @example $redisCluster->ttl('key');
*/ */
public function ttl($key) { } public function ttl($key) { }
@ -1227,7 +1227,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return int the time left to live in milliseconds. * @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'); * @example $redisCluster->pttl('key');
*/ */
public function pttl($key) { } public function pttl($key) { }
@ -1238,7 +1238,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return int the set's cardinality * @return int the set's cardinality
* @link http://redis.io/commands/zsize * @link https://redis.io/commands/zsize
* @example * @example
* <pre> * <pre>
* $redisCluster->zAdd('key', 0, 'val0'); * $redisCluster->zAdd('key', 0, 'val0');
@ -1259,7 +1259,7 @@ class RedisCluster {
* @param string $end * @param string $end
* *
* @return int the size of a corresponding zRangeByScore. * @return int the size of a corresponding zRangeByScore.
* @link http://redis.io/commands/zcount * @link https://redis.io/commands/zcount
* @example * @example
* <pre> * <pre>
* $redisCluster->zAdd('key', 0, 'val0'); * $redisCluster->zAdd('key', 0, 'val0');
@ -1278,7 +1278,7 @@ class RedisCluster {
* @param float|string $end 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 * @return int The number of values deleted from the sorted set
* @link http://redis.io/commands/zremrangebyscore * @link https://redis.io/commands/zremrangebyscore
* @example * @example
* <pre> * <pre>
* $redisCluster->zAdd('key', 0, 'val0'); * $redisCluster->zAdd('key', 0, 'val0');
@ -1296,7 +1296,7 @@ class RedisCluster {
* @param string $member * @param string $member
* *
* @return float * @return float
* @link http://redis.io/commands/zscore * @link https://redis.io/commands/zscore
* @example * @example
* <pre> * <pre>
* $redisCluster->zAdd('key', 2.5, 'val2'); * $redisCluster->zAdd('key', 2.5, 'val2');
@ -1317,7 +1317,7 @@ class RedisCluster {
* @param string $valueN Optional value * @param string $valueN Optional value
* *
* @return int Number of values added * @return int Number of values added
* @link http://redis.io/commands/zadd * @link https://redis.io/commands/zadd
* @example * @example
* <pre> * <pre>
* $redisCluster->zAdd('z', 1, 'v2', 2, 'v2', 3, 'v3', 4, 'v4' ); // int(3) * $redisCluster->zAdd('z', 1, 'v2', 2, 'v2', 3, 'v3', 4, 'v4' ); // int(3)
@ -1340,7 +1340,7 @@ class RedisCluster {
* @param string $member * @param string $member
* *
* @return float the new value * @return float the new value
* @link http://redis.io/commands/zincrby * @link https://redis.io/commands/zincrby
* @example * @example
* <pre> * <pre>
* $redisCluster->del('key'); * $redisCluster->del('key');
@ -1357,7 +1357,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return int the number of items in a hash, FALSE if the key doesn't exist or isn't a hash. * @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 * @example
* <pre> * <pre>
* $redisCluster->del('h'); * $redisCluster->del('h');
@ -1374,7 +1374,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return array An array of elements, the keys of the hash. This works like PHP's array_keys(). * @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 * @example
* <pre> * <pre>
* $redisCluster->del('h'); * $redisCluster->del('h');
@ -1407,7 +1407,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return array An array of elements, the values of the hash. This works like PHP's array_values(). * @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 * @example
* <pre> * <pre>
* $redisCluster->del('h'); * $redisCluster->del('h');
@ -1442,7 +1442,7 @@ class RedisCluster {
* @param string $hashKey * @param string $hashKey
* *
* @return string The value, if the command executed successfully BOOL FALSE in case of failure * @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 * @example
* <pre> * <pre>
* $redisCluster->del('h'); * $redisCluster->del('h');
@ -1458,7 +1458,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return array An array of elements, the contents of the hash. * @return array An array of elements, the contents of the hash.
* @link http://redis.io/commands/hgetall * @link https://redis.io/commands/hgetall
* @example * @example
* <pre> * <pre>
* $redisCluster->del('h'); * $redisCluster->del('h');
@ -1492,7 +1492,7 @@ class RedisCluster {
* @param string $hashKey * @param string $hashKey
* *
* @return bool If the member exists in the hash table, return TRUE, otherwise return FALSE. * @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 * @example
* <pre> * <pre>
* $redisCluster->hSet('h', 'a', 'x'); * $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 * @param int $value (integer) value that will be added to the member's value
* *
* @return int the new value * @return int the new value
* @link http://redis.io/commands/hincrby * @link https://redis.io/commands/hincrby
* @example * @example
* <pre> * <pre>
* $redisCluster->del('h'); * $redisCluster->del('h');
@ -1530,7 +1530,7 @@ class RedisCluster {
* @return int * @return int
* 1 if value didn't exist and was added successfully, * 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. * 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 * @example
* <pre> * <pre>
* $redisCluster->del('h') * $redisCluster->del('h')
@ -1551,7 +1551,7 @@ class RedisCluster {
* @param string $value * @param string $value
* *
* @return bool TRUE if the field was set, FALSE if it was already present. * @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 * @example
* <pre> * <pre>
* $redisCluster->del('h') * $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, * @return array Array An array of elements, the values of the specified fields in the hash,
* with the hash keys as array keys. * with the hash keys as array keys.
* @link http://redis.io/commands/hmget * @link https://redis.io/commands/hmget
* @example * @example
* <pre> * <pre>
* $redisCluster->del('h'); * $redisCluster->del('h');
@ -1590,7 +1590,7 @@ class RedisCluster {
* @param array $hashKeys key value array * @param array $hashKeys key value array
* *
* @return bool * @return bool
* @link http://redis.io/commands/hmset * @link https://redis.io/commands/hmset
* @example * @example
* <pre> * <pre>
* $redisCluster->del('user:1'); * $redisCluster->del('user:1');
@ -1610,7 +1610,7 @@ class RedisCluster {
* @param string $hashKeyN * @param string $hashKeyN
* *
* @return int Number of deleted fields * @return int Number of deleted fields
* @link http://redis.io/commands/hdel * @link https://redis.io/commands/hdel
* @example * @example
* <pre> * <pre>
* $redisCluster->hMSet('h', * $redisCluster->hMSet('h',
@ -1643,7 +1643,7 @@ class RedisCluster {
* @param float $increment * @param float $increment
* *
* @return float * @return float
* @link http://redis.io/commands/hincrbyfloat * @link https://redis.io/commands/hincrbyfloat
* @example * @example
* <pre> * <pre>
* $redisCluster->hset('h', 'float', 3); * $redisCluster->hset('h', 'float', 3);
@ -1671,7 +1671,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return string The Redis encoded value of the key, or FALSE if the key doesn't exist * @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 * @example
* <pre> * <pre>
* $redisCluster->set('foo', 'bar'); * $redisCluster->set('foo', 'bar');
@ -1688,7 +1688,7 @@ class RedisCluster {
* @param string $member * @param string $member
* *
* @return int the item's score. * @return int the item's score.
* @link http://redis.io/commands/zrank * @link https://redis.io/commands/zrank
* @example * @example
* <pre> * <pre>
* $redisCluster->del('z'); * $redisCluster->del('z');
@ -1709,7 +1709,7 @@ class RedisCluster {
* @param string $member * @param string $member
* *
* @return int the item's score * @return int the item's score
* @link http://redis.io/commands/zrevrank * @link https://redis.io/commands/zrevrank
*/ */
public function zRevRank($key, $member) { } public function zRevRank($key, $member) { }
@ -1719,7 +1719,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return int the new value * @return int the new value
* @link http://redis.io/commands/incr * @link https://redis.io/commands/incr
* @example * @example
* <pre> * <pre>
* $redisCluster->incr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value 1 * $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 * @param string $key
* *
* @return int the new value * @return int the new value
* @link http://redis.io/commands/decr * @link https://redis.io/commands/decr
* @example * @example
* <pre> * <pre>
* $redisCluster->decr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value -1 * $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) * @param int $value value that will be added to key (only for incrBy)
* *
* @return int the new value * @return int the new value
* @link http://redis.io/commands/incrby * @link https://redis.io/commands/incrby
* @example * @example
* <pre> * <pre>
* $redisCluster->incr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value 1 * $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) * @param int $value that will be substracted to key (only for decrBy)
* *
* @return int the new value * @return int the new value
* @link http://redis.io/commands/decrby * @link https://redis.io/commands/decrby
* @example * @example
* <pre> * <pre>
* $redisCluster->decr('key1'); // key1 didn't exists, set to 0 before the increment and now has the value -1 * $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 * @param float $increment
* *
* @return float * @return float
* @link http://redis.io/commands/incrbyfloat * @link https://redis.io/commands/incrbyfloat
* @example * @example
* <pre> * <pre>
* $redisCluster->set('x', 3); * $redisCluster->set('x', 3);
@ -1810,7 +1810,7 @@ class RedisCluster {
* @param int $ttl The key's remaining Time To Live, in seconds. * @param int $ttl The key's remaining Time To Live, in seconds.
* *
* @return bool TRUE in case of success, FALSE in case of failure. * @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 * @example
* <pre> * <pre>
* $redisCluster->set('x', '42'); * $redisCluster->set('x', '42');
@ -1828,7 +1828,7 @@ class RedisCluster {
* @param int $ttl The key's remaining Time To Live, in milliseconds. * @param int $ttl The key's remaining Time To Live, in milliseconds.
* *
* @return bool TRUE in case of success, FALSE in case of failure. * @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 * @example
* <pre> * <pre>
* $redisCluster->set('x', '42'); * $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. * @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. * @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 * @example
* <pre> * <pre>
* $redisCluster->set('x', '42'); * $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. * @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. * @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 * @example
* <pre> * <pre>
* $redisCluster->set('x', '42'); * $redisCluster->set('x', '42');
@ -1883,7 +1883,7 @@ class RedisCluster {
* @param string $value * @param string $value
* *
* @return int Size of the value after the append * @return int Size of the value after the append
* @link http://redis.io/commands/append * @link https://redis.io/commands/append
* @example * @example
* <pre> * <pre>
* $redisCluster->set('key', 'value1'); * $redisCluster->set('key', 'value1');
@ -1900,7 +1900,7 @@ class RedisCluster {
* @param int $offset * @param int $offset
* *
* @return int the bit value (0 or 1) * @return int the bit value (0 or 1)
* @link http://redis.io/commands/getbit * @link https://redis.io/commands/getbit
* @example * @example
* <pre> * <pre>
* $redisCluster->set('key', "\x7f"); // this is 0111 1111 * $redisCluster->set('key', "\x7f"); // this is 0111 1111
@ -1918,7 +1918,7 @@ class RedisCluster {
* @param bool|int $value bool or int (1 or 0) * @param bool|int $value bool or int (1 or 0)
* *
* @return int 0 or 1, the value of the bit before it was set. * @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 * @example
* <pre> * <pre>
* $redisCluster->set('key', "*"); // ord("*") = 42 = 0x2f = "0010 1010" * $redisCluster->set('key', "*"); // ord("*") = 42 = 0x2f = "0010 1010"
@ -1939,7 +1939,7 @@ class RedisCluster {
* @param string $key3 * @param string $key3
* *
* @return int The size of the string stored in the destination key. * @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 * @example
* <pre> * <pre>
* $redisCluster->set('bit1', '1'); // 11 0001 * $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 * 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 * 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. * 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 * @example
* <pre> * <pre>
* $redisCluster->set('key', '\xff\xff'); * $redisCluster->set('key', '\xff\xff');
@ -1993,7 +1993,7 @@ class RedisCluster {
* @param string $key * @param string $key
* *
* @return int The number of bits set to 1 in the value behind the input 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 * @example
* <pre> * <pre>
* $redisCluster->set('bit', '345'); // // 11 0011 0011 0100 0011 0101 * $redisCluster->set('bit', '345'); // // 11 0011 0011 0100 0011 0101
@ -2011,7 +2011,7 @@ class RedisCluster {
* @param string $key * @param string $key
* @param int $index * @param int $index
* *
* @link http://redis.io/commands/lindex * @link https://redis.io/commands/lindex
*/ */
public function lGet($key, $index) { } public function lGet($key, $index) { }
@ -2023,7 +2023,7 @@ class RedisCluster {
* @param int $end * @param int $end
* *
* @return string the substring * @return string the substring
* @link http://redis.io/commands/getrange * @link https://redis.io/commands/getrange
* @example * @example
* <pre> * <pre>
* $redisCluster->set('key', 'string value'); * $redisCluster->set('key', 'string value');
@ -2041,7 +2041,7 @@ class RedisCluster {
* @param int $stop * @param int $stop
* *
* @return array Bool return FALSE if the key identify a non-list value. * @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 * @example
* <pre> * <pre>
* $redisCluster->rPush('key1', 'A'); * $redisCluster->rPush('key1', 'A');
@ -2064,7 +2064,7 @@ class RedisCluster {
* @param int $end * @param int $end
* *
* @return array containing the values in specified range. * @return array containing the values in specified range.
* @link http://redis.io/commands/lrange * @link https://redis.io/commands/lrange
* @example * @example
* <pre> * <pre>
* $redisCluster->rPush('key1', 'A'); * $redisCluster->rPush('key1', 'A');
@ -2083,7 +2083,7 @@ class RedisCluster {
* @param int $end * @param int $end
* *
* @return int The number of values deleted from the sorted set * @return int The number of values deleted from the sorted set
* @link http://redis.io/commands/zremrangebyrank * @link https://redis.io/commands/zremrangebyrank
* @example * @example
* <pre> * <pre>
* $redisCluster->zAdd('key', 1, 'one'); * $redisCluster->zAdd('key', 1, 'one');
@ -2101,7 +2101,7 @@ class RedisCluster {
* @param string $channel a channel to publish to * @param string $channel a channel to publish to
* @param string $message string * @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 * @return int Number of clients that received the message
* @example $redisCluster->publish('chan-1', 'hello, world!'); // send message. * @example $redisCluster->publish('chan-1', 'hello, world!'); // send message.
*/ */
@ -2114,7 +2114,7 @@ class RedisCluster {
* @param string $dstKey * @param string $dstKey
* *
* @return bool TRUE in case of success, FALSE in case of failure. * @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 * @example
* <pre> * <pre>
* $redisCluster->set('x', '42'); * $redisCluster->set('x', '42');
@ -2135,7 +2135,7 @@ class RedisCluster {
* @param string $dstKey * @param string $dstKey
* *
* @return bool TRUE in case of success, FALSE in case of failure. * @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 * @example
* <pre> * <pre>
* $redisCluster->set('x', '42'); * $redisCluster->set('x', '42');
@ -2153,7 +2153,7 @@ class RedisCluster {
* @param string | array $key * @param string | array $key
* *
* @return int * @return int
* @link http://redis.io/commands/pfcount * @link https://redis.io/commands/pfcount
* @example * @example
* <pre> * <pre>
* $redisCluster->pfAdd('key1', array('elem1', 'elem2')); * $redisCluster->pfAdd('key1', array('elem1', 'elem2'));
@ -2170,7 +2170,7 @@ class RedisCluster {
* @param array $elements * @param array $elements
* *
* @return bool * @return bool
* @link http://redis.io/commands/pfadd * @link https://redis.io/commands/pfadd
* @example $redisCluster->pfAdd('key', array('elem1', 'elem2')) * @example $redisCluster->pfAdd('key', array('elem1', 'elem2'))
*/ */
public function pfAdd($key, array $elements) { } public function pfAdd($key, array $elements) { }
@ -2183,7 +2183,7 @@ class RedisCluster {
* @param array $sourceKeys * @param array $sourceKeys
* *
* @return bool * @return bool
* @link http://redis.io/commands/pfmerge * @link https://redis.io/commands/pfmerge
* @example * @example
* <pre> * <pre>
* $redisCluster->pfAdd('key1', array('elem1', 'elem2')); * $redisCluster->pfAdd('key1', array('elem1', 'elem2'));
@ -2201,7 +2201,7 @@ class RedisCluster {
* @param string $value * @param string $value
* *
* @return string the length of the string after it was modified. * @return string the length of the string after it was modified.
* @link http://redis.io/commands/setrange * @link https://redis.io/commands/setrange
* @example * @example
* <pre> * <pre>
* $redisCluster->set('key', 'Hello world'); * $redisCluster->set('key', 'Hello world');
@ -2219,7 +2219,7 @@ class RedisCluster {
* @param string $value (binary). The Redis encoded key value (from DUMP) * @param string $value (binary). The Redis encoded key value (from DUMP)
* *
* @return bool * @return bool
* @link http://redis.io/commands/restore * @link https://redis.io/commands/restore
* @example * @example
* <pre> * <pre>
* $redisCluster->set('foo', 'bar'); * $redisCluster->set('foo', 'bar');

View File

@ -2,7 +2,7 @@
/** /**
* Stubs for PECL/rrd extension * Stubs for PECL/rrd extension
* Description taken from official documenation * 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 <shader@dautkom.lv> * @author Olegs Capligins <shader@dautkom.lv>
*/ */

View File

@ -9,7 +9,7 @@
class SNMP { class SNMP {
/** /**
* @var int Maximum OID per GET/SET/GETBULK request * @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; public $max_oids;
@ -20,21 +20,21 @@ class SNMP {
* <dt>SNMP_VALUE_PLAIN <dd>The return values will be the plain value without the SNMP type hint. * <dt>SNMP_VALUE_PLAIN <dd>The return values will be the plain value without the SNMP type hint.
* <dt>SNMP_VALUE_OBJECT <dd>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 * <dt>SNMP_VALUE_OBJECT <dd>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
* <dl> * <dl>
* @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; public $valueretrieval;
/** /**
* @var bool Value of quick_print within the NET-SNMP library * @var bool Value of quick_print within the NET-SNMP library
* <p>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. * <p>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; public $quick_print;
/** /**
* @var bool Controls the way enum values are printed * @var bool Controls the way enum values are printed
* <p>Parameter toggles if walk/get etc. should automatically lookup enum values in the MIB and return them together with their human readable string. * <p>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; public $enum_print;
@ -49,26 +49,26 @@ class SNMP {
* <dt>SNMP_OID_OUTPUT_UCD <dd>system.sysUpTime.sysUpTimeInstance * <dt>SNMP_OID_OUTPUT_UCD <dd>system.sysUpTime.sysUpTimeInstance
* <dt>SNMP_OID_OUTPUT_NONE <dd>Undefined * <dt>SNMP_OID_OUTPUT_NONE <dd>Undefined
* </dl> * </dl>
* @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; public $oid_output_format;
/** /**
* @var bool Controls disabling check for increasing OID while walking OID tree * @var bool Controls disabling check for increasing OID while walking OID tree
* <p> 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 <b>FALSE</b> to disable this check. * <p> 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 <b>FALSE</b> 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; 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. * @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; public $exceptions_enabled;
/** /**
* @var array Read-only property with remote agent configuration: hostname, port, default timeout, default retries count * @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; public $info;

View File

@ -674,7 +674,7 @@ function socket_send ($socket, $buf, $len, $flags) {}
/** /**
* (PHP 5 &gt;=5.5.0)<br/> * (PHP 5 &gt;=5.5.0)<br/>
* Send a message * 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 resource $socket
* @param array $message * @param array $message
* @param int $flags * @param int $flags
@ -761,7 +761,7 @@ function socket_recvfrom ($socket, &$buf, $len, $flags, &$name, &$port = null) {
/** /**
* Read a message * 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 resource $socket
* @param string $message * @param string $message
* @param int $flags [optional] * @param int $flags [optional]

View File

@ -256,7 +256,7 @@ final class SolrInputDocument {
/** /**
* (PECL solr &gt;= 0.9.2)<br/> * (PECL solr &gt;= 0.9.2)<br/>
* Sets the index-time boost value for a field * 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 <p> * @param string $fieldName <p>
* The name of the field. * The name of the field.
* </p> * </p>