php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55786 5.2.1 json_encode() change incorrect
Submitted: 2011-09-26 18:03 UTC Modified: 2011-12-05 06:52 UTC
From: php dot net at chris dot cs278 dot org Assigned: frozenfire (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php dot net at chris dot cs278 dot org
New email:
PHP Version: OS:

 

 [2011-09-26 18:03 UTC] php dot net at chris dot cs278 dot org
Description:
------------
According to the changelog for the function json_encode() it gained the ability to encode basic types in 5.2.1, this is incorrect. json_decode() gained the ability to decode basic types.

Bug:
https://bugs.php.net/bug.php?id=38680

Changelog entry:
Fixed bug #38680 (Added missing handling of basic types in json_decode). (Ilia)

---
From manual page: http://www.php.net/function.json-encode#refsect1-function.json-encode-changelog
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-12-03 19:41 UTC] frozenfire@php.net
Automatic comment from SVN on behalf of frozenfire
Revision: http://svn.php.net/viewvc/?view=revision&revision=320312
Log: Moved 5.2.1 changelog item from -encode to -decode, as it was meant to be. Closes bug #55786.
 [2011-12-03 19:41 UTC] frozenfire@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2011-12-03 19:41 UTC] frozenfire@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: frozenfire
 [2011-12-03 19:41 UTC] frozenfire@php.net
-Package: JSON related +Package: Documentation problem
 [2011-12-05 06:45 UTC] irker@php.net
-Status: Closed +Status: Re-Opened
 [2011-12-05 06:45 UTC] irker@php.net
Added support for JSON encoding of basic types.
Need also replace "encoding" to "decoding". Thx!
 [2011-12-05 06:51 UTC] frozenfire@php.net
Automatic comment from SVN on behalf of frozenfire
Revision: http://svn.php.net/viewvc/?view=revision&revision=320399
Log: Typo in changelog. Closes bug #55786.
 [2011-12-05 06:52 UTC] frozenfire@php.net
-Status: Re-Opened +Status: Closed
 [2011-12-05 06:52 UTC] frozenfire@php.net
Thanks, Irker. :)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 17:00:01 2026 UTC