Skip to content

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

Closed
bobrik wants to merge 4 commits into
msgpack:masterfrom
Topface:map-fix
Closed

Added is_map function to check is array map or plain array#6
bobrik wants to merge 4 commits into
msgpack:masterfrom
Topface:map-fix

Conversation

@bobrik

@bobrik bobrik commented Sep 25, 2012

Copy link
Copy Markdown

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
Copy Markdown
Member

and, a test script is needed, thanks :)

@laruence

Copy link
Copy Markdown
Member

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

@bobrik

bobrik commented Sep 25, 2012

Copy link
Copy Markdown
Author

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

@laruence

Copy link
Copy Markdown
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