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

Simple test for plain arrays serialization #642

Closed

Conversation

scaytrase
Copy link
Contributor

Test and fix sample

Add keys range check and remove string key requirement (numeric keys are ok for php plain arrays)

@goetas
Copy link
Collaborator

goetas commented Sep 9, 2016

duplicate of #626 ?

@scaytrase
Copy link
Contributor Author

A bit. #626 Proposed more complete, but I have additional simple test for plain arrays. I can remove fix and propose test only

@scaytrase scaytrase force-pushed the bugfix/array-normalization branch from 6db2a00 to 4fad547 Compare September 9, 2016 10:50
@scaytrase scaytrase changed the title Traverse non-type-configured arrays Simple test for plain arrays serialization Sep 9, 2016
@scaytrase
Copy link
Contributor Author

@goetas updated, now it is compatible with #626

@goetas
Copy link
Collaborator

goetas commented Sep 9, 2016

what about the failing test?

@scaytrase
Copy link
Contributor Author

It would be fixed with #626, I think. That's the demonstration of the bug that currently present

@goetas
Copy link
Collaborator

goetas commented Sep 9, 2016

aaa, i see 👍

@goetas goetas closed this in #660 Oct 28, 2016
@scaytrase scaytrase deleted the bugfix/array-normalization branch May 19, 2017 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plain arrays are serialized (normalized) as "objects", ignoring serializeNull
2 participants