X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fmessage002.phpt;h=0809676e8dc797273d595efb787ba841c142afba;hb=c67228639ce71c21859f73bf72fad67354281adb;hp=06d9e1b909d996db5fb18519e85a468b7f2d4284;hpb=87db9817d428282792c8146d9c2ae9748ebf6f1e;p=m6w6%2Fext-http diff --git a/tests/message002.phpt b/tests/message002.phpt index 06d9e1b..0809676 100644 --- a/tests/message002.phpt +++ b/tests/message002.phpt @@ -9,8 +9,10 @@ b=c HTTP_X_TEST=test --COOKIE-- foo=bar +--INI-- +always_populate_raw_post_data=-1 --FILE-- -getBody()); echo "stream\n"; var_dump(file_get_contents("php://input")); - -echo "Done\n"; +?> +Done --EXPECTF-- Test object(%s)#%d (12) { ["type":protected]=> int(1) ["body":protected]=> - object(http\Message\Body)#%d (0) { - } + NULL ["requestMethod":protected]=> string(4) "POST" ["requestUrl":protected]=>