Edit report at https://bugs.php.net/bug.php?id=61537&edit=1

 ID:                 61537
 Comment by:         theanomaly dot is at gmail dot com
 Reported by:        j...@php.net
 Summary:            json_encode() incorrectly truncates/discards
                     information
 Status:             Re-Opened
 Type:               Bug
 Package:            JSON related
 Operating System:   all
 PHP Version:        5.4.0
 Assigned To:        aharvey
 Block user comment: N
 Private report:     N

 New Comment:

I had previously submitted this PR in light of this bug report, but unaware of 
aharvey at php dot net's patch I withdrew it afterwards. I'm submitting it 
again 
as a temporary solution since it doesn't break anything else. Should this 
functionality also provide an option for going back to the old behavior as 
nikic 
suggests in the PR comments? https://github.com/php/php-src/pull/111

stas at php dot net:

If so please let me know what you think...


Previous Comments:
------------------------------------------------------------------------
[2012-06-20 14:29:50] arjen at react dot com

This fix was reverted on 5.4, but not for 5.3.14.
5.3.14 is now behaving different than 5.4.4: http://3v4l.org/eeXV2

------------------------------------------------------------------------
[2012-05-02 07:11:50] s...@php.net

Automatic comment on behalf of stas
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=7bbd5521d28ee77c5a8df80174f52dad0112e872
Log: Revert "Fix bug #61537 (json_encode() incorrectly truncates/discards 
information) and"

------------------------------------------------------------------------
[2012-05-02 07:10:34] s...@php.net

Sorry, the fix wasn't correct, had to revert it. Please correct the wrong 
things 
and reapply.

------------------------------------------------------------------------
[2012-05-02 07:09:53] s...@php.net

Automatic comment on behalf of stas
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=7bbd5521d28ee77c5a8df80174f52dad0112e872
Log: Revert "Fix bug #61537 (json_encode() incorrectly truncates/discards 
information) and"

------------------------------------------------------------------------
[2012-04-12 10:03:35] johan...@php.net

Automatic comment on behalf of a...@pwd.net.au
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=3f3ad30c50c32327e723046bcc6649d05dd9236a
Log: Fix bug #61537 (json_encode() incorrectly truncates/discards information) 
and remove a test case that's now mooted by this fix.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=61537


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61537&edit=1

Reply via email to