X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fpersistent_handles_002.phpt;h=fb4c8fa721b45f12f24125cae83507ad94cf1693;hb=e29a410679b63b8f96b6890d1418f39d9ed489cc;hp=6efa9cbfaecc71d0c0fe8cb129e929bf6d519bb6;hpb=f25310e793f05996d99ac7476cc1f2437e5bfb0e;p=m6w6%2Fext-http 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[]);