通过php代码去弄 总是会被序列化
127.0.0.1:6379> ZRANGE key 0 -1 WITHSCORES1) "i:1;" 2) "1" 3) "s:6:\"google\";" 4) "1" 5) "i:4;" 6) "2" 7) "s:4:\"i:1;\";" 8) "2" 127.0.0.1:6379> ZRANGE key 0 -1 WITHSCORES
但是 我在cli下 可以直接添加正常. 这是为什么?
127.0.0.1:6379> zadd key 1 google(integer) 1 127.0.0.1:6379> ZRANGE key 0 -1 WITHSCORES 1) "google" 2) "1" 3) "i:1;" 4) "1" 5) "s:6:\"google\";" 6) "1" 7) "i:4;" 8) "2" 9) "s:4:\"i:1;\";" 10) "2" 127.0.0.1:6379>
RISEBY