Skip to content

Conversation

@srgoogleguy
Copy link
Contributor

...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).

…formation

json_encode() will now always return bool(false) if an error is present
@nikic
Copy link
Member

nikic commented Jun 20, 2012

The previous patch added a new option to get back to the old behavior. Do we need this or not?

@tml
Copy link
Contributor

tml commented Jun 20, 2012

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.

@nikic
Copy link
Member

nikic commented Jun 23, 2012

Two preliminary commits:

84fe2cc
36fa17a

The warning for UTF-8 will be adjusted depending on what comes out of the discussion.

@tml
Copy link
Contributor

tml commented Jun 23, 2012

In the meantime, how do we get the ChangeLog corrected? It currently incorrectly asserts that this bug is fixed in 5.4.4

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

3 participants