Bug Fix for bug#61537 json_encode() incorrectly truncates/discards infor...#111
Closed
srgoogleguy wants to merge 1 commit intophp:masterfrom
srgoogleguy:BugFix61537
Closed
Bug Fix for bug#61537 json_encode() incorrectly truncates/discards infor...#111srgoogleguy wants to merge 1 commit intophp:masterfrom srgoogleguy:BugFix61537
srgoogleguy wants to merge 1 commit intophp:masterfrom
srgoogleguy:BugFix61537
Conversation
…formation json_encode() will now always return bool(false) if an error is present
Member
|
The previous patch added a new option to get back to the old behavior. Do we need this or not? |
Contributor
|
I would consider the BC option to be optional; there may be someone out there who is relying on the current behaviour, but that behaviour has never (AFAICT) matched what json_encode() is documented to do. |
Member
Contributor
|
In the meantime, how do we get the ChangeLog corrected? It currently incorrectly asserts that this bug is fixed in 5.4.4 |
Contributor
Author
|
Closing I see no point for this to remain opened at this time. |
php-pulls
pushed a commit
that referenced
this pull request
Sep 15, 2014
php-pulls
pushed a commit
that referenced
this pull request
Sep 15, 2014
* PHP-5.6: Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in ee275e3 Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in ee275e3 Fix bug #111 (compile error without ZEND_SIGNALS) Don't run travis against master (phpng) Update README.md
php-pulls
pushed a commit
that referenced
this pull request
Sep 15, 2014
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
...mation
json_encode() will now always return bool(false) if an error is present
I'm resubmitting this since the previous patch was reverted. This was originally intended as a temporary workaround but someone has suggested it be submitted in light of the revert to close the bug report. Let me know if any changes need to go through (I'm submitting this PR for master).