For reference, the PHP_INT_MAX on my 64-bit linux VM is:
9223372036854775807

and using json_decode on the next_cursor field of an ids list works just fine.

I'm using PHP 5.2.10-0.dotdeb.1 (though PHP 5.2.11-0.dotdeb.1 is available)

fwiw,
-Chad

On Thu, Sep 24, 2009 at 3:29 PM, Dewald Pretorius <dpr...@gmail.com> wrote:
>
> That magical maximum number appears to be 1000000000000 (1.0E+12).
>
> So, for tweet ids we still have a bit of breathing space.
>
> Dewald
>
> On Sep 24, 4:18 pm, Dewald Pretorius <dpr...@gmail.com> wrote:
>> 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
>

Reply via email to