阅读背景:

PHP中带有json_decode()的无符号ints

来源:互联网 

I realize that PHP does not support unsigned integers, but I'm wondering how to solve this issue I'm having with json_decode(). When I decode JSON that contains unsigned ints above 2^31, they come out negative, since they are being treated as signed ints. Is this something I can rectify by configuring my php.ini file or is there just something about json_decode that I'm not getting?I realize that PHP does not support unsigned in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: