I've run into a serious issue and I don't know if I am overlooking

When retrieving ids with cursoring, and then doing a PHP json_decode
on the data, the cursor value is converted to an exponentional number

For example:


yields "next_cursor":1314614526448841129 in the raw JSON data.

After json_decode the value is converted to 1.31461452645E+18.

I've tried both json_decode to an object and to an associative array
and both give the same result.

As you will notice, even if one were to typecast that number to float,
there is still 8 digits missing, which would yield an invalid cursor.

So, am I missing something glaringly obvious, or does someone have a
solution to this issue?


Reply via email to