If I use renameNx and rename a key to a key that is currently not existing the operation is performed well on Redis server. Nevertheless I get false as result from phpredis.
The follwing test fails:
$redis->set('oldkey', 'value');
$this->assertTrue(
$redis->renameNx('oldkey', 'newkey')
);
If I use renameNx and rename a key to a key that is currently not existing the operation is performed well on Redis server. Nevertheless I get false as result from phpredis.
The follwing test fails: