X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fpersistent_handles_002.phpt;fp=tests%2Fpersistent_handles_002.phpt;h=fb4c8fa721b45f12f24125cae83507ad94cf1693;hp=6efa9cbfaecc71d0c0fe8cb129e929bf6d519bb6;hb=db5299a8b005bf625b4e34666b48e6cce8990482;hpb=976c6c8c58c93c4ab74e9c23e1cf5b31b2b1bd78 diff --git a/tests/persistent_handles_002.phpt b/tests/persistent_handles_002.phpt index 6efa9cb..fb4c8fa 100644 --- a/tests/persistent_handles_002.phpt +++ b/tests/persistent_handles_002.phpt @@ -3,6 +3,7 @@ persistent handles --SKIPIF-- @@ -25,7 +26,8 @@ foreach (http_persistent_handles_count() as $provider => $idents) { http_get("http://www.google.com/", null, $info[]); echo "One free request handle within GLOBAL: "; -var_dump(http_persistent_handles_count()->http_request["GLOBAL"]["free"]); +$h = http_persistent_handles_count(); +var_dump($h->http_request["GLOBAL"]["free"]); echo "Reusing request handle: "; http_get("http://www.google.com/", null, $info[]);