X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fenvrequestjson002.phpt;fp=tests%2Fenvrequestjson002.phpt;h=4c404c0d4f66fe094b10927b94d5111184b75d45;hp=0000000000000000000000000000000000000000;hb=87db9817d428282792c8146d9c2ae9748ebf6f1e;hpb=7a5c865f6faf8b1b6c91735e9d3b040449ea74ba diff --git a/tests/envrequestjson002.phpt b/tests/envrequestjson002.phpt new file mode 100644 index 0000000..4c404c0 --- /dev/null +++ b/tests/envrequestjson002.phpt @@ -0,0 +1,32 @@ +--TEST-- +env request json +--SKIPIF-- + +--PUT-- +Content-Type: application/json + +{"foo": "bar", "a": [1,2,3]} +--FILE-- + +Done +--EXPECT-- +Test +Array +( + [foo] => bar + [a] => Array + ( + [0] => 1 + [1] => 2 + [2] => 3 + ) + +) +Done +