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
Post a Comment