X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2F004.phpt;fp=tests%2F004.phpt;h=2b696655dac63601126e7aa060fdcb22b8b950a1;hb=b14bbb2fd8b3d37dbc59b38b87642422f9e2632b;hp=0000000000000000000000000000000000000000;hpb=3964b8f0cd83ef3ba5de9d0b2e5e395f95404a8c;p=m6w6%2Fext-json_post diff --git a/tests/004.phpt b/tests/004.phpt new file mode 100644 index 0000000..2b69665 --- /dev/null +++ b/tests/004.phpt @@ -0,0 +1,27 @@ +--TEST-- +json_post with > 32bits integer as float on 64bits +--SKIPIF-- + +--INI-- +json_post.flags=0 +--POST_RAW-- +Content-type: text/json + +{ + "bigint": 12345678901234 +} +--FILE-- + +Done +--EXPECTF-- +object(stdClass)#%d (1) { + ["bigint"]=> + int(12345678901234) +} +int(0) +Done \ No newline at end of file