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: 2016-01-28 10:22 UTC
From: anders dot rundgren dot net at gmail dot com Assigned:
Status: Open 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] [email protected]
-Package: JSON related +Package: Scripting Engine problem
 [2016-01-28 10:22 UTC] [email protected]
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.
 
PHP Copyright © 2001-2016 The PHP Group
All rights reserved.
Last updated: Thu Aug 18 12:01:39 2016 UTC