$m = new HttpEnvRequest();
var_dump($m);
-echo $m;
+echo $m,"\n";
var_dump((string)$m->getBody());
array(0) {
}
}
- ["post":protected]=>
+ ["form":protected]=>
object(http\QueryString)#3 (2) {
["errorHandling":protected]=>
NULL
}
POST / HTTP/1.1%a
X-Test: test%a
+Content-Length: 3%a
+Content-Type: test/something%a
Cookie: foo=bar%a
%a
-b=c%a
+b=c
string(3) "b=c"
Done