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

Fix JSON parsing in PHP 7 #28

Merged
merged 3 commits into from
Feb 16, 2016
Merged

Fix JSON parsing in PHP 7 #28

merged 3 commits into from
Feb 16, 2016

Conversation

adlawson
Copy link
Contributor

It looks like json decoding an empty string doesn't work in PHP 7. Dunno why.
Tests pass in PHP 7 now.

Previous versions of PHP allowed empty strings, but support seems to
have been dropped in jsond.
@sjparkinson
Copy link
Contributor

Care to slap in a comment on why we need the crazy ternary?

@adlawson
Copy link
Contributor Author

Sure, no probs.

@sjparkinson
Copy link
Contributor

👌

sjparkinson added a commit that referenced this pull request Feb 16, 2016
Fix JSON parsing in PHP 7
@sjparkinson sjparkinson merged commit c4513b7 into master Feb 16, 2016
@sjparkinson sjparkinson deleted the fix-php7 branch February 16, 2016 15:18
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.

None yet

2 participants