X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fpersistent_handles_001.phpt;h=05d63b53639dc8d716dba50ffa1259a9e5b3b044;hb=ac6011fd12223817daa9ab93f8208da0281022b6;hp=45332d97cbe1db07a0f4713032b7caf1e8f1bbb3;hpb=6968eb8ac7ad68faefc1fc05b4d53389d004cf3c;p=m6w6%2Fext-http diff --git a/tests/persistent_handles_001.phpt b/tests/persistent_handles_001.phpt index 45332d9..05d63b5 100644 --- a/tests/persistent_handles_001.phpt +++ b/tests/persistent_handles_001.phpt @@ -4,6 +4,7 @@ persistent handles --INI-- http.persistent.handles.limit=-1 @@ -16,7 +17,7 @@ echo "No free handles!\n"; foreach (http_persistent_handles_count() as $provider => $idents) { foreach ((array)$idents as $ident => $counts) { if (!empty($counts["free"])) { - printf("%s, %s, %s\n", $provider, $ident, $counts["free"]); + printf("%a, %a, %a\n", $provider, $ident, $counts["free"]); } } } @@ -37,7 +38,7 @@ print_r(http_persistent_handles_count()); echo "Done\n"; ?> --EXPECTF-- -%sTEST +%aTEST No free handles! One free request handle within GLOBAL: int(1) Reusing request handle: bool(true) @@ -56,7 +57,7 @@ stdClass Object ) - [http_request_pool] => Array + [http_request_datashare] => Array ( [GLOBAL] => Array ( @@ -66,7 +67,7 @@ stdClass Object ) - [http_request_datashare] => Array + [http_request_datashare_lock] => Array ( [GLOBAL] => Array ( @@ -76,7 +77,7 @@ stdClass Object ) - [http_request_datashare_lock] => Array + [http_request_pool] => Array ( [GLOBAL] => Array (