-
Notifications
You must be signed in to change notification settings - Fork 509
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
php BUG #87
Comments
I got the same problem. $data = array('key' => 2, 1 => 3);
var_dump($data);
var_dump(msgpack_unpack(msgpack_pack($data))); In my case, not just keys became random, but also keys was corrupted.
|
Good news everyone: I made pull request to fix this bug. If you want it now, you may checkout my branch (php-fix) and rebuild module yourself. |
Thx! |
bobrik
added a commit
to Topface/msgpack-php
that referenced
this issue
Sep 25, 2012
This is copy of msgpack/msgpack#111 because of msgpack-php split. Fixes msgpack/msgpack#87 (bug with incorrect packing of mixed arrays). Patch is pretty straightforward.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
keys became random. also happens if there are arrays like
array('ley' => 2, 2 => 1, 1 => 3)
The text was updated successfully, but these errors were encountered: