X
"
object(HttpMessage)#%d (%d) {
- ["type%sprotected%s]=>
+ ["type%s]=>
int(2)
- ["body%sprotected%s]=>
+ ["body%s]=>
string(0) ""
- ["requestMethod%sprotected%s]=>
+ ["requestMethod%s]=>
string(0) ""
- ["requestUrl%sprotected%s]=>
+ ["requestUrl%s]=>
string(0) ""
- ["responseStatus%sprotected%s]=>
+ ["responseStatus%s]=>
string(2) "Ok"
- ["responseCode%sprotected%s]=>
+ ["responseCode%s]=>
int(200)
- ["httpVersion%sprotected%s]=>
+ ["httpVersion%s]=>
float(1.1)
- ["headers%sprotected%s]=>
+ ["headers%s]=>
array(1) {
["Server"]=>
string(9) "Funky/1.0"
}
- ["parentMessage%sprotected%s]=>
+ ["parentMessage%s]=>
NULL
}
int(1)
int(3)
}
object(HttpQueryString)#1 (2) {
- ["queryArray%sprivate%s]=>
+ ["queryArray%s]=>
&array(3) {
["c"]=>
string(3) "3.4"
string(1) "2"
}
}
- ["queryString%sprivate%s]=>
+ ["queryString%s]=>
&string(49) "c=3.4&r%5B0%5D=1&r%5B1%5D=2&r%5B2%5D=3&z%5B0%5D=2"
}
array(3) {
int(3)
}
object(HttpQueryString)#1 (2) {
- ["queryArray%sprivate%s]=>
+ ["queryArray%s]=>
array(3) {
["c"]=>
string(3) "3.4"
string(1) "2"
}
}
- ["queryString%sprivate%s]=>
+ ["queryString%s]=>
string(49) "c=3.4&r%5B0%5D=1&r%5B1%5D=2&r%5B2%5D=3&z%5B0%5D=2"
}
array(3) {
--EXPECTF--
%aTEST
object(HttpQueryString)#3 (2) {
- ["queryArray%sprivate%s]=>
+ ["queryArray%s]=>
array(1) {
["bar"]=>
array(1) {
int(1)
}
}
- ["queryString%sprivate%s]=>
+ ["queryString%s]=>
string(14) "bar%5Bbaz%5D=1"
}
object(HttpQueryString)#4 (2) {
- ["queryArray%sprivate%s]=>
+ ["queryArray%s]=>
array(1) {
["bar"]=>
array(1) {
int(0)
}
}
- ["queryString%sprivate%s]=>
+ ["queryString%s]=>
string(14) "bar%5Bbaz%5D=0"
}
Done
$c = $this->getResponseCode();
$b = $this->getResponseBody();
- printf("%d %a %d\n", $c, $u, strlen($b));
+ printf("%d %s %d\n", $c, $u, strlen($b));
if ($c == 200 && $this->pool->dir) {
file_put_contents($this->pool->all[$u], $b);
?>
--EXPECTF--
%aTEST
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
-%d %a %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
+%d %s %d
Elapsed: %fs
Done
[content_length_download] => %d
[content_length_upload] => %d
[starttransfer_time] => %f
- [content_type] => text/html
+ [content_type] => %s
[redirect_time] => %d
[redirect_count] => %d
[connect_code] => %d
[proxyauth_avail] => %d
[os_errno] => %d
[num_connects] => %d
- [ssl_engines] => Array%a
-
- [cookies] => Array%a
-
+ [ssl_engines] => Array
+ %a
+ [cookies] => Array
+ %a
[error] =>
)
Array