-
-
Couldn't load subscription status.
- Fork 185
fix issues #18 #19
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
base: master
Are you sure you want to change the base?
fix issues #18 #19
Conversation
|
can you add a failing test case? |
|
@cebe done :) |
|
I'm afraid this will break compatibility with existing data in redis. Upgrading to new version will result in some records to not be found anymore. |
|
I think this solution is better |
| ksort($key); // ensure order is always the same | ||
| $isNumeric = true; | ||
| foreach ($key as $value) { | ||
| foreach ($key as &$value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not forget to unset($value) after cycle end.
I fix it. Problem with type conversion
fixes #18