Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$redis = new \Redis(); $redis->connect(REDIS_HOST, REDIS_PORT); $redis->setOption(\Redis::OPT_SERIALIZER, \Redis::SERIALIZER_PHP); $redis->select(7);
$redis->zAdd(REDIS_KEYS, 1, 1);
$data = $redis->zRank(REDIS_KEYS, 1); // OK var_dump($data);
$data = $redis->zRange(REDIS_KEYS, 0, -1, true); // segment fault var_dump($data);
The text was updated successfully, but these errors were encountered:
Ensure that we have a string when adding k->v items. The value could …
21d6614
…be otherwise if it was unserialized (fixes issue #195)
This is working for me now. Let me know if you still have issues!
Cheers, Mike
Sorry, something went wrong.
Thanks, it's working.
No branches or pull requests
$redis = new \Redis();
$redis->connect(REDIS_HOST, REDIS_PORT);
$redis->setOption(\Redis::OPT_SERIALIZER, \Redis::SERIALIZER_PHP);
$redis->select(7);
$redis->zAdd(REDIS_KEYS, 1, 1);
$data = $redis->zRank(REDIS_KEYS, 1); // OK
var_dump($data);
$data = $redis->zRange(REDIS_KEYS, 0, -1, true); // segment fault
var_dump($data);
The text was updated successfully, but these errors were encountered: