Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zrange with AUTO SERIALIZE: segment fault #195

New issue

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

Closed
hshq opened this issue May 30, 2012 · 2 comments
Closed

zrange with AUTO SERIALIZE: segment fault #195

hshq opened this issue May 30, 2012 · 2 comments

Comments

@hshq
Copy link

hshq commented May 30, 2012

$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);

michael-grunder added a commit that referenced this issue May 30, 2012
…be otherwise if it was unserialized (fixes issue #195)
@michael-grunder
Copy link
Member

This is working for me now. Let me know if you still have issues!

Cheers,
Mike

@hshq
Copy link
Author

hshq commented Jun 8, 2012

Thanks, it's working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants