diff options
author | Remi Collet <remi@remirepo.net> | 2018-02-07 10:37:53 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-02-07 10:37:53 +0100 |
commit | 3cf12039fdd76ff7d89350de40350fb9bd1ed598 (patch) | |
tree | 9abf4828be01a8638fad4108de06b27561dfcbec | |
parent | d922455b8afc70ddbca5aab656491acb547c8884 (diff) |
update to 4.0.0RC1
rename to php-pecl-redis4
enable lzf support
update configuration for new options
-rw-r--r-- | REFLECTION | 2898 | ||||
-rw-r--r-- | php-pecl-redis4.spec | 74 |
2 files changed, 2508 insertions, 464 deletions
@@ -1,43 +1,64 @@ -Extension [ <persistent> extension #185 redis version 3.1.6 ] { +Extension [ <persistent> extension #188 redis version 4.0.0RC1 ] { - Dependencies { Dependency [ igbinary (Required) ] } - INI { - Entry [ redis.arrays.names <ALL> ] + Entry [ redis.arrays.autorehash <ALL> ] Current = '' } - Entry [ redis.arrays.hosts <ALL> ] + Entry [ redis.arrays.connecttimeout <ALL> ] Current = '' } - Entry [ redis.arrays.previous <ALL> ] + Entry [ redis.arrays.distributor <ALL> ] Current = '' } Entry [ redis.arrays.functions <ALL> ] Current = '' } + Entry [ redis.arrays.hosts <ALL> ] + Current = '' + } Entry [ redis.arrays.index <ALL> ] Current = '' } - Entry [ redis.arrays.autorehash <ALL> ] + Entry [ redis.arrays.lazyconnect <ALL> ] Current = '' } - Entry [ redis.clusters.seeds <ALL> ] + Entry [ redis.arrays.names <ALL> ] Current = '' } - Entry [ redis.clusters.timeout <ALL> ] + Entry [ redis.arrays.pconnect <ALL> ] + Current = '' + } + Entry [ redis.arrays.previous <ALL> ] + Current = '' + } + Entry [ redis.arrays.readtimeout <ALL> ] + Current = '' + } + Entry [ redis.arrays.retryinterval <ALL> ] + Current = '' + } + Entry [ redis.clusters.persistent <ALL> ] Current = '' } Entry [ redis.clusters.read_timeout <ALL> ] Current = '' } + Entry [ redis.clusters.seeds <ALL> ] + Current = '' + } + Entry [ redis.clusters.timeout <ALL> ] + Current = '' + } } - Classes [5] { Class [ <internal:redis> class Redis ] { - - Constants [20] { + - Constants [24] { Constant [ public integer REDIS_NOT_FOUND ] { 0 } Constant [ public integer REDIS_STRING ] { 1 } Constant [ public integer REDIS_SET ] { 2 } @@ -50,9 +71,13 @@ Extension [ <persistent> extension #185 redis version 3.1.6 ] { Constant [ public integer OPT_SERIALIZER ] { 1 } Constant [ public integer OPT_PREFIX ] { 2 } Constant [ public integer OPT_READ_TIMEOUT ] { 3 } + Constant [ public integer OPT_TCP_KEEPALIVE ] { 6 } + Constant [ public integer OPT_COMPRESSION ] { 7 } Constant [ public integer SERIALIZER_NONE ] { 0 } Constant [ public integer SERIALIZER_PHP ] { 1 } Constant [ public integer SERIALIZER_IGBINARY ] { 2 } + Constant [ public integer COMPRESSION_NONE ] { 0 } + Constant [ public integer COMPRESSION_LZF ] { 1 } Constant [ public integer OPT_SCAN ] { 4 } Constant [ public integer SCAN_RETRY ] { 1 } Constant [ public integer SCAN_NORETRY ] { 0 } @@ -69,482 +94,1217 @@ Extension [ <persistent> extension #185 redis version 3.1.6 ] { - Properties [0] { } - - Methods [213] { + - Methods [215] { Method [ <internal:redis, ctor> public method __construct ] { + + - Parameters [0] { + } } Method [ <internal:redis, dtor> public method __destruct ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method connect ] { + Method [ <internal:redis> public method _prefix ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method pconnect ] { + Method [ <internal:redis> public method _serialize ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } } - Method [ <internal:redis> public method close ] { + Method [ <internal:redis> public method _unserialize ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } } - Method [ <internal:redis> public method ping ] { + Method [ <internal:redis> public method append ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method echo ] { + Method [ <internal:redis> public method auth ] { + + - Parameters [1] { + Parameter #0 [ <required> $password ] + } } - Method [ <internal:redis> public method get ] { + Method [ <internal:redis> public method bgSave ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method set ] { + Method [ <internal:redis> public method bgrewriteaof ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method setex ] { + Method [ <internal:redis> public method bitcount ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method psetex ] { + Method [ <internal:redis> public method bitop ] { + + - Parameters [4] { + Parameter #0 [ <required> $operation ] + Parameter #1 [ <required> $ret_key ] + Parameter #2 [ <required> $key ] + Parameter #3 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method setnx ] { + Method [ <internal:redis> public method bitpos ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $bit ] + Parameter #2 [ <optional> $start ] + Parameter #3 [ <optional> $end ] + } } - Method [ <internal:redis> public method getSet ] { + Method [ <internal:redis> public method blPop ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timeout_or_key ] + Parameter #2 [ <optional> ...$extra_args ] + } } - Method [ <internal:redis> public method randomKey ] { + Method [ <internal:redis> public method brPop ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timeout_or_key ] + Parameter #2 [ <optional> ...$extra_args ] + } } - Method [ <internal:redis> public method renameKey ] { + Method [ <internal:redis> public method brpoplpush ] { + + - Parameters [3] { + Parameter #0 [ <required> $src ] + Parameter #1 [ <required> $dst ] + Parameter #2 [ <required> $timeout ] + } } - Method [ <internal:redis> public method renameNx ] { + Method [ <internal:redis> public method clearLastError ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method getMultiple ] { + Method [ <internal:redis> public method client ] { + + - Parameters [2] { + Parameter #0 [ <required> $cmd ] + Parameter #1 [ <optional> ...$args ] + } } - Method [ <internal:redis> public method exists ] { + Method [ <internal:redis> public method close ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method delete ] { + Method [ <internal:redis> public method command ] { + + - Parameters [1] { + Parameter #0 [ <optional> ...$args ] + } } - Method [ <internal:redis> public method incr ] { + Method [ <internal:redis> public method config ] { + + - Parameters [3] { + Parameter #0 [ <required> $cmd ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <optional> $value ] + } } - Method [ <internal:redis> public method incrBy ] { + Method [ <internal:redis> public method connect ] { + + - Parameters [4] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <optional> $timeout ] + Parameter #3 [ <optional> $retry_interval ] + } } - Method [ <internal:redis> public method incrByFloat ] { + Method [ <internal:redis> public method dbSize ] { + + - Parameters [0] { + } + } + + Method [ <internal:redis> public method debug ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } Method [ <internal:redis> public method decr ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } Method [ <internal:redis> public method decrBy ] { - } - Method [ <internal:redis> public method type ] { + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method append ] { - } + Method [ <internal:redis> public method delete ] { - Method [ <internal:redis> public method getRange ] { + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method setRange ] { - } + Method [ <internal:redis> public method discard ] { - Method [ <internal:redis> public method getBit ] { + - Parameters [0] { + } } - Method [ <internal:redis> public method setBit ] { + Method [ <internal:redis> public method dump ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method strlen ] { + Method [ <internal:redis> public method echo ] { + + - Parameters [1] { + Parameter #0 [ <required> $msg ] + } } - Method [ <internal:redis> public method getKeys ] { + Method [ <internal:redis> public method eval ] { + + - Parameters [3] { + Parameter #0 [ <required> $script ] + Parameter #1 [ <optional> $args ] + Parameter #2 [ <optional> $num_keys ] + } } - Method [ <internal:redis> public method sort ] { + Method [ <internal:redis> public method evalsha ] { + + - Parameters [3] { + Parameter #0 [ <required> $script_sha ] + Parameter #1 [ <optional> $args ] + Parameter #2 [ <optional> $num_keys ] + } } - Method [ <internal:redis> public method sortAsc ] { + Method [ <internal:redis> public method exec ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method sortAscAlpha ] { + Method [ <internal:redis> public method exists ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method sortDesc ] { + Method [ <internal:redis> public method expireAt ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timestamp ] + } } - Method [ <internal:redis> public method sortDescAlpha ] { + Method [ <internal:redis> public method flushAll ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method lPush ] { + Method [ <internal:redis> public method flushDB ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method rPush ] { + Method [ <internal:redis> public method geoadd ] { + + - Parameters [5] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $lng ] + Parameter #2 [ <required> $lat ] + Parameter #3 [ <required> $member ] + Parameter #4 [ <optional> ...$other_triples ] + } } - Method [ <internal:redis> public method lPushx ] { + Method [ <internal:redis> public method geodist ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $src ] + Parameter #2 [ <required> $dst ] + Parameter #3 [ <optional> $unit ] + } } - Method [ <internal:redis> public method rPushx ] { + Method [ <internal:redis> public method geohash ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <optional> ...$other_members ] + } } - Method [ <internal:redis> public method lPop ] { + Method [ <internal:redis> public method geopos ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <optional> ...$other_members ] + } } - Method [ <internal:redis> public method rPop ] { + Method [ <internal:redis> public method georadius ] { + + - Parameters [6] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $lng ] + Parameter #2 [ <required> $lan ] + Parameter #3 [ <required> $radius ] + Parameter #4 [ <required> $unit ] + Parameter #5 [ <optional> array $opts ] + } } - Method [ <internal:redis> public method blPop ] { + Method [ <internal:redis> public method georadiusbymember ] { + + - Parameters [5] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <required> $radius ] + Parameter #3 [ <required> $unit ] + Parameter #4 [ <optional> array $opts ] + } } - Method [ <internal:redis> public method brPop ] { + Method [ <internal:redis> public method get ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method lSize ] { + Method [ <internal:redis> public method getAuth ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method lRemove ] { + Method [ <internal:redis> public method getBit ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $offset ] + } } - Method [ <internal:redis> public method listTrim ] { + Method [ <internal:redis> public method getDBNum ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method lGet ] { + Method [ <internal:redis> public method getHost ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method lGetRange ] { + Method [ <internal:redis> public method getKeys ] { + + - Parameters [1] { + Parameter #0 [ <required> $pattern ] + } } - Method [ <internal:redis> public method lSet ] { + Method [ <internal:redis> public method getLastError ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method lInsert ] { + Method [ <internal:redis> public method getMode ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method sAdd ] { + Method [ <internal:redis> public method getMultiple ] { + + - Parameters [1] { + Parameter #0 [ <required> array $keys ] + } } - Method [ <internal:redis> public method sAddArray ] { + Method [ <internal:redis> public method getOption ] { + + - Parameters [1] { + Parameter #0 [ <required> $option ] + } } - Method [ <internal:redis> public method sSize ] { + Method [ <internal:redis> public method getPersistentID ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method sRemove ] { + Method [ <internal:redis> public method getPort ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method sMove ] { + Method [ <internal:redis> public method getRange ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + } } - Method [ <internal:redis> public method sPop ] { + Method [ <internal:redis> public method getReadTimeout ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method sRandMember ] { + Method [ <internal:redis> public method getSet ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method sContains ] { + Method [ <internal:redis> public method getTimeout ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method sMembers ] { + Method [ <internal:redis> public method hDel ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <optional> ...$other_members ] + } } - Method [ <internal:redis> public method sInter ] { + Method [ <internal:redis> public method hExists ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } } - Method [ <internal:redis> public method sInterStore ] { + Method [ <internal:redis> public method hGet ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } } - Method [ <internal:redis> public method sUnion ] { + Method [ <internal:redis> public method hGetAll ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method sUnionStore ] { + Method [ <internal:redis> public method hIncrBy ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method sDiff ] { + Method [ <internal:redis> public method hIncrByFloat ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method sDiffStore ] { + Method [ <internal:redis> public method hKeys ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method setTimeout ] { + Method [ <internal:redis> public method hLen ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method save ] { + Method [ <internal:redis> public method hMget ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $keys ] + } } - Method [ <internal:redis> public method bgSave ] { + Method [ <internal:redis> public method hMset ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $pairs ] + } } - Method [ <internal:redis> public method lastSave ] { + Method [ <internal:redis> public method hSet ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method flushDB ] { + Method [ <internal:redis> public method hSetNx ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method flushAll ] { + Method [ <internal:redis> public method hStrLen ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } } - Method [ <internal:redis> public method dbSize ] { + Method [ <internal:redis> public method hVals ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method auth ] { + Method [ <internal:redis> public method hscan ] { + + - Parameters [4] { + Parameter #0 [ <required> $str_key ] + Parameter #1 [ <required> &$i_iterator ] + Parameter #2 [ <optional> $str_pattern ] + Parameter #3 [ <optional> $i_count ] + } } - Method [ <internal:redis> public method ttl ] { + Method [ <internal:redis> public method incr ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method pttl ] { + Method [ <internal:redis> public method incrBy ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method persist ] { + Method [ <internal:redis> public method incrByFloat ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } Method [ <internal:redis> public method info ] { - } - Method [ <internal:redis> public method select ] { + - Parameters [1] { + Parameter #0 [ <optional> $option ] + } } - Method [ <internal:redis> public method move ] { + Method [ <internal:redis> public method isConnected ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method bgrewriteaof ] { + Method [ <internal:redis> public method lGet ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $index ] + } } - Method [ <internal:redis> public method slaveof ] { + Method [ <internal:redis> public method lGetRange ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + } } - Method [ <internal:redis> public method object ] { + Method [ <internal:redis> public method lInsert ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $position ] + Parameter #2 [ <required> $pivot ] + Parameter #3 [ <required> $value ] + } } - Method [ <internal:redis> public method bitop ] { + Method [ <internal:redis> public method lPop ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method bitcount ] { + Method [ <internal:redis> public method lPush ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method bitpos ] { + Method [ <internal:redis> public method lPushx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method mset ] { + Method [ <internal:redis> public method lRemove ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <required> $count ] + } } - Method [ <internal:redis> public method msetnx ] { + Method [ <internal:redis> public method lSet ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $index ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method rpoplpush ] { + Method [ <internal:redis> public method lSize ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method brpoplpush ] { + Method [ <internal:redis> public method lastSave ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method zAdd ] { + Method [ <internal:redis> public method listTrim ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $stop ] + } } - Method [ <internal:redis> public method zDelete ] { + Method [ <internal:redis> public method migrate ] { + + - Parameters [7] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $key ] + Parameter #3 [ <required> $db ] + Parameter #4 [ <required> $timeout ] + Parameter #5 [ <optional> $copy ] + Parameter #6 [ <optional> $replace ] + } } - Method [ <internal:redis> public method zRange ] { + Method [ <internal:redis> public method move ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $dbindex ] + } } - Method [ <internal:redis> public method zRevRange ] { + Method [ <internal:redis> public method mset ] { + + - Parameters [1] { + Parameter #0 [ <required> array $pairs ] + } } - Method [ <internal:redis> public method zRangeByScore ] { + Method [ <internal:redis> public method msetnx ] { + + - Parameters [1] { + Parameter #0 [ <required> array $pairs ] + } } - Method [ <internal:redis> public method zRevRangeByScore ] { + Method [ <internal:redis> public method multi ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method zRangeByLex ] { + Method [ <internal:redis> public method object ] { + + - Parameters [2] { + Parameter #0 [ <required> $field ] + Parameter #1 [ <required> $key ] + } } - Method [ <internal:redis> public method zRevRangeByLex ] { + Method [ <internal:redis> public method pconnect ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <optional> $timeout ] + } } - Method [ <internal:redis> public method zLexCount ] { + Method [ <internal:redis> public method persist ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method zRemRangeByLex ] { + Method [ <internal:redis> public method pexpire ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timestamp ] + } } - Method [ <internal:redis> public method zCount ] { + Method [ <internal:redis> public method pexpireAt ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timestamp ] + } } - Method [ <internal:redis> public method zDeleteRangeByScore ] { + Method [ <internal:redis> public method pfadd ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $elements ] + } } - Method [ <internal:redis> public method zDeleteRangeByRank ] { + Method [ <internal:redis> public method pfcount ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method zCard ] { + Method [ <internal:redis> public method pfmerge ] { + + - Parameters [2] { + Parameter #0 [ <required> $dstkey ] + Parameter #1 [ <required> array $keys ] + } } - Method [ <internal:redis> public method zScore ] { + Method [ <internal:redis> public method ping ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method zRank ] { + Method [ <internal:redis> public method pipeline ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method zRevRank ] { + Method [ <internal:redis> public method psetex ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $expire ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method zInter ] { + Method [ <internal:redis> public method psubscribe ] { + + - Parameters [1] { + Parameter #0 [ <required> array $patterns ] + } } - Method [ <internal:redis> public method zUnion ] { + Method [ <internal:redis> public method pttl ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method zIncrBy ] { + Method [ <internal:redis> public method publish ] { + + - Parameters [2] { + Parameter #0 [ <required> $channel ] + Parameter #1 [ <required> $message ] + } } - Method [ <internal:redis> public method expireAt ] { + Method [ <internal:redis> public method pubsub ] { + + - Parameters [2] { + Parameter #0 [ <required> $cmd ] + Parameter #1 [ <optional> ...$args ] + } } - Method [ <internal:redis> public method pexpire ] { + Method [ <internal:redis> public method punsubscribe ] { + + - Parameters [2] { + Parameter #0 [ <required> $pattern ] + Parameter #1 [ <optional> ...$other_patterns ] + } } - Method [ <internal:redis> public method pexpireAt ] { + Method [ <internal:redis> public method rPop ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method hGet ] { + Method [ <internal:redis> public method rPush ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method hSet ] { + Method [ <internal:redis> public method rPushx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method hSetNx ] { + Method [ <internal:redis> public method randomKey ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method hDel ] { + Method [ <internal:redis> public method rawcommand ] { + + - Parameters [2] { + Parameter #0 [ <required> $cmd ] + Parameter #1 [ <optional> ...$args ] + } } - Method [ <internal:redis> public method hLen ] { + Method [ <internal:redis> public method renameKey ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $newkey ] + } } - Method [ <internal:redis> public method hKeys ] { + Method [ <internal:redis> public method renameNx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $newkey ] + } } - Method [ <internal:redis> public method hVals ] { + Method [ <internal:redis> public method restore ] { + + - Parameters [3] { + Parameter #0 [ <required> $ttl ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method hGetAll ] { + Method [ <internal:redis> public method role ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method hExists ] { + Method [ <internal:redis> public method rpoplpush ] { + + - Parameters [2] { + Parameter #0 [ <required> $src ] + Parameter #1 [ <required> $dst ] + } } - Method [ <internal:redis> public method hIncrBy ] { + Method [ <internal:redis> public method sAdd ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method hIncrByFloat ] { + Method [ <internal:redis> public method sAddArray ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $options ] + } } - Method [ <internal:redis> public method hMset ] { + Method [ <internal:redis> public method sContains ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method hMget ] { + Method [ <internal:redis> public method sDiff ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method hStrLen ] { + Method [ <internal:redis> public method sDiffStore ] { + + - Parameters [3] { + Parameter #0 [ <required> $dst ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method multi ] { + Method [ <internal:redis> public method sInter ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method discard ] { + Method [ <internal:redis> public method sInterStore ] { + + - Parameters [3] { + Parameter #0 [ <required> $dst ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method exec ] { + Method [ <internal:redis> public method sMembers ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method pipeline ] { + Method [ <internal:redis> public method sMove ] { + + - Parameters [3] { + Parameter #0 [ <required> $src ] + Parameter #1 [ <required> $dst ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method watch ] { + Method [ <internal:redis> public method sPop ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method unwatch ] { + Method [ <internal:redis> public method sRandMember ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> $count ] + } } - Method [ <internal:redis> public method publish ] { + Method [ <internal:redis> public method sRemove ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method subscribe ] { + Method [ <internal:redis> public method sSize ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method psubscribe ] { + Method [ <internal:redis> public method sUnion ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method unsubscribe ] { + Method [ <internal:redis> public method sUnionStore ] { + + - Parameters [3] { + Parameter #0 [ <required> $dst ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method punsubscribe ] { + Method [ <internal:redis> public method save ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method time ] { + Method [ <internal:redis> public method scan ] { + + - Parameters [3] { + Parameter #0 [ <required> &$i_iterator ] + Parameter #1 [ <optional> $str_pattern ] + Parameter #2 [ <optional> $i_count ] + } } - Method [ <internal:redis> public method role ] { + Method [ <internal:redis> public method script ] { + + - Parameters [2] { + Parameter #0 [ <required> $cmd ] + Parameter #1 [ <optional> ...$args ] + } } - Method [ <internal:redis> public method eval ] { + Method [ <internal:redis> public method select ] { + + - Parameters [1] { + Parameter #0 [ <required> $dbindex ] + } } - Method [ <internal:redis> public method evalsha ] { + Method [ <internal:redis> public method set ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <optional> $timeout ] + Parameter #3 [ <optional> $opt ] + } } - Method [ <internal:redis> public method script ] { + Method [ <internal:redis> public method setBit ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $offset ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method debug ] { + Method [ <internal:redis> public method setOption ] { + + - Parameters [2] { + Parameter #0 [ <required> $option ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method dump ] { + Method [ <internal:redis> public method setRange ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $offset ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method restore ] { + Method [ <internal:redis> public method setTimeout ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timeout ] + } } - Method [ <internal:redis> public method migrate ] { + Method [ <internal:redis> public method setex ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $expire ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method getLastError ] { + Method [ <internal:redis> public method setnx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method clearLastError ] { + Method [ <internal:redis> public method slaveof ] { + + - Parameters [2] { + Parameter #0 [ <optional> $host ] + Parameter #1 [ <optional> $port ] + } } - Method [ <internal:redis> public method _prefix ] { + Method [ <internal:redis> public method slowlog ] { + + - Parameters [2] { + Parameter #0 [ <required> $arg ] + Parameter #1 [ <optional> $option ] + } } - Method [ <internal:redis> public method _serialize ] { + Method [ <internal:redis> public method sort ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> array $options ] + } } - Method [ <internal:redis> public method _unserialize ] { + Method [ <internal:redis> public method sortAsc ] { + + - Parameters [6] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> $pattern ] + Parameter #2 [ <optional> $get ] + Parameter #3 [ <optional> $start ] + Parameter #4 [ <optional> $end ] + Parameter #5 [ <optional> $getList ] + } } - Method [ <internal:redis> public method client ] { + Method [ <internal:redis> public method sortAscAlpha ] { + + - Parameters [6] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> $pattern ] + Parameter #2 [ <optional> $get ] + Parameter #3 [ <optional> $start ] + Parameter #4 [ <optional> $end ] + Parameter #5 [ <optional> $getList ] + } } - Method [ <internal:redis> public method command ] { + Method [ <internal:redis> public method sortDesc ] { + + - Parameters [6] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> $pattern ] + Parameter #2 [ <optional> $get ] + Parameter #3 [ <optional> $start ] + Parameter #4 [ <optional> $end ] + Parameter #5 [ <optional> $getList ] + } } - Method [ <internal:redis> public method scan ] { + Method [ <internal:redis> public method sortDescAlpha ] { - - Parameters [3] { - Parameter #0 [ <required> &$i_iterator ] - Parameter #1 [ <optional> $str_pattern ] - Parameter #2 [ <optional> $i_count ] + - Parameters [6] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> $pattern ] + Parameter #2 [ <optional> $get ] + Parameter #3 [ <optional> $start ] + Parameter #4 [ <optional> $end ] + Parameter #5 [ <optional> $getList ] } } - Method [ <internal:redis> public method hscan ] { + Method [ <internal:redis> public method sscan ] { - Parameters [4] { Parameter #0 [ <required> $str_key ] @@ -554,186 +1314,524 @@ Extension [ <persistent> extension #185 redis version 3.1.6 ] { } } - Method [ <internal:redis> public method zscan ] { + Method [ <internal:redis> public method strlen ] { - - Parameters [4] { - Parameter #0 [ <required> $str_key ] - Parameter #1 [ <required> &$i_iterator ] - Parameter #2 [ <optional> $str_pattern ] - Parameter #3 [ <optional> $i_count ] + - Parameters [1] { + Parameter #0 [ <required> $key ] } } - Method [ <internal:redis> public method sscan ] { + Method [ <internal:redis> public method subscribe ] { - - Parameters [4] { - Parameter #0 [ <required> $str_key ] - Parameter #1 [ <required> &$i_iterator ] - Parameter #2 [ <optional> $str_pattern ] - Parameter #3 [ <optional> $i_count ] + - Parameters [1] { + Parameter #0 [ <required> array $channels ] } } - Method [ <internal:redis> public method pfadd ] { + Method [ <internal:redis> public method swapdb ] { + + - Parameters [2] { + Parameter #0 [ <required> $srcdb ] + Parameter #1 [ <required> $dstdb ] + } } - Method [ <internal:redis> public method pfcount ] { + Method [ <internal:redis> public method time ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method pfmerge ] { + Method [ <internal:redis> public method ttl ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method getOption ] { + Method [ <internal:redis> public method type ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method setOption ] { + Method [ <internal:redis> public method unlink ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method config ] { + Method [ <internal:redis> public method unsubscribe ] { + + - Parameters [2] { + Parameter #0 [ <required> $channel ] + Parameter #1 [ <optional> ...$other_channels ] + } } - Method [ <internal:redis> public method slowlog ] { + Method [ <internal:redis> public method unwatch ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method rawcommand ] { + Method [ <internal:redis> public method wait ] { + + - Parameters [2] { + Parameter #0 [ <required> $numslaves ] + Parameter #1 [ <required> $timeout ] + } } - Method [ <internal:redis> public method geoadd ] { + Method [ <internal:redis> public method watch ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method geohash ] { + Method [ <internal:redis> public method zAdd ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $score ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method geopos ] { + Method [ <internal:redis> public method zCard ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method geodist ] { + Method [ <internal:redis> public method zCount ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } } - Method [ <internal:redis> public method georadius ] { + Method [ <internal:redis> public method zDelete ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <optional> ...$other_members ] + } } - Method [ <internal:redis> public method georadiusbymember ] { + Method [ <internal:redis> public method zDeleteRangeByRank ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + } } - Method [ <internal:redis> public method getHost ] { + Method [ <internal:redis> public method zDeleteRangeByScore ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } } - Method [ <internal:redis> public method getPort ] { + Method [ <internal:redis> public method zIncrBy ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <required> $member ] + } } - Method [ <internal:redis> public method getDBNum ] { + Method [ <internal:redis> public method zInter ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $keys ] + Parameter #2 [ <optional> array or NULL $weights ] + Parameter #3 [ <optional> $aggregate ] + } } - Method [ <internal:redis> public method getTimeout ] { + Method [ <internal:redis> public method zLexCount ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } } - Method [ <internal:redis> public method getReadTimeout ] { + Method [ <internal:redis> public method zRange ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + Parameter #3 [ <optional> $scores ] + } } - Method [ <internal:redis> public method getPersistentID ] { + Method [ <internal:redis> public method zRangeByLex ] { + + - Parameters [5] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + Parameter #3 [ <optional> $offset ] + Parameter #4 [ <optional> $limit ] + } } - Method [ <internal:redis> public method getAuth ] { + Method [ <internal:redis> public method zRangeByScore ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + Parameter #3 [ <optional> array $options ] + } } - Method [ <internal:redis> public method isConnected ] { + Method [ <internal:redis> public method zRank ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } } - Method [ <internal:redis> public method getMode ] { + Method [ <internal:redis> public method zRemRangeByLex ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } } - Method [ <internal:redis> public method wait ] { + Method [ <internal:redis> public method zRevRange ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + Parameter #3 [ <optional> $scores ] + } } - Method [ <internal:redis> public method pubsub ] { + Method [ <internal:redis> public method zRevRangeByLex ] { + + - Parameters [5] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + Parameter #3 [ <optional> $offset ] + Parameter #4 [ <optional> $limit ] + } } - Method [ <internal:redis> public method open ] { + Method [ <internal:redis> public method zRevRangeByScore ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + Parameter #3 [ <optional> array $options ] + } } - Method [ <internal:redis> public method popen ] { + Method [ <internal:redis> public method zRevRank ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } } - Method [ <internal:redis> public method lLen ] { + Method [ <internal:redis> public method zScore ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } } - Method [ <internal:redis> public method sGetMembers ] { + Method [ <internal:redis> public method zUnion ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $keys ] + Parameter #2 [ <optional> array or NULL $weights ] + Parameter #3 [ <optional> $aggregate ] + } } - Method [ <internal:redis> public method mget ] { + Method [ <internal:redis> public method zscan ] { + + - Parameters [4] { + Parameter #0 [ <required> $str_key ] + Parameter #1 [ <required> &$i_iterator ] + Parameter #2 [ <optional> $str_pattern ] + Parameter #3 [ <optional> $i_count ] + } + } + + Method [ <internal:redis> public method del ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } + } + + Method [ <internal:redis> public method evaluate ] { + + - Parameters [3] { + Parameter #0 [ <required> $script ] + Parameter #1 [ <optional> $args ] + Parameter #2 [ <optional> $num_keys ] + } + } + + Method [ <internal:redis> public method evaluateSha ] { + + - Parameters [3] { + Parameter #0 [ <required> $script_sha ] + Parameter #1 [ <optional> $args ] + Parameter #2 [ <optional> $num_keys ] + } } Method [ <internal:redis> public method expire ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timeout ] + } } - Method [ <internal:redis> public method zunionstore ] { + Method [ <internal:redis> public method keys ] { + + - Parameters [1] { + Parameter #0 [ <required> $pattern ] + } } - Method [ <internal:redis> public method zinterstore ] { + Method [ <internal:redis> public method lLen ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method zRemove ] { + Method [ <internal:redis> public method lindex ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $index ] + } } - Method [ <internal:redis> public method zRem ] { + Method [ <internal:redis> public method lrange ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + } } - Method [ <internal:redis> public method zRemoveRangeByScore ] { + Method [ <internal:redis> public method lrem ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <required> $count ] + } } - Method [ <internal:redis> public method zRemRangeByScore ] { + Method [ <internal:redis> public method ltrim ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $stop ] + } } - Method [ <internal:redis> public method zRemRangeByRank ] { + Method [ <internal:redis> public method mget ] { + + - Parameters [1] { + Parameter #0 [ <required> array $keys ] + } } - Method [ <internal:redis> public method zSize ] { + Method [ <internal:redis> public method open ] { + + - Parameters [4] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <optional> $timeout ] + Parameter #3 [ <optional> $retry_interval ] + } } - Method [ <internal:redis> public method substr ] { + Method [ <internal:redis> public method popen ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <optional> $timeout ] + } } Method [ <internal:redis> public method rename ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $newkey ] + } } - Method [ <internal:redis> public method del ] { + Method [ <internal:redis> public method sGetMembers ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method keys ] { + Method [ <internal:redis> public method scard ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method lrem ] { + Method [ <internal:redis> public method sendEcho ] { + + - Parameters [1] { + Parameter #0 [ <required> $msg ] + } } - Method [ <internal:redis> public method ltrim ] { + Method [ <internal:redis> public method sismember ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method lindex ] { + Method [ <internal:redis> public method srem ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method lrange ] { + Method [ <internal:redis> public method substr ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + } } - Method [ <internal:redis> public method scard ] { + Method [ <internal:redis> public method zRem ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <optional> ...$other_members ] + } } - Method [ <internal:redis> public method srem ] { + Method [ <internal:redis> public method zRemRangeByRank ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } } - Method [ <internal:redis> public method sismember ] { + Method [ <internal:redis> public method zRemRangeByScore ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } + } + + Method [ <internal:redis> public method zRemove ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <optional> ...$other_members ] + } + } + + Method [ <internal:redis> public method zRemoveRangeByScore ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } } Method [ <internal:redis> public method zReverseRange ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + Parameter #3 [ <optional> $scores ] + } } - Method [ <internal:redis> public method sendEcho ] { + Method [ <internal:redis> public method zSize ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method evaluate ] { + Method [ <internal:redis> public method zinterstore ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $keys ] + Parameter #2 [ <optional> array or NULL $weights ] + Parameter #3 [ <optional> $aggregate ] + } } - Method [ <internal:redis> public method evaluateSha ] { + Method [ <internal:redis> public method zunionstore ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $keys ] + Parameter #2 [ <optional> array or NULL $weights ] + Parameter #3 [ <optional> $aggregate ] + } } } } @@ -752,10 +1850,7 @@ Extension [ <persistent> extension #185 redis version 3.1.6 ] { - Properties [0] { } - - Methods [27] { - Method [ <internal:redis, ctor> public method __construct ] { - } - + - Methods [28] { Method [ <internal:redis> public method __call ] { - Parameters [2] { @@ -764,86 +1859,190 @@ Extension [ <persistent> extension #185 redis version 3.1.6 ] { } } - Method [ <internal:redis> public method _hosts ] { - } + Method [ <internal:redis, ctor> public method __construct ] { - Method [ <internal:redis> public method _target ] { + - Parameters [2] { + Parameter #0 [ <required> $name_or_hosts ] + Parameter #1 [ <optional> array $options ] + } } - Method [ <internal:redis> public method _instance ] { + Method [ <internal:redis> public method _distributor ] { + + - Parameters [0] { + } } Method [ <internal:redis> public method _function ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method _distributor ] { + Method [ <internal:redis> public method _hosts ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method _rehash ] { + Method [ <internal:redis> public method _instance ] { + + - Parameters [1] { + Parameter #0 [ <required> $host ] + } } - Method [ <internal:redis> public method select ] { + Method [ <internal:redis> public method _rehash ] { + + - Parameters [1] { + Parameter #0 [ <optional> $callable ] + } } - Method [ <internal:redis> public method info ] { + Method [ <internal:redis> public method _target ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method ping ] { + Method [ <internal:redis> public method bgsave ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method flushdb ] { + Method [ <internal:redis> public method del ] { + + - Parameters [1] { + Parameter #0 [ <required> $keys ] + } } - Method [ <internal:redis> public method flushall ] { + Method [ <internal:redis> public method discard ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method mget ] { + Method [ <internal:redis> public method exec ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method mset ] { + Method [ <internal:redis> public method flushall ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method del ] { + Method [ <internal:redis> public method flushdb ] { + + - Parameters [0] { + } } Method [ <internal:redis> public method getOption ] { + + - Parameters [1] { + Parameter #0 [ <required> $opt ] + } } - Method [ <internal:redis> public method setOption ] { + Method [ <internal:redis> public method info ] { + + - Parameters [0] { + } } Method [ <internal:redis> public method keys ] { + + - Parameters [1] { + Parameter #0 [ <required> $pattern ] + } } - Method [ <internal:redis> public method save ] { + Method [ <internal:redis> public method mget ] { + + - Parameters [1] { + Parameter #0 [ <required> $keys ] + } } - Method [ <internal:redis> public method bgsave ] { + Method [ <internal:redis> public method mset ] { + + - Parameters [1] { + Parameter #0 [ <required> $pairs ] + } } Method [ <internal:redis> public method multi ] { + + - Parameters [2] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $mode ] + } } - Method [ <internal:redis> public method exec ] { + Method [ <internal:redis> public method ping ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method discard ] { + Method [ <internal:redis> public method save ] { + + - Parameters [0] { + } + } + + Method [ <internal:redis> public method select ] { + + - Parameters [1] { + Parameter #0 [ <required> $index ] + } + } + + Method [ <internal:redis> public method setOption ] { + + - Parameters [2] { + Parameter #0 [ <required> $opt ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:redis> public method unlink ] { + + - Parameters [0] { + } } Method [ <internal:redis> public method unwatch ] { + + - Parameters [0] { + } } Method [ <internal:redis> public method delete ] { + + - Parameters [1] { + Parameter #0 [ <required> $keys ] + } } Method [ <internal:redis> public method getMultiple ] { + + - Parameters [1] { + Parameter #0 [ <required> $keys ] + } } } } Class [ <internal:redis> class RedisCluster ] { - - Constants [24] { + - Constants [28] { Constant [ public integer REDIS_NOT_FOUND ] { 0 } Constant [ public integer REDIS_STRING ] { 1 } Constant [ public integer REDIS_SET ] { 2 } @@ -855,9 +2054,13 @@ Extension [ <persistent> extension #185 redis version 3.1.6 ] { Constant [ public integer OPT_SERIALIZER ] { 1 } Constant [ public integer OPT_PREFIX ] { 2 } Constant [ public integer OPT_READ_TIMEOUT ] { 3 } + Constant [ public integer OPT_TCP_KEEPALIVE ] { 6 } + Constant [ public integer OPT_COMPRESSION ] { 7 } Constant [ public integer SERIALIZER_NONE ] { 0 } Constant [ public integer SERIALIZER_PHP ] { 1 } Constant [ public integer SERIALIZER_IGBINARY ] { 2 } + Constant [ public integer COMPRESSION_NONE ] { 0 } + Constant [ public integer COMPRESSION_LZF ] { 1 } Constant [ public integer OPT_SCAN ] { 4 } Constant [ public integer SCAN_RETRY ] { 1 } Constant [ public integer SCAN_NORETRY ] { 0 } @@ -879,362 +2082,890 @@ Extension [ <persistent> extension #185 redis version 3.1.6 ] { - Properties [0] { } - - Methods [165] { + - Methods [166] { Method [ <internal:redis, ctor> public method __construct ] { - } - Method [ <internal:redis> public method close ] { + - Parameters [5] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <optional> array $seeds ] + Parameter #2 [ <optional> $timeout ] + Parameter #3 [ <optional> $read_timeout ] + Parameter #4 [ <optional> $persistent ] + } } - Method [ <internal:redis> public method get ] { - } + Method [ <internal:redis> public method _masters ] { - Method [ <internal:redis> public method set ] { + - Parameters [0] { + } } - Method [ <internal:redis> public method mget ] { - } + Method [ <internal:redis> public method _prefix ] { - Method [ <internal:redis> public method mset ] { + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method msetnx ] { - } + Method [ <internal:redis> public method _redir ] { - Method [ <internal:redis> public method del ] { + - Parameters [0] { + } } - Method [ <internal:redis> public method setex ] { - } + Method [ <internal:redis> public method _serialize ] { - Method [ <internal:redis> public method psetex ] { + - Parameters [1] { + Parameter #0 [ <required> $value ] + } } - Method [ <internal:redis> public method setnx ] { - } + Method [ <internal:redis> public method _unserialize ] { - Method [ <internal:redis> public method getset ] { + - Parameters [1] { + Parameter #0 [ <required> $value ] + } } - Method [ <internal:redis> public method exists ] { + Method [ <internal:redis> public method append ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method keys ] { + Method [ <internal:redis> public method bgrewriteaof ] { + + - Parameters [1] { + Parameter #0 [ <required> $key_or_address ] + } } - Method [ <internal:redis> public method type ] { + Method [ <internal:redis> public method bgsave ] { + + - Parameters [1] { + Parameter #0 [ <required> $key_or_address ] + } } - Method [ <internal:redis> public method lpop ] { + Method [ <internal:redis> public method bitcount ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method rpop ] { + Method [ <internal:redis> public method bitop ] { + + - Parameters [4] { + Parameter #0 [ <required> $operation ] + Parameter #1 [ <required> $ret_key ] + Parameter #2 [ <required> $key ] + Parameter #3 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method lset ] { + Method [ <internal:redis> public method bitpos ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $bit ] + Parameter #2 [ <optional> $start ] + Parameter #3 [ <optional> $end ] + } } - Method [ <internal:redis> public method spop ] { + Method [ <internal:redis> public method blpop ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timeout_or_key ] + Parameter #2 [ <optional> ...$extra_args ] + } } - Method [ <internal:redis> public method lpush ] { + Method [ <internal:redis> public method brpop ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timeout_or_key ] + Parameter #2 [ <optional> ...$extra_args ] + } } - Method [ <internal:redis> public method rpush ] { + Method [ <internal:redis> public method brpoplpush ] { + + - Parameters [3] { + Parameter #0 [ <required> $src ] + Parameter #1 [ <required> $dst ] + Parameter #2 [ <required> $timeout ] + } } - Method [ <internal:redis> public method blpop ] { + Method [ <internal:redis> public method clearlasterror ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method brpop ] { + Method [ <internal:redis> public method client ] { + + - Parameters [3] { + Parameter #0 [ <required> $key_or_address ] + Parameter #1 [ <optional> $arg ] + Parameter #2 [ <optional> ...$other_args ] + } } - Method [ <internal:redis> public method rpushx ] { + Method [ <internal:redis> public method close ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method lpushx ] { + Method [ <internal:redis> public method cluster ] { + + - Parameters [3] { + Parameter #0 [ <required> $key_or_address ] + Parameter #1 [ <optional> $arg ] + Parameter #2 [ <optional> ...$other_args ] + } } - Method [ <internal:redis> public method linsert ] { + Method [ <internal:redis> public method command ] { + + - Parameters [1] { + Parameter #0 [ <optional> ...$args ] + } } - Method [ <internal:redis> public method lindex ] { + Method [ <internal:redis> public method config ] { + + - Parameters [3] { + Parameter #0 [ <required> $key_or_address ] + Parameter #1 [ <optional> $arg ] + Parameter #2 [ <optional> ...$other_args ] + } } - Method [ <internal:redis> public method lrem ] { + Method [ <internal:redis> public method dbsize ] { + + - Parameters [1] { + Parameter #0 [ <required> $key_or_address ] + } } - Method [ <internal:redis> public method brpoplpush ] { + Method [ <internal:redis> public method decr ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method rpoplpush ] { + Method [ <internal:redis> public method decrby ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method llen ] { + Method [ <internal:redis> public method del ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method scard ] { + Method [ <internal:redis> public method discard ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method smembers ] { + Method [ <internal:redis> public method dump ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method sismember ] { + Method [ <internal:redis> public method echo ] { + + - Parameters [1] { + Parameter #0 [ <required> $msg ] + } } - Method [ <internal:redis> public method sadd ] { + Method [ <internal:redis> public method eval ] { + + - Parameters [3] { + Parameter #0 [ <required> $script ] + Parameter #1 [ <optional> $args ] + Parameter #2 [ <optional> $num_keys ] + } } - Method [ <internal:redis> public method saddarray ] { + Method [ <internal:redis> public method evalsha ] { + + - Parameters [3] { + Parameter #0 [ <required> $script_sha ] + Parameter #1 [ <optional> $args ] + Parameter #2 [ <optional> $num_keys ] + } } - Method [ <internal:redis> public method srem ] { + Method [ <internal:redis> public method exec ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method sunion ] { + Method [ <internal:redis> public method exists ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method sunionstore ] { + Method [ <internal:redis> public method expire ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timeout ] + } } - Method [ <internal:redis> public method sinter ] { + Method [ <internal:redis> public method expireat ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timestamp ] + } } - Method [ <internal:redis> public method sinterstore ] { + Method [ <internal:redis> public method flushall ] { + + - Parameters [1] { + Parameter #0 [ <required> $key_or_address ] + } } - Method [ <internal:redis> public method sdiff ] { + Method [ <internal:redis> public method flushdb ] { + + - Parameters [1] { + Parameter #0 [ <required> $key_or_address ] + } } - Method [ <internal:redis> public method sdiffstore ] { + Method [ <internal:redis> public method geoadd ] { + + - Parameters [5] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $lng ] + Parameter #2 [ <required> $lat ] + Parameter #3 [ <required> $member ] + Parameter #4 [ <optional> ...$other_triples ] + } } - Method [ <internal:redis> public method srandmember ] { + Method [ <internal:redis> public method geodist ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $src ] + Parameter #2 [ <required> $dst ] + Parameter #3 [ <optional> $unit ] + } } - Method [ <internal:redis> public method strlen ] { + Method [ <internal:redis> public method geohash ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <optional> ...$other_members ] + } } - Method [ <internal:redis> public method persist ] { + Method [ <internal:redis> public method geopos ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <optional> ...$other_members ] + } } - Method [ <internal:redis> public method ttl ] { + Method [ <internal:redis> public method georadius ] { + + - Parameters [6] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $lng ] + Parameter #2 [ <required> $lan ] + Parameter #3 [ <required> $radius ] + Parameter #4 [ <required> $unit ] + Parameter #5 [ <optional> array $opts ] + } } - Method [ <internal:redis> public method pttl ] { + Method [ <internal:redis> public method georadiusbymember ] { + + - Parameters [5] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <required> $radius ] + Parameter #3 [ <required> $unit ] + Parameter #4 [ <optional> array $opts ] + } } - Method [ <internal:redis> public method zcard ] { + Method [ <internal:redis> public method get ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method zcount ] { + Method [ <internal:redis> public method getbit ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $offset ] + } } - Method [ <internal:redis> public method zremrangebyscore ] { + Method [ <internal:redis> public method getlasterror ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method zscore ] { + Method [ <internal:redis> public method getmode ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method zadd ] { + Method [ <internal:redis> public method getoption ] { + + - Parameters [1] { + Parameter #0 [ <required> $option ] + } } - Method [ <internal:redis> public method zincrby ] { + Method [ <internal:redis> public method getrange ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + } } - Method [ <internal:redis> public method hlen ] { + Method [ <internal:redis> public method getset ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method hkeys ] { + Method [ <internal:redis> public method hdel ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <optional> ...$other_members ] + } } - Method [ <internal:redis> public method hvals ] { + Method [ <internal:redis> public method hexists ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } } Method [ <internal:redis> public method hget ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } } Method [ <internal:redis> public method hgetall ] { - } - Method [ <internal:redis> public method hexists ] { + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } Method [ <internal:redis> public method hincrby ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method hset ] { + Method [ <internal:redis> public method hincrbyfloat ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method hsetnx ] { + Method [ <internal:redis> public method hkeys ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:redis> public method hlen ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } Method [ <internal:redis> public method hmget ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $keys ] + } } Method [ <internal:redis> public method hmset ] { - } - Method [ <internal:redis> public method hdel ] { + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $pairs ] + } } - Method [ <internal:redis> public method hincrbyfloat ] { + Method [ <internal:redis> public method hscan ] { + + - Parameters [4] { + Parameter #0 [ <required> $str_key ] + Parameter #1 [ <required> &$i_iterator ] + Parameter #2 [ <optional> $str_pattern ] + Parameter #3 [ <optional> $i_count ] + } } - Method [ <internal:redis> public method hstrlen ] { + Method [ <internal:redis> public method hset ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method dump ] { + Method [ <internal:redis> public method hsetnx ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method zrank ] { + Method [ <internal:redis> public method hstrlen ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } } - Method [ <internal:redis> public method zrevrank ] { + Method [ <internal:redis> public method hvals ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } Method [ <internal:redis> public method incr ] { - } - Method [ <internal:redis> public method decr ] { + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } Method [ <internal:redis> public method incrby ] { - } - Method [ <internal:redis> public method decrby ] { + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } Method [ <internal:redis> public method incrbyfloat ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method expire ] { + Method [ <internal:redis> public method info ] { + + - Parameters [2] { + Parameter #0 [ <required> $key_or_address ] + Parameter #1 [ <optional> $option ] + } } - Method [ <internal:redis> public method pexpire ] { + Method [ <internal:redis> public method keys ] { + + - Parameters [1] { + Parameter #0 [ <required> $pattern ] + } } - Method [ <internal:redis> public method expireat ] { + Method [ <internal:redis> public method lastsave ] { + + - Parameters [1] { + Parameter #0 [ <required> $key_or_address ] + } } - Method [ <internal:redis> public method pexpireat ] { + Method [ <internal:redis> public method lget ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $index ] + } } - Method [ <internal:redis> public method append ] { + Method [ <internal:redis> public method lindex ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $index ] + } } - Method [ <internal:redis> public method getbit ] { + Method [ <internal:redis> public method linsert ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $position ] + Parameter #2 [ <required> $pivot ] + Parameter #3 [ <required> $value ] + } } - Method [ <internal:redis> public method setbit ] { + Method [ <internal:redis> public method llen ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method bitop ] { + Method [ <internal:redis> public method lpop ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method bitpos ] { + Method [ <internal:redis> public method lpush ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method bitcount ] { + Method [ <internal:redis> public method lpushx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method lget ] { + Method [ <internal:redis> public method lrange ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + } } - Method [ <internal:redis> public method getrange ] { + Method [ <internal:redis> public method lrem ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:redis> public method lset ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $index ] + Parameter #2 [ <required> $value ] + } } Method [ <internal:redis> public method ltrim ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $stop ] + } } - Method [ <internal:redis> public method lrange ] { + Method [ <internal:redis> public method mget ] { + + - Parameters [1] { + Parameter #0 [ <required> array $keys ] + } } - Method [ <internal:redis> public method zremrangebyrank ] { + Method [ <internal:redis> public method mset ] { + + - Parameters [1] { + Parameter #0 [ <required> array $pairs ] + } } - Method [ <internal:redis> public method publish ] { + Method [ <internal:redis> public method msetnx ] { + + - Parameters [1] { + Parameter #0 [ <required> array $pairs ] + } } - Method [ <internal:redis> public method rename ] { + Method [ <internal:redis> public method multi ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method renamenx ] { + Method [ <internal:redis> public method object ] { + + - Parameters [2] { + Parameter #0 [ <required> $field ] + Parameter #1 [ <required> $key ] + } } - Method [ <internal:redis> public method pfcount ] { + Method [ <internal:redis> public method persist ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method pfadd ] { + Method [ <internal:redis> public method pexpire ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timestamp ] + } } - Method [ <internal:redis> public method pfmerge ] { + Method [ <internal:redis> public method pexpireat ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $timestamp ] + } } - Method [ <internal:redis> public method setrange ] { + Method [ <internal:redis> public method pfadd ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $elements ] + } } - Method [ <internal:redis> public method restore ] { + Method [ <internal:redis> public method pfcount ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method smove ] { + Method [ <internal:redis> public method pfmerge ] { + + - Parameters [2] { + Parameter #0 [ <required> $dstkey ] + Parameter #1 [ <required> array $keys ] + } } - Method [ <internal:redis> public method zrange ] { + Method [ <internal:redis> public method ping ] { + + - Parameters [1] { + Parameter #0 [ <required> $key_or_address ] + } } - Method [ <internal:redis> public method zrevrange ] { + Method [ <internal:redis> public method psetex ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $expire ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method zrangebyscore ] { + Method [ <internal:redis> public method psubscribe ] { + + - Parameters [1] { + Parameter #0 [ <required> array $patterns ] + } } - Method [ <internal:redis> public method zrevrangebyscore ] { + Method [ <internal:redis> public method pttl ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method zrangebylex ] { + Method [ <internal:redis> public method publish ] { + + - Parameters [2] { + Parameter #0 [ <required> $channel ] + Parameter #1 [ <required> $message ] + } } - Method [ <internal:redis> public method zrevrangebylex ] { + Method [ <internal:redis> public method pubsub ] { + + - Parameters [3] { + Parameter #0 [ <required> $key_or_address ] + Parameter #1 [ <optional> $arg ] + Parameter #2 [ <optional> ...$other_args ] + } } - Method [ <internal:redis> public method zlexcount ] { + Method [ <internal:redis> public method punsubscribe ] { + + - Parameters [2] { + Parameter #0 [ <required> $pattern ] + Parameter #1 [ <optional> ...$other_patterns ] + } } - Method [ <internal:redis> public method zremrangebylex ] { + Method [ <internal:redis> public method randomkey ] { + + - Parameters [1] { + Parameter #0 [ <required> $key_or_address ] + } } - Method [ <internal:redis> public method zunionstore ] { + Method [ <internal:redis> public method rawcommand ] { + + - Parameters [2] { + Parameter #0 [ <required> $cmd ] + Parameter #1 [ <optional> ...$args ] + } } - Method [ <internal:redis> public method zinterstore ] { + Method [ <internal:redis> public method rename ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $newkey ] + } } - Method [ <internal:redis> public method zrem ] { + Method [ <internal:redis> public method renamenx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $newkey ] + } } - Method [ <internal:redis> public method sort ] { + Method [ <internal:redis> public method restore ] { + + - Parameters [3] { + Parameter #0 [ <required> $ttl ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method object ] { + Method [ <internal:redis> public method role ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method subscribe ] { + Method [ <internal:redis> public method rpop ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method psubscribe ] { + Method [ <internal:redis> public method rpoplpush ] { + + - Parameters [2] { + Parameter #0 [ <required> $src ] + Parameter #1 [ <required> $dst ] + } } - Method [ <internal:redis> public method unsubscribe ] { + Method [ <internal:redis> public method rpush ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method punsubscribe ] { + Method [ <internal:redis> public method rpushx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method eval ] { + Method [ <internal:redis> public method sadd ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method evalsha ] { + Method [ <internal:redis> public method saddarray ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $options ] + } + } + + Method [ <internal:redis> public method save ] { + + - Parameters [1] { + Parameter #0 [ <required> $key_or_address ] + } } Method [ <internal:redis> public method scan ] { @@ -1247,160 +2978,457 @@ Extension [ <persistent> extension #185 redis version 3.1.6 ] { } } - Method [ <internal:redis> public method sscan ] { + Method [ <internal:redis> public method scard ] { - - Parameters [4] { - Parameter #0 [ <required> $str_key ] - Parameter #1 [ <required> &$i_iterator ] - Parameter #2 [ <optional> $str_pattern ] - Parameter #3 [ <optional> $i_count ] + - Parameters [1] { + Parameter #0 [ <required> $key ] } } - Method [ <internal:redis> public method zscan ] { + Method [ <internal:redis> public method script ] { - - Parameters [4] { - Parameter #0 [ <required> $str_key ] - Parameter #1 [ <required> &$i_iterator ] - Parameter #2 [ <optional> $str_pattern ] - Parameter #3 [ <optional> $i_count ] + - Parameters [3] { + Parameter #0 [ <required> $key_or_address ] + Parameter #1 [ <optional> $arg ] + Parameter #2 [ <optional> ...$other_args ] } } - Method [ <internal:redis> public method hscan ] { + Method [ <internal:redis> public method sdiff ] { - - Parameters [4] { - Parameter #0 [ <required> $str_key ] - Parameter #1 [ <required> &$i_iterator ] - Parameter #2 [ <optional> $str_pattern ] - Parameter #3 [ <optional> $i_count ] + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] } } - Method [ <internal:redis> public method getmode ] { + Method [ <internal:redis> public method sdiffstore ] { + + - Parameters [3] { + Parameter #0 [ <required> $dst ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method getlasterror ] { + Method [ <internal:redis> public method set ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <optional> $timeout ] + Parameter #3 [ <optional> $opt ] + } } - Method [ <internal:redis> public method clearlasterror ] { + Method [ <internal:redis> public method setbit ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $offset ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method getoption ] { + Method [ <internal:redis> public method setex ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $expire ] + Parameter #2 [ <required> $value ] + } + } + + Method [ <internal:redis> public method setnx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } Method [ <internal:redis> public method setoption ] { + + - Parameters [2] { + Parameter #0 [ <required> $option ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method _prefix ] { + Method [ <internal:redis> public method setrange ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $offset ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method _serialize ] { + Method [ <internal:redis> public method sinter ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method _unserialize ] { + Method [ <internal:redis> public method sinterstore ] { + + - Parameters [3] { + Parameter #0 [ <required> $dst ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method _masters ] { + Method [ <internal:redis> public method sismember ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method _redir ] { + Method [ <internal:redis> public method slowlog ] { + + - Parameters [3] { + Parameter #0 [ <required> $key_or_address ] + Parameter #1 [ <optional> $arg ] + Parameter #2 [ <optional> ...$other_args ] + } } - Method [ <internal:redis> public method multi ] { + Method [ <internal:redis> public method smembers ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method exec ] { + Method [ <internal:redis> public method smove ] { + + - Parameters [3] { + Parameter #0 [ <required> $src ] + Parameter #1 [ <required> $dst ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method discard ] { + Method [ <internal:redis> public method sort ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> array $options ] + } } - Method [ <internal:redis> public method watch ] { + Method [ <internal:redis> public method spop ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method unwatch ] { + Method [ <internal:redis> public method srandmember ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> $count ] + } } - Method [ <internal:redis> public method save ] { + Method [ <internal:redis> public method srem ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } } - Method [ <internal:redis> public method bgsave ] { + Method [ <internal:redis> public method sscan ] { + + - Parameters [4] { + Parameter #0 [ <required> $str_key ] + Parameter #1 [ <required> &$i_iterator ] + Parameter #2 [ <optional> $str_pattern ] + Parameter #3 [ <optional> $i_count ] + } } - Method [ <internal:redis> public method flushdb ] { + Method [ <internal:redis> public method strlen ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method flushall ] { + Method [ <internal:redis> public method subscribe ] { + + - Parameters [1] { + Parameter #0 [ <required> array $channels ] + } } - Method [ <internal:redis> public method dbsize ] { + Method [ <internal:redis> public method sunion ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method bgrewriteaof ] { + Method [ <internal:redis> public method sunionstore ] { + + - Parameters [3] { + Parameter #0 [ <required> $dst ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method lastsave ] { + Method [ <internal:redis> public method time ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method info ] { + Method [ <internal:redis> public method ttl ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method role ] { + Method [ <internal:redis> public method type ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method time ] { + Method [ <internal:redis> public method unsubscribe ] { + + - Parameters [2] { + Parameter #0 [ <required> $channel ] + Parameter #1 [ <optional> ...$other_channels ] + } } - Method [ <internal:redis> public method randomkey ] { + Method [ <internal:redis> public method unlink ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method ping ] { + Method [ <internal:redis> public method unwatch ] { + + - Parameters [0] { + } } - Method [ <internal:redis> public method echo ] { + Method [ <internal:redis> public method watch ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> ...$other_keys ] + } } - Method [ <internal:redis> public method command ] { + Method [ <internal:redis> public method zadd ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $score ] + Parameter #2 [ <required> $value ] + } } - Method [ <internal:redis> public method rawcommand ] { + Method [ <internal:redis> public method zcard ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } } - Method [ <internal:redis> public method cluster ] { + Method [ <internal:redis> public method zcount ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } } - Method [ <internal:redis> public method client ] { + Method [ <internal:redis> public method zincrby ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <required> $member ] + } } - Method [ <internal:redis> public method config ] { + Method [ <internal:redis> public method zinterstore ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $keys ] + Parameter #2 [ <optional> array or NULL $weights ] + Parameter #3 [ <optional> $aggregate ] + } } - Method [ <internal:redis> public method pubsub ] { + Method [ <internal:redis> public method zlexcount ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } } - Method [ <internal:redis> public method script ] { + Method [ <internal:redis> public method zrange ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + Parameter #3 [ <optional> $scores ] + } } - Method [ <internal:redis> public method slowlog ] { + Method [ <internal:redis> public method zrangebylex ] { + + - Parameters [5] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + Parameter #3 [ <optional> $offset ] + Parameter #4 [ <optional> $limit ] + } } - Method [ <internal:redis> public method geoadd ] { + Method [ <internal:redis> public method zrangebyscore ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + Parameter #3 [ <optional> array $options ] + } } - Method [ <internal:redis> public method geohash ] { + Method [ <internal:redis> public method zrank ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } } - Method [ <internal:redis> public method geopos ] { + Method [ <internal:redis> public method zrem ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + Parameter #2 [ <optional> ...$other_members ] + } } - Method [ <internal:redis> public method geodist ] { + Method [ <internal:redis> public method zremrangebylex ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } } - Method [ <internal:redis> public method georadius ] { + Method [ <internal:redis> public method zremrangebyrank ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } } - Method [ <internal:redis> public method georadiusbymember ] { + Method [ <internal:redis> public method zremrangebyscore ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } + } + + Method [ <internal:redis> public method zrevrange ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + Parameter #3 [ <optional> $scores ] + } + } + + Method [ <internal:redis> public method zrevrangebylex ] { + + - Parameters [5] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + Parameter #3 [ <optional> $offset ] + Parameter #4 [ <optional> $limit ] + } + } + + Method [ <internal:redis> public method zrevrangebyscore ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + Parameter #3 [ <optional> array $options ] + } + } + + Method [ <internal:redis> public method zrevrank ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } + } + + Method [ <internal:redis> public method zscan ] { + + - Parameters [4] { + Parameter #0 [ <required> $str_key ] + Parameter #1 [ <required> &$i_iterator ] + Parameter #2 [ <optional> $str_pattern ] + Parameter #3 [ <optional> $i_count ] + } + } + + Method [ <internal:redis> public method zscore ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $member ] + } + } + + Method [ <internal:redis> public method zunionstore ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $keys ] + Parameter #2 [ <optional> array or NULL $weights ] + Parameter #3 [ <optional> $aggregate ] + } } } } diff --git a/php-pecl-redis4.spec b/php-pecl-redis4.spec index 3f9389e..6db0534 100644 --- a/php-pecl-redis4.spec +++ b/php-pecl-redis4.spec @@ -1,7 +1,4 @@ -# remirepo spec file for php-pecl-redis -# adapted for scl, from -# -# Fedora spec file for php-pecl-redis +# remirepo spec file for php-pecl-redis4 # # Copyright (c) 2012-2018 Remi Collet # License: CC-BY-SA @@ -27,11 +24,11 @@ # after 40-igbinary %global ini_name 50-%{pecl_name}.ini %endif -%global upstream_version 3.1.6 -#global upstream_prever RC2 +%global upstream_version 4.0.0 +%global upstream_prever RC1 Summary: Extension for communicating with the Redis key-value store -Name: %{?sub_prefix}php-pecl-redis +Name: %{?sub_prefix}php-pecl-redis4 Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -44,6 +41,7 @@ BuildRequires: %{?scl_prefix}php-pear %if %{with_igbin} BuildRequires: %{?sub_prefix}php-pecl-igbinary-devel %endif +BuildRequires: liblzf-devel # to run Test suite %if %{with_tests} BuildRequires: redis >= 3 @@ -61,36 +59,33 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -%if "%{?scl_prefix}" != "%{?sub_prefix}" + +%if 0%{?fedora} >= 99 +Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 4 +%else +# A single version can be installed +Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 4 Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} %endif %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -Obsoletes: php53-pecl-%{pecl_name} <= %{version} -Obsoletes: php53u-pecl-%{pecl_name} <= %{version} -Obsoletes: php54-pecl-%{pecl_name} <= %{version} -Obsoletes: php54w-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "5.5" -Obsoletes: php55u-pecl-%{pecl_name} <= %{version} -Obsoletes: php55w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "5.6" -Obsoletes: php56u-pecl-%{pecl_name} <= %{version} -Obsoletes: php56w-pecl-%{pecl_name} <= %{version} +Obsoletes: php56u-pecl-%{pecl_name}4 <= %{version} +Obsoletes: php56w-pecl-%{pecl_name}4 <= %{version} %endif %if "%{php_version}" > "7.0" -Obsoletes: php70u-pecl-%{pecl_name} <= %{version} -Obsoletes: php70w-pecl-%{pecl_name} <= %{version} +Obsoletes: php70u-pecl-%{pecl_name}4 <= %{version} +Obsoletes: php70w-pecl-%{pecl_name}4 <= %{version} %endif %if "%{php_version}" > "7.1" -Obsoletes: php71u-pecl-%{pecl_name} <= %{version} -Obsoletes: php71w-pecl-%{pecl_name} <= %{version} +Obsoletes: php71u-pecl-%{pecl_name}4 <= %{version} +Obsoletes: php71w-pecl-%{pecl_name}4 <= %{version} %endif %if "%{php_version}" > "7.2" -Obsoletes: php72u-pecl-%{pecl_name} <= %{version} -Obsoletes: php72w-pecl-%{pecl_name} <= %{version} +Obsoletes: php72u-pecl-%{pecl_name}4 <= %{version} +Obsoletes: php72w-pecl-%{pecl_name}4 <= %{version} %endif %endif @@ -120,9 +115,13 @@ mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS # Don't install/register tests sed -e 's/role="test"/role="src"/' \ %{?_licensedir:-e '/COPYING/s/role="doc"/role="src"/' } \ + -e '/liblzf/d' \ -i package.xml cd NTS +# Use system library +rm -r liblzf + # Sanity check, really often broken extver=$(sed -n '/#define PHP_REDIS_VERSION/{s/.* "//;s/".*$//;p}' php_redis.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then @@ -152,15 +151,22 @@ extension = %{pecl_name}.so ;session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeout=2.5, tcp://host3:6379?weight=2" ; Configuration -;redis.arrays.names = '' -;redis.arrays.hosts = '' -;redis.arrays.previous = '' +;redis.arrays.autorehash = '' +;redis.arrays.connecttimeout = '' +;redis.arrays.distributor = '' ;redis.arrays.functions = '' +;redis.arrays.hosts = '' ;redis.arrays.index = '' -;redis.arrays.autorehash = '' +;redis.arrays.lazyconnect = '' +;redis.arrays.names = '' +;redis.arrays.pconnect = '' +;redis.arrays.previous = '' +;redis.arrays.readtimeout = '' +;redis.arrays.retryinterval = '' +;redis.clusters.persistent = '' +;redis.clusters.read_timeout = '' ;redis.clusters.seeds = '' ;redis.clusters.timeout = '' -;redis.clusters.read_timeout = '' EOF @@ -175,6 +181,8 @@ cd NTS %if %{with_igbin} --enable-redis-igbinary \ %endif + --enable-redis-lzf \ + --with-liblzf \ --with-php-config=%{_bindir}/php-config make %{?_smp_mflags} @@ -187,6 +195,8 @@ cd ../ZTS %if %{with_igbin} --enable-redis-igbinary \ %endif + --enable-redis-lzf \ + --with-liblzf \ --with-php-config=%{_bindir}/zts-php-config make %{?_smp_mflags} %endif @@ -305,6 +315,12 @@ fi %changelog +* Wed Feb 7 2018 Remi Collet <remi@remirepo.net> - 4.0.0~RC1-1 +- update to 4.0.0RC1 +- rename to php-pecl-redis4 +- enable lzf support +- update configuration for new options + * Wed Jan 3 2018 Remi Collet <remi@remirepo.net> - 3.1.6-1 - Update to 3.1.6 |