develop
Commits on Oct 10, 2022
Commits on Oct 9, 2022
Commits on Oct 8, 2022
-
-
Add the new RESTORE options REPLACE, ABSTTL, FREQ <freq> and IDLETIME <idletime> Fixes #1410
-
[B]LMPOP and [B]ZMPOP commands
Implement the new Redis 7.0.0 commands to pop multiple elements from one or more lists/zsets. Additionally, remove INTERNAL_FUNCTION_PARAMETERS from the redis_sock_read_multibulk_reply_zval helper function as it wasn't actually being used.
-
WIP: Update stubs so the tests pass in strict mode
These changes allow the PHP 8 unit tests to pass even when zpp strict mode is enabled. I'm not exactly sure which setting causes the issue, but without these changes I get many `zpp` errors if I run the tests inside of a PHP build tree.
Commits on Oct 7, 2022
-
Allow negative timeout/read_timeout and fix doc
Co-authored-by: twosee <twose@qq.com>
Commits on Oct 6, 2022
-
Fix documentation for resetStat
There is no `resetStat` command, but there is `CONFIG RESETSTAT`. Fixes #928
Commits on Oct 5, 2022
-
Co-authored-by: <tillkruss@users.noreply.github.com>
-
Commits on Oct 3, 2022
-
Relax OBJECT idletime tests to avoid false failures.
Instead of testing that `OBJECT IDLETIME` returns exactly zero after updating a key in our tests, just make sure PhpRedis returns us some numeric value. We can't really test for a specific number of elapsed seconds in CI as the VMs may be randomly preempted at times beyond our control, causing the tests to "fail" even though there was no actual failure.
Commits on Oct 2, 2022
Commits on Oct 1, 2022
-
SINTERCARD and ZINTERCARD commands
Implement Redis 7.0.0 commands SINTERCARD and ZINTERCARD.
-
Rework the CONFIG command and add RESETSTAT variant. Fixes #1673
-
Add back a default switch case for setoption handler
We can't use `EMPTY_SWITCH_DEFAULT_CASE` here as the underlying macro will actually panic, as it calls `ZEND_UNREACHABLE` under the hood.
Commits on Sep 30, 2022
Commits on Sep 29, 2022
Commits on Sep 27, 2022
Commits on Sep 23, 2022
Commits on Sep 19, 2022
-
-
Issue #2080: avoid registering the same replicas multiple times in ca…
…se the master handles multiple slot ranges
Commits on Sep 18, 2022
-
On https://pecl.php.net/package/redis is hard to find url to windows dll's - direct url will help https://windows.php.net/downloads/pecl/releases/redis/
-
Return false or NULL on empty lpos response (#2151)
Return false or NULL on empty lpos response To be consistent with other PhpRedis methods, we should return either false or NULL when LPOS returns no results, depening on NULL_MBULK_AS_NULL setting.
Commits on Sep 17, 2022
Commits on Sep 15, 2022
-
-
Add 'BIT'/'BYTE' modifier to BITCOUNT + tests (#2149)
BITCOUNT can take a third optional argument ('BIT', or 'BYTE'). Additionally add a specific test for BITCOUNT that tests all of the legal ways it can be called in PhpRedis. -
Fix non standards conforming prototypes. (#2150)
These now generate warnings with GCC 13
Commits on Sep 8, 2022
-
-
Merge pull request #2147 from phpredis/issue-1894-client
Redis::client command

