Expected behaviour
var_dump(method_exists($redis, 'resetstat')); should return bool(true)
Actual behaviour
it returns false
I'm seeing this behaviour on
- OS: macOS 10.14.6
- Redis: 5.0.6
- PHP: 7.2.1
- phpredis: 5.1.1
I also see this on Linux, PHP 7.3.11, Redis 5.0.6, phpredis 5.1.1
Steps to reproduce, backtrace or example script
php -a
php > $redis = new Redis();
php > $redis->connect('127.0.0.1', 6379);
php > var_dump(method_exists($redis, 'flushDB'));
bool(true)
php > var_dump(method_exists($redis, 'resetStat'));
bool(false)
php > var_dump(method_exists($redis, 'resetstat'));
bool(false)
I've checked
Although there's issue #928, but it has been open for over 3 years and I think it's something else. I don't get any fatal errors.
Expected behaviour
var_dump(method_exists($redis, 'resetstat'));should returnbool(true)Actual behaviour
it returns false
I'm seeing this behaviour on
I also see this on Linux, PHP 7.3.11, Redis 5.0.6, phpredis 5.1.1
Steps to reproduce, backtrace or example script
I've checked
developbranchAlthough there's issue #928, but it has been open for over 3 years and I think it's something else. I don't get any fatal errors.