summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-16 09:07:43 +0200
committerRemi Collet <remi@php.net>2024-09-16 09:07:43 +0200
commit5b1e772c6b5e68509728752a7b963a89dc03baf5 (patch)
tree1fadbf7fc942f0e8b836b6b93206d66743ad6f26 /REFLECTION
parentce66a541e21323ade4904a8697a06158cd099678 (diff)
update to 6.1.0RC1
open https://github.com/phpredis/phpredis/pull/2532 missing file drop support for PHP < 7.4
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION116
1 files changed, 76 insertions, 40 deletions
diff --git a/REFLECTION b/REFLECTION
index a69a648..74d6e30 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #122 redis version 6.0.2 ] {
+Extension [ <persistent> extension #107 redis version 6.1.0RC1 ] {
- Dependencies {
Dependency [ igbinary (Required) ]
@@ -104,12 +104,18 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
Entry [ redis.session.early_refresh <ALL> ]
Current = '0'
}
+ Entry [ redis.session.compression <ALL> ]
+ Current = 'none'
+ }
+ Entry [ redis.session.compression_level <ALL> ]
+ Current = '3'
+ }
}
- Classes [6] {
Class [ <internal:redis> class Redis ] {
- - Constants [49] {
+ - Constants [50] {
Constant [ public int REDIS_NOT_FOUND ] { 0 }
Constant [ public int REDIS_STRING ] { 1 }
Constant [ public int REDIS_SET ] { 2 }
@@ -137,6 +143,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
Constant [ public int COMPRESSION_LZF ] { 1 }
Constant [ public int COMPRESSION_ZSTD ] { 2 }
Constant [ public int COMPRESSION_ZSTD_DEFAULT ] { 3 }
+ Constant [ public int COMPRESSION_ZSTD_MIN ] { -131072 }
Constant [ public int COMPRESSION_ZSTD_MAX ] { 22 }
Constant [ public int COMPRESSION_LZ4 ] { 3 }
Constant [ public int OPT_SCAN ] { 4 }
@@ -170,7 +177,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Properties [0] {
}
- - Methods [254] {
+ - Methods [255] {
Method [ <internal:redis, ctor> public method __construct ] {
- Parameters [1] {
@@ -280,6 +287,16 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Return [ Redis|bool ]
}
+ Method [ <internal:redis> public method waitaof ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $numlocal ]
+ Parameter #1 [ <required> int $numreplicas ]
+ Parameter #2 [ <required> int $timeout ]
+ }
+ - Return [ Redis|array|false ]
+ }
+
Method [ <internal:redis> public method bitcount ] {
- Parameters [4] {
@@ -535,7 +552,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [1] {
Parameter #0 [ <required> string $key ]
}
- - Return [ Redis|string ]
+ - Return [ Redis|string|false ]
}
Method [ <internal:redis> public method echo ] {
@@ -1055,15 +1072,14 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
Parameter #0 [ <required> string $key ]
Parameter #1 [ <optional> ?array $options = null ]
}
- - Return [ Redis|array|string ]
+ - Return [ Redis|array|string|false ]
}
Method [ <internal:redis> public method hSet ] {
- - Parameters [3] {
+ - Parameters [2] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> string $member ]
- Parameter #2 [ <required> mixed $value ]
+ Parameter #1 [ <optional> mixed ...$fields_and_vals ]
}
- Return [ Redis|int|false ]
}
@@ -1073,7 +1089,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [3] {
Parameter #0 [ <required> string $key ]
Parameter #1 [ <required> string $field ]
- Parameter #2 [ <required> string $value ]
+ Parameter #2 [ <required> mixed $value ]
}
- Return [ Redis|bool ]
}
@@ -1099,7 +1115,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [4] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> ?int &$iterator ]
+ Parameter #1 [ <required> string|int|null &$iterator ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
}
@@ -1312,7 +1328,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [1] {
Parameter #0 [ <required> array $keys ]
}
- - Return [ Redis|array ]
+ - Return [ Redis|array|false ]
}
Method [ <internal:redis> public method migrate ] {
@@ -1721,7 +1737,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
Parameter #0 [ <required> string $key ]
Parameter #1 [ <optional> int $count = 0 ]
}
- - Return [ Redis|array|string|false ]
+ - Return [ mixed ]
}
Method [ <internal:redis> public method sUnion ] {
@@ -1753,7 +1769,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
Method [ <internal:redis> public method scan ] {
- Parameters [4] {
- Parameter #0 [ <required> ?int &$iterator ]
+ Parameter #0 [ <required> string|int|null &$iterator ]
Parameter #1 [ <optional> ?string $pattern = null ]
Parameter #2 [ <optional> int $count = 0 ]
Parameter #3 [ <optional> ?string $type = null ]
@@ -1972,7 +1988,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [4] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> ?int &$iterator ]
+ Parameter #1 [ <required> string|int|null &$iterator ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
}
@@ -2269,8 +2285,8 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [3] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> string $start ]
- Parameter #2 [ <required> string $end ]
+ Parameter #1 [ <required> string|int $start ]
+ Parameter #2 [ <required> string|int $end ]
}
- Return [ Redis|int|false ]
}
@@ -2531,7 +2547,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [4] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> ?int &$iterator ]
+ Parameter #1 [ <required> string|int|null &$iterator ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
}
@@ -2672,7 +2688,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [0] {
}
- - Return [ ?bool ]
+ - Return [ array|bool|null ]
}
Method [ <internal:redis> public method flushall ] {
@@ -2701,7 +2717,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [4] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> ?int &$iterator ]
+ Parameter #1 [ <required> string|int|null &$iterator ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
}
@@ -2765,7 +2781,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
Method [ <internal:redis> public method scan ] {
- Parameters [4] {
- Parameter #0 [ <required> ?int &$iterator ]
+ Parameter #0 [ <required> string|int|null &$iterator ]
Parameter #1 [ <required> string $node ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
@@ -2794,7 +2810,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [4] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> ?int &$iterator ]
+ Parameter #1 [ <required> string|int|null &$iterator ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
}
@@ -2821,7 +2837,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [4] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> ?int &$iterator ]
+ Parameter #1 [ <required> string|int|null &$iterator ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
}
@@ -2849,7 +2865,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Properties [0] {
}
- - Methods [222] {
+ - Methods [224] {
Method [ <internal:redis, ctor> public method __construct ] {
- Parameters [7] {
@@ -2960,6 +2976,17 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Return [ RedisCluster|bool ]
}
+ Method [ <internal:redis> public method waitaof ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> array|string $key_or_address ]
+ Parameter #1 [ <required> int $numlocal ]
+ Parameter #2 [ <required> int $numreplicas ]
+ Parameter #3 [ <required> int $timeout ]
+ }
+ - Return [ RedisCluster|array|false ]
+ }
+
Method [ <internal:redis> public method bgsave ] {
- Parameters [1] {
@@ -3129,7 +3156,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [3] {
Parameter #0 [ <required> array|string $key_or_address ]
Parameter #1 [ <required> string $subcommand ]
- Parameter #2 [ <optional> ?string $arg = NULL ]
+ Parameter #2 [ <optional> ?string $arg = null ]
}
- Return [ array|string|bool ]
}
@@ -3317,7 +3344,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [3] {
Parameter #0 [ <required> string $key ]
Parameter #1 [ <required> int $timeout ]
- Parameter #2 [ <optional> ?string $mode = NULL ]
+ Parameter #2 [ <optional> ?string $mode = null ]
}
- Return [ RedisCluster|bool ]
}
@@ -3327,7 +3354,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [3] {
Parameter #0 [ <required> string $key ]
Parameter #1 [ <required> int $timestamp ]
- Parameter #2 [ <optional> ?string $mode = NULL ]
+ Parameter #2 [ <optional> ?string $mode = null ]
}
- Return [ RedisCluster|bool ]
}
@@ -3492,6 +3519,15 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Return [ mixed ]
}
+ Method [ <internal:redis> public method getex ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> array $options = [] ]
+ }
+ - Return [ RedisCluster|string|false ]
+ }
+
Method [ <internal:redis> public method getbit ] {
- Parameters [2] {
@@ -3538,7 +3574,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [3] {
Parameter #0 [ <required> string $key1 ]
Parameter #1 [ <required> string $key2 ]
- Parameter #2 [ <optional> ?array $options = NULL ]
+ Parameter #2 [ <optional> ?array $options = null ]
}
- Return [ RedisCluster|array|string|int|false ]
}
@@ -3660,7 +3696,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [4] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> ?int &$iterator ]
+ Parameter #1 [ <required> string|int|null &$iterator ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
}
@@ -3934,7 +3970,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [3] {
Parameter #0 [ <required> string $key ]
Parameter #1 [ <required> int $timeout ]
- Parameter #2 [ <optional> ?string $mode = NULL ]
+ Parameter #2 [ <optional> ?string $mode = null ]
}
- Return [ RedisCluster|bool ]
}
@@ -3944,7 +3980,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [3] {
Parameter #0 [ <required> string $key ]
Parameter #1 [ <required> int $timestamp ]
- Parameter #2 [ <optional> ?string $mode = NULL ]
+ Parameter #2 [ <optional> ?string $mode = null ]
}
- Return [ RedisCluster|bool ]
}
@@ -3979,7 +4015,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [2] {
Parameter #0 [ <required> array|string $key_or_address ]
- Parameter #1 [ <optional> ?string $message = NULL ]
+ Parameter #1 [ <optional> ?string $message = null ]
}
- Return [ mixed ]
}
@@ -4017,7 +4053,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
Parameter #0 [ <required> string $channel ]
Parameter #1 [ <required> string $message ]
}
- - Return [ RedisCluster|bool ]
+ - Return [ RedisCluster|int|bool ]
}
Method [ <internal:redis> public method pubsub ] {
@@ -4080,7 +4116,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
Parameter #0 [ <required> string $key ]
Parameter #1 [ <required> int $timeout ]
Parameter #2 [ <required> string $value ]
- Parameter #3 [ <optional> ?array $options = NULL ]
+ Parameter #3 [ <optional> ?array $options = null ]
}
- Return [ RedisCluster|bool ]
}
@@ -4159,7 +4195,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
Method [ <internal:redis> public method scan ] {
- Parameters [4] {
- Parameter #0 [ <required> ?int &$iterator ]
+ Parameter #0 [ <required> string|int|null &$iterator ]
Parameter #1 [ <required> array|string $key_or_address ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
@@ -4338,7 +4374,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [2] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <optional> ?array $options = NULL ]
+ Parameter #1 [ <optional> ?array $options = null ]
}
- Return [ RedisCluster|array|string|int|bool ]
}
@@ -4347,7 +4383,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [2] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <optional> ?array $options = NULL ]
+ Parameter #1 [ <optional> ?array $options = null ]
}
- Return [ RedisCluster|array|string|int|bool ]
}
@@ -4384,7 +4420,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [4] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> ?int &$iterator ]
+ Parameter #1 [ <required> string|int|null &$iterator ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
}
@@ -4879,7 +4915,7 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [4] {
Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> ?int &$iterator ]
+ Parameter #1 [ <required> string|int|null &$iterator ]
Parameter #2 [ <optional> ?string $pattern = null ]
Parameter #3 [ <optional> int $count = 0 ]
}
@@ -4910,8 +4946,8 @@ Extension [ <persistent> extension #122 redis version 6.0.2 ] {
- Parameters [4] {
Parameter #0 [ <required> string $dst ]
Parameter #1 [ <required> array $keys ]
- Parameter #2 [ <optional> ?array $weights = NULL ]
- Parameter #3 [ <optional> ?string $aggregate = NULL ]
+ Parameter #2 [ <optional> ?array $weights = null ]
+ Parameter #3 [ <optional> ?string $aggregate = null ]
}
- Return [ RedisCluster|int|false ]
}