From 22d845386efed534eba8fa540fc0256dd77b06db Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 20 Jun 2019 15:35:54 +0200 Subject: - update to 5.0.0RC1 - rename to php-pecl-redis5 - raise dependency on PHP 7 - enable msgpack support - enable json support - update configuration for new options - open https://github.com/phpredis/phpredis/pull/1578 fix extension dependencies and report about json serializer --- REFLECTION | 371 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 191 insertions(+), 180 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 52000c6..415e43a 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #197 redis version 4.3.0 ] { +Extension [ extension #198 redis version 5.0.0RC1 ] { - Dependencies { Dependency [ igbinary (Required) ] @@ -51,6 +51,9 @@ Extension [ extension #197 redis version 4.3.0 ] { Entry [ redis.arrays.consistent ] Current = '0' } + Entry [ redis.clusters.cache_slots ] + Current = '0' + } Entry [ redis.clusters.auth ] Current = '' } @@ -67,7 +70,7 @@ Extension [ extension #197 redis version 4.3.0 ] { Current = '0' } Entry [ redis.pconnect.pooling_enabled ] - Current = '0' + Current = '1' } Entry [ redis.pconnect.connection_limit ] Current = '0' @@ -89,13 +92,14 @@ Extension [ extension #197 redis version 4.3.0 ] { - Classes [5] { Class [ class Redis ] { - - Constants [24] { + - Constants [28] { Constant [ public integer REDIS_NOT_FOUND ] { 0 } Constant [ public integer REDIS_STRING ] { 1 } Constant [ public integer REDIS_SET ] { 2 } Constant [ public integer REDIS_LIST ] { 3 } Constant [ public integer REDIS_ZSET ] { 4 } Constant [ public integer REDIS_HASH ] { 5 } + Constant [ public integer REDIS_STREAM ] { 6 } Constant [ public integer PIPELINE ] { 2 } Constant [ public integer ATOMIC ] { 0 } Constant [ public integer MULTI ] { 1 } @@ -104,9 +108,12 @@ Extension [ extension #197 redis version 4.3.0 ] { Constant [ public integer OPT_READ_TIMEOUT ] { 3 } Constant [ public integer OPT_TCP_KEEPALIVE ] { 6 } Constant [ public integer OPT_COMPRESSION ] { 7 } + Constant [ public integer OPT_REPLY_LITERAL ] { 8 } Constant [ public integer SERIALIZER_NONE ] { 0 } Constant [ public integer SERIALIZER_PHP ] { 1 } Constant [ public integer SERIALIZER_IGBINARY ] { 2 } + Constant [ public integer SERIALIZER_MSGPACK ] { 3 } + Constant [ public integer SERIALIZER_JSON ] { 4 } Constant [ public integer COMPRESSION_NONE ] { 0 } Constant [ public integer COMPRESSION_LZF ] { 1 } Constant [ public integer OPT_SCAN ] { 4 } @@ -332,7 +339,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method delete ] { + Method [ public method del ] { - Parameters [2] { Parameter #0 [ $key ] @@ -392,6 +399,14 @@ Extension [ extension #197 redis version 4.3.0 ] { } } + Method [ public method expire ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $timeout ] + } + } + Method [ public method expireAt ] { - Parameters [2] { @@ -532,13 +547,6 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method getKeys ] { - - - Parameters [1] { - Parameter #0 [ $pattern ] - } - } - Method [ public method getLastError ] { - Parameters [0] { @@ -551,13 +559,6 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method getMultiple ] { - - - Parameters [1] { - Parameter #0 [ array $keys ] - } - } - Method [ public method getOption ] { - Parameters [1] { @@ -765,20 +766,10 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method lGet ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $index ] - } - } - - Method [ public method lGetRange ] { + Method [ public method keys ] { - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] + - Parameters [1] { + Parameter #0 [ $pattern ] } } @@ -792,6 +783,13 @@ Extension [ extension #197 redis version 4.3.0 ] { } } + Method [ public method lLen ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + Method [ public method lPop ] { - Parameters [1] { @@ -815,38 +813,48 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method lRemove ] { + Method [ public method lSet ] { - Parameters [3] { Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $count ] + Parameter #1 [ $index ] + Parameter #2 [ $value ] } } - Method [ public method lSet ] { + Method [ public method lastSave ] { - - Parameters [3] { + - Parameters [0] { + } + } + + Method [ public method lindex ] { + + - Parameters [2] { Parameter #0 [ $key ] Parameter #1 [ $index ] - Parameter #2 [ $value ] } } - Method [ public method lSize ] { + Method [ public method lrange ] { - - Parameters [1] { + - Parameters [3] { Parameter #0 [ $key ] + Parameter #1 [ $start ] + Parameter #2 [ $end ] } } - Method [ public method lastSave ] { + Method [ public method lrem ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + Parameter #2 [ $count ] } } - Method [ public method listTrim ] { + Method [ public method ltrim ] { - Parameters [3] { Parameter #0 [ $key ] @@ -855,6 +863,13 @@ Extension [ extension #197 redis version 4.3.0 ] { } } + Method [ public method mget ] { + + - Parameters [1] { + Parameter #0 [ array $keys ] + } + } + Method [ public method migrate ] { - Parameters [7] { @@ -1057,7 +1072,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method renameKey ] { + Method [ public method rename ] { - Parameters [2] { Parameter #0 [ $key ] @@ -1112,14 +1127,6 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method sContains ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - Method [ public method sDiff ] { - Parameters [2] { @@ -1185,22 +1192,6 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method sRemove ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ ...$other_members ] - } - } - - Method [ public method sSize ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - Method [ public method sUnion ] { - Parameters [2] { @@ -1233,6 +1224,13 @@ Extension [ extension #197 redis version 4.3.0 ] { } } + Method [ public method scard ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + Method [ public method script ] { - Parameters [2] { @@ -1283,14 +1281,6 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method setTimeout ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $timeout ] - } - } - Method [ public method setex ] { - Parameters [3] { @@ -1308,6 +1298,14 @@ Extension [ extension #197 redis version 4.3.0 ] { } } + Method [ public method sismember ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + } + } + Method [ public method slaveof ] { - Parameters [2] { @@ -1332,7 +1330,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method sortAsc ] { + Method [ public method sortAsc ] { - Parameters [6] { Parameter #0 [ $key ] @@ -1344,7 +1342,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method sortAscAlpha ] { + Method [ public method sortAscAlpha ] { - Parameters [6] { Parameter #0 [ $key ] @@ -1356,7 +1354,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method sortDesc ] { + Method [ public method sortDesc ] { - Parameters [6] { Parameter #0 [ $key ] @@ -1368,7 +1366,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method sortDescAlpha ] { + Method [ public method sortDescAlpha ] { - Parameters [6] { Parameter #0 [ $key ] @@ -1380,6 +1378,15 @@ Extension [ extension #197 redis version 4.3.0 ] { } } + Method [ public method srem ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $member ] + Parameter #2 [ ...$other_members ] + } + } + Method [ public method sscan ] { - Parameters [4] { @@ -1624,25 +1631,16 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zDelete ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ ...$other_members ] - } - } - - Method [ public method zDeleteRangeByRank ] { + Method [ public method zIncrBy ] { - Parameters [3] { Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] + Parameter #1 [ $value ] + Parameter #2 [ $member ] } } - Method [ public method zDeleteRangeByScore ] { + Method [ public method zLexCount ] { - Parameters [3] { Parameter #0 [ $key ] @@ -1651,31 +1649,17 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zIncrBy ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $member ] - } - } - - Method [ public method zInter ] { + Method [ public method zPopMax ] { - - Parameters [4] { + - Parameters [1] { Parameter #0 [ $key ] - Parameter #1 [ array $keys ] - Parameter #2 [ array or NULL $weights ] - Parameter #3 [ $aggregate ] } } - Method [ public method zLexCount ] { + Method [ public method zPopMin ] { - - Parameters [3] { + - Parameters [1] { Parameter #0 [ $key ] - Parameter #1 [ $min ] - Parameter #2 [ $max ] } } @@ -1718,6 +1702,15 @@ Extension [ extension #197 redis version 4.3.0 ] { } } + Method [ public method zRem ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $member ] + Parameter #2 [ ...$other_members ] + } + } + Method [ public method zRemRangeByLex ] { - Parameters [3] { @@ -1727,6 +1720,24 @@ Extension [ extension #197 redis version 4.3.0 ] { } } + Method [ public method zRemRangeByRank ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $start ] + Parameter #2 [ $end ] + } + } + + Method [ public method zRemRangeByScore ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $min ] + Parameter #2 [ $max ] + } + } + Method [ public method zRevRange ] { - Parameters [4] { @@ -1774,7 +1785,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zUnion ] { + Method [ public method zinterstore ] { - Parameters [4] { Parameter #0 [ $key ] @@ -1794,21 +1805,17 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zPopMax ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method zPopMin ] { + Method [ public method zunionstore ] { - - Parameters [1] { + - Parameters [4] { Parameter #0 [ $key ] + Parameter #1 [ array $keys ] + Parameter #2 [ array or NULL $weights ] + Parameter #3 [ $aggregate ] } } - Method [ public method del ] { + Method [ public method delete ] { - Parameters [2] { Parameter #0 [ $key ] @@ -1816,7 +1823,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method evaluate ] { + Method [ public method evaluate ] { - Parameters [3] { Parameter #0 [ $script ] @@ -1825,7 +1832,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method evaluateSha ] { + Method [ public method evaluateSha ] { - Parameters [3] { Parameter #0 [ $script_sha ] @@ -1834,29 +1841,21 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method expire ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $timeout ] - } - } - - Method [ public method keys ] { + Method [ public method getKeys ] { - Parameters [1] { Parameter #0 [ $pattern ] } } - Method [ public method lLen ] { + Method [ public method getMultiple ] { - Parameters [1] { - Parameter #0 [ $key ] + Parameter #0 [ array $keys ] } } - Method [ public method lindex ] { + Method [ public method lGet ] { - Parameters [2] { Parameter #0 [ $key ] @@ -1864,7 +1863,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method lrange ] { + Method [ public method lGetRange ] { - Parameters [3] { Parameter #0 [ $key ] @@ -1873,7 +1872,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method lrem ] { + Method [ public method lRemove ] { - Parameters [3] { Parameter #0 [ $key ] @@ -1882,23 +1881,23 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method ltrim ] { + Method [ public method lSize ] { - - Parameters [3] { + - Parameters [1] { Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $stop ] } } - Method [ public method mget ] { + Method [ public method listTrim ] { - - Parameters [1] { - Parameter #0 [ array $keys ] + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $start ] + Parameter #2 [ $stop ] } } - Method [ public method open ] { + Method [ public method open ] { - Parameters [4] { Parameter #0 [ $host ] @@ -1908,7 +1907,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method popen ] { + Method [ public method popen ] { - Parameters [3] { Parameter #0 [ $host ] @@ -1917,7 +1916,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method rename ] { + Method [ public method renameKey ] { - Parameters [2] { Parameter #0 [ $key ] @@ -1925,45 +1924,53 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method sGetMembers ] { + Method [ public method sContains ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $key ] + Parameter #1 [ $value ] } } - Method [ public method scard ] { + Method [ public method sGetMembers ] { - Parameters [1] { Parameter #0 [ $key ] } } - Method [ public method sendEcho ] { + Method [ public method sRemove ] { - - Parameters [1] { - Parameter #0 [ $msg ] + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $member ] + Parameter #2 [ ...$other_members ] } } - Method [ public method sismember ] { + Method [ public method sSize ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ $key ] - Parameter #1 [ $value ] } } - Method [ public method srem ] { + Method [ public method sendEcho ] { - - Parameters [3] { + - Parameters [1] { + Parameter #0 [ $msg ] + } + } + + Method [ public method setTimeout ] { + + - Parameters [2] { Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ ...$other_members ] + Parameter #1 [ $timeout ] } } - Method [ public method substr ] { + Method [ public method substr ] { - Parameters [3] { Parameter #0 [ $key ] @@ -1972,7 +1979,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zRem ] { + Method [ public method zDelete ] { - Parameters [3] { Parameter #0 [ $key ] @@ -1981,7 +1988,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zRemRangeByRank ] { + Method [ public method zDeleteRangeByRank ] { - Parameters [3] { Parameter #0 [ $key ] @@ -1990,7 +1997,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zRemRangeByScore ] { + Method [ public method zDeleteRangeByScore ] { - Parameters [3] { Parameter #0 [ $key ] @@ -1999,7 +2006,17 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zRemove ] { + Method [ public method zInter ] { + + - Parameters [4] { + Parameter #0 [ $key ] + Parameter #1 [ array $keys ] + Parameter #2 [ array or NULL $weights ] + Parameter #3 [ $aggregate ] + } + } + + Method [ public method zRemove ] { - Parameters [3] { Parameter #0 [ $key ] @@ -2008,7 +2025,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zRemoveRangeByScore ] { + Method [ public method zRemoveRangeByScore ] { - Parameters [3] { Parameter #0 [ $key ] @@ -2017,7 +2034,7 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zReverseRange ] { + Method [ public method zReverseRange ] { - Parameters [4] { Parameter #0 [ $key ] @@ -2027,24 +2044,14 @@ Extension [ extension #197 redis version 4.3.0 ] { } } - Method [ public method zSize ] { + Method [ public method zSize ] { - Parameters [1] { Parameter #0 [ $key ] } } - Method [ public method zinterstore ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ array $keys ] - Parameter #2 [ array or NULL $weights ] - Parameter #3 [ $aggregate ] - } - } - - Method [ public method zunionstore ] { + Method [ public method zUnion ] { - Parameters [4] { Parameter #0 [ $key ] @@ -2270,13 +2277,14 @@ Extension [ extension #197 redis version 4.3.0 ] { Class [ class RedisCluster ] { - - Constants [28] { + - Constants [32] { Constant [ public integer REDIS_NOT_FOUND ] { 0 } Constant [ public integer REDIS_STRING ] { 1 } Constant [ public integer REDIS_SET ] { 2 } Constant [ public integer REDIS_LIST ] { 3 } Constant [ public integer REDIS_ZSET ] { 4 } Constant [ public integer REDIS_HASH ] { 5 } + Constant [ public integer REDIS_STREAM ] { 6 } Constant [ public integer ATOMIC ] { 0 } Constant [ public integer MULTI ] { 1 } Constant [ public integer OPT_SERIALIZER ] { 1 } @@ -2284,9 +2292,12 @@ Extension [ extension #197 redis version 4.3.0 ] { Constant [ public integer OPT_READ_TIMEOUT ] { 3 } Constant [ public integer OPT_TCP_KEEPALIVE ] { 6 } Constant [ public integer OPT_COMPRESSION ] { 7 } + Constant [ public integer OPT_REPLY_LITERAL ] { 8 } Constant [ public integer SERIALIZER_NONE ] { 0 } Constant [ public integer SERIALIZER_PHP ] { 1 } Constant [ public integer SERIALIZER_IGBINARY ] { 2 } + Constant [ public integer SERIALIZER_MSGPACK ] { 3 } + Constant [ public integer SERIALIZER_JSON ] { 4 } Constant [ public integer COMPRESSION_NONE ] { 0 } Constant [ public integer COMPRESSION_LZF ] { 1 } Constant [ public integer OPT_SCAN ] { 4 } -- cgit