|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #71473 Number serialization aligned with ECMAScript6/Google V8
Submitted: 2016-01-28 07:56 UTC Modified: 2017-08-05 04:42 UTC
From: anders dot rundgren dot net at gmail dot com Assigned:
Status: Suspended Package: Scripting Engine problem
PHP Version: 7.0.2 OS: Any
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-01-28 07:56 UTC] anders dot rundgren dot net at gmail dot com
I haven't actually tested this but looking into the code (php_gcvt) make me convinced that this feature is missing.

The rationale for the request is here:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-28 10:22 UTC]
-Package: JSON related +Package: Scripting Engine problem
 [2016-01-28 10:22 UTC]
JSON data and other PHP data representation should/better have exactly the same value. I'm not sure if it is possible with mentioned de-facto standard, though.

Related RFC is

It's not a engine issue, but I suppose it's better category than JSON related.
 [2017-08-05 04:42 UTC]
-Status: Open +Status: Suspended
 [2017-08-05 04:42 UTC]
Thank you for your interest in PHP and for submitting a feature request. Please be aware that due to the magnitude of change this request requires, it would be necessary to discuss it on PHP Internals list ( as an RFC. Please read the guide about creating RFCs here:
If you haven't had experience with writing RFCs before, it is advised to seek guidance on the Internals list ( and/or solicit help from one of the experienced developers. 

Please to not consider this comment as a negative view on the merits of your proposal - every proposal which requires changes of certain magnitude, even the very successful and widely supported ones, must be done through the RFC process. This helps make the process predictable, transparent and accessible to all developers.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Oct 06 04:03:57 2022 UTC