|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55297 JSON_PRETTY_PRINT is only available since 5.4 which is not documented
Submitted: 2011-07-27 13:42 UTC Modified: 2011-07-27 22:18 UTC
From: jille at hexon dot cx Assigned: frozenfire (profile)
Status: Closed Package: JSON related
PHP Version: 5.3.6 OS: n/a
Private report: No CVE-ID: None
 [2011-07-27 13:42 UTC] jille at hexon dot cx
JSON_PRETTY_PRINT is listed as an option-flag, but is only available as of PHP 5.4 (r303425). That should be noted in the changelog.

From manual page:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-27 22:17 UTC]
Automatic comment from SVN on behalf of frozenfire
Log: Added changelog entry for JSON_PRETTY_PRINT, as per bug #55297.
 [2011-07-27 22:18 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: frozenfire
 [2011-07-27 22:18 UTC]
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

 For Windows:
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 16:01:29 2024 UTC