Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with big int #34

Open
piotrooo opened this issue Jan 11, 2017 · 1 comment
Open

Problem with big int #34

piotrooo opened this issue Jan 11, 2017 · 1 comment

Comments

@piotrooo
Copy link

Following code:

$json = '{"int_overflow":9223372036854775807}';
$decoder = new JsonDecoder();
$decode = $decoder->decode($json);

Throws exception: json_decode(): integer overflow detected. This should be translate from a big int to the string value.

@peter279k
Copy link

It looks like it's the big integer issue.
I think we can convert this big integer to the string and it will not happen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants