mirror of
https://github.com/predis/predis.git
synced 2026-08-25 13:09:35 +00:00
24e19a9b76
When iterating a sorted set containing integer members, our iterator abstraction based on ZSCAN was always returning "0" as a member value after the first $member => $score pair because of a wrong assumption on how the PHP function array_shift() (used internally to advance to the next pair in our buffered response to ZSCAN) works. Fixes #216.