The documentation mentions use of the set methods such as: $redis->sAdd('key1' , 'set1'); I find this misleading as it suggests that the set1 is the _name of the set_ rather than a member of the set. I suggest you change the doc to the more obvious: $redis->sAdd('key1', 'member1'); which is how it's documented on the Redis website.