Clearly PHP_INT_MAX plays no role in json_decode.

There must be some other mystical maximum number above which it
represents the number as float in the decoded data.

Dewald

On Sep 24, 4:05 pm, Dewald Pretorius <dpr...@gmail.com> wrote:
> Chad,
>
> PHP_INT_MAX is 2147483647.
>
> And yet, json_decode is still correctly decoding "id":4348298957.
>
> O-o
>
> Dewald
>
> On Sep 24, 3:58 pm, Chad Etzel <c...@twitter.com> wrote:
>
> > Dewald,
>
> > What do you get on your server if you do:
>
> > echo PHP_INT_MAX;
>
> > also, what version of PHP are you using?
>
> > -Chad

Reply via email to