-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Expected behaviour
the contant RedisCluster::OPT_PREFIX is defined.
Actual behaviour
RedisCluster::OPT_PREFIX is not defined. causes an error with the message Uncaught Error: Undefined constant RedisCluster::OPT_PREFIX.
I'm seeing this behaviour on
- OS: macOS 12.6.1 and a Docker Container (based on Debian 11 bullseye)
- Redis: - (not installed)
- PHP: 8.1.8
- phpredis: lastest commit: 2a6dee5
Steps to reproduce, backtrace or example script
- https://github.com/n1215/phpredis-constant-bug
- the problem is not reproduced on the previous commit b580505
I've checked
- There is no similar issue from other users
- Issue isn't fixed in
developbranch