You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same output whether compression/serializer is enabled or disabled.
Running the code with the defaults, works.
With compression/serializer in any permutation, does not work.
7.4.33
bool(true)
NULL
int(42)
NULL
bool(false)
string(44) "ERR value is not an integer or out of range�"
int(42)
string(44) "ERR value is not an integer or out of range�"
Actual behaviour
I'm seeing this behaviour on
OS: Ubuntu 22.04 and 20.04
Redis: 7.0.11
PHP: 8.1.2 / 7.4.33
phpredis: 5.3.7
Steps to reproduce, backtrace or example script
I've checked
There is no similar issue from other users
Issue isn't fixed in develop branch
The text was updated successfully, but these errors were encountered:
Should we be creating wrappers and have checks with is_numeric and disabling the compression/serialization?**
You could do that or use a distinct object for serverside operations like INCR.
The reason it's not a bug is that INCR and DECR happen entirely on the server, and an igbinary serialized number won't look like a number to Redis, so it will just return an error.
There's not really anything we can do about that on our end.
Expected behaviour
Same output whether compression/serializer is enabled or disabled.
Running the code with the defaults, works.
With compression/serializer in any permutation, does not work.
output
enable compression/serializer
output
Actual behaviour
I'm seeing this behaviour on
Steps to reproduce, backtrace or example script
I've checked
develop
branchThe text was updated successfully, but these errors were encountered: