4 <?php include "skipif.inc"; ?>
6 Content-Type: test/something
13 always_populate_raw_post_data=-1
18 use http\env\Request as HttpEnvRequest;
20 $m = new HttpEnvRequest();
24 echo "Message->toString\n";
27 echo "Body->toString\n";
28 var_dump((string)$m->getBody());
31 var_dump(file_get_contents("php://input"));
41 ["requestMethod":protected]=>
43 ["requestUrl":protected]=>
45 ["responseStatus":protected]=>
47 ["responseCode":protected]=>
49 ["httpVersion":protected]=>
51 ["headers":protected]=>
58 string(14) "test/something"
62 ["parentMessage":protected]=>
65 object(http\QueryString)#2 (1) {
66 ["queryArray":"http\QueryString":private]=>
71 object(http\QueryString)#3 (1) {
72 ["queryArray":"http\QueryString":private]=>
84 Content-Type: test/something%a