php.net |  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:
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
Description:
------------
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:
https://github.com/Microsoft/ChakraCore/issues/149


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-28 10:22 UTC] yohgaki@php.net
-Package: JSON related +Package: Scripting Engine problem
 [2016-01-28 10:22 UTC] yohgaki@php.net
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
https://wiki.php.net/rfc/precise_float_value

It's not a engine issue, but I suppose it's better category than JSON related.
 [2017-08-05 04:42 UTC] stas@php.net
-Status: Open +Status: Suspended
 [2017-08-05 04:42 UTC] stas@php.net
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 (internals@lists.php.net) as an RFC. Please read the guide about creating RFCs here:
https://wiki.php.net/rfc/howto
If you haven't had experience with writing RFCs before, it is advised to seek guidance on the Internals list (http://php.net/mailing-lists.php) 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-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC