Skip to content
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

Added is_map function to check is array map or plain array #6

Closed
wants to merge 4 commits into from

Conversation

bobrik
Copy link

@bobrik bobrik commented 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.

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.
@laruence
Copy link
Member

and, a test script is needed, thanks :)

@laruence
Copy link
Member

if you don't want to make a test script, then I can do it. what do you think? thanks

@bobrik
Copy link
Author

bobrik commented Sep 25, 2012

It would be great! You may find test data here: msgpack/msgpack#87

@laruence
Copy link
Member

hey, after a deep look, I found this will introduce a performance issue, and the fix will alter the array internal pointer,

I got another fix, e8d25b0

thanks

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

Successfully merging this pull request may close these issues.

php BUG
2 participants