4 <?php include "skipif.inc"; ?>
7 (new http\Request\Factory(array("persistentHandleId" => "foo")))
8 ->createRequest("http://dev.iworks.at")
9 ->setOptions(array("connecttimeout"=> 90, "timeout" =>300))
11 $r = (new http\Request\Factory(array("persistentHandleId" => "bar")))
12 ->createRequest("http://dev.iworks.at")
13 ->setOptions(array("connecttimeout"=> 90, "timeout" =>300));
15 var_dump(http\Env::statPersistentHandles());
16 http\Env::cleanPersistentHandles();
17 var_dump(http\Env::statPersistentHandles());
21 var_dump(http\Env::statPersistentHandles());
25 object(stdClass)#%d (3) {
26 ["http_request_datashare.curl"]=>
29 ["http_request_pool.curl"]=>
32 ["http_request.curl"]=>
50 object(stdClass)#%d (3) {
51 ["http_request_datashare.curl"]=>
54 ["http_request_pool.curl"]=>
57 ["http_request.curl"]=>
68 object(stdClass)#%d (3) {
69 ["http_request_datashare.curl"]=>
72 ["http_request_pool.curl"]=>
75 ["http_request.curl"]=>