Doc #74003 [Asn->Csd]: json_encode: Mention serialize_precision setting
| From: | bukka@php.net | Date: | Tue, 28 Mar 2017 15:11:47 +0000 |
| Subject: | Doc #74003 [Asn->Csd]: json_encode: Mention serialize_precision setting | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14552@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74003&edit=1
ID: 74003
Updated by: bukka@php.net
Reported by: mdrolc at gmail dot com
Summary: json_encode: Mention serialize_precision setting
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: JSON related
Operating System: Irrelevant
PHP Version: Irrelevant
Assigned To: bukka
Block user comment: N
Private report: N
New Comment:
I have added note about that to the description of json_encode and should be visible once mirrors
are synced up.
Previous Comments:
------------------------------------------------------------------------
[2017-03-28 15:09:45] bukka@php.net
Automatic comment from SVN on behalf of bukka
Revision: http://svn.php.net/viewvc/?view=revision&revision=342203
Log: Fix doc bug #74003 (json_encode: Mention serialize_precision setting)
------------------------------------------------------------------------
[2017-01-26 13:27:20] mdrolc at gmail dot com
Description:
------------
Encoding in json_encode is influenced by serialize_precision setting in php.ini. I suggest this is
mentioned in documentation of json_encode.
I had a bug related to json_encode producing different outputs on web and through CLI. I was only
able to identify influence of php.ini setting by Googling and finding information on stackoverflow.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74003&edit=1