Edit report at https://bugs.php.net/bug.php?id=68456&edit=1
ID: 68456
Comment by: ericc6727 at gmail dot com
Reported by: admin at bittylicious dot com
Summary: json_decode should be able to treat all numbers as
strings
Status: Wont fix
Type: Feature/Change Request
Package: JSON related
Operating System: Linux Wheezy
PHP Version: 5.4.35
Assigned To: bukka
Block user comment: N
Private report: N
New Comment:
cool
Previous Comments:
------------------------------------------------------------------------
[2022-01-30 23:55:19] ericc6727 at gmail dot com
Many people, on the other hand, have no idea that https://safetrading.today/traders/wcse/ exists.
You should also pay attention to professionals, such as binary crypto signals free, which you can
learn more about here. It should not be a problem, in my opinion. In general, this is a fantastic
signal.
------------------------------------------------------------------------
[2015-06-23 08:19:13] admin at bittylicious dot com
OK, thank you for taking this as far as you at all were able to do so.
I still disagree with the outcome (as you may imagine) as this is a feature request that borders on
a bug, but the elders have spoken.
Thanks again.
------------------------------------------------------------------------
[2015-06-21 13:36:21] bukka@php.net
The RFC has been rejected and there won't be any json_decode flag that would decode all numbers
as strings.
https://wiki.php.net/rfc/json_numeric_as_string#voting
The more generic solution (e.g. JsonSchema based) is preferred.
------------------------------------------------------------------------
[2015-04-22 18:07:53] admin at bittylicious dot com
Thanks very much for that. I certainly think the severity warrants it considering there is no real
workaround.
------------------------------------------------------------------------
[2015-04-22 17:26:17] bukka@php.net
As I said I don't think that adding new flags is the best solution but it's also true that
properly implementing json schema will take much longer and it's a relatively big feature.
Ok then I will let the PHP members decide. It means that I will proceed with the RFC. I will need to
add more info into it but will probably put it under discussion in the next few weeks.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=68456
--
Edit this bug report at https://bugs.php.net/bug.php?id=68456&edit=1