When using a sorted set and doing a zScan call on it, I get a Notice for Array to String conversion and I do wonder where that comes from. Does anyone have an idea?
This is the code:
$redis = new Redis();
$redis->connect('127.0.0.1');
$redis->setOption(Redis::OPT_SERIALIZER, Redis::SERIALIZER_PHP);
$redis->zAdd('check', 0, array('a'));
$it = NULL;
$redis->zScan('check', $it);
Tried that with Redis::SERIALIZER_IGBINARY
too but got the same results. It must be the value set because if I do a $redis->zAdd('check', 0,'a');
everything is fine.
I am using PHP 7.1.12 with php-redis 3.1.4