Unsigned ints with json_decode() in PHP -


i realize php not support unsigned integers, i'm wondering how solve issue i'm having json_decode(). when decode json contains unsigned ints above 2^31, come out negative, since being treated signed ints. can rectify configuring php.ini file or there json_decode i'm not getting?

the development version of php seems have planned option json_decode() problem: json_bigint_as_string (see example #5 in manual) there seems no production fix right now.

see this comment in user contributed notes.

any chance of outputting strings on encoding end somehow?


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -