<?php
include 'skip.inc';
skipif(!http_support(HTTP_SUPPORT_REQUESTS), "need request support");
+skipif(!function_exists('zend_thread_id'), "need ZTS build");
?>
--INI--
http.persistent.handles.limit=-1
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"]);
}
}
}
echo "Done\n";
?>
--EXPECTF--
-%sTEST
+%aTEST
No free handles!
One free request handle within GLOBAL: int(1)
Reusing request handle: bool(true)
)
- [http_request_pool] => Array
+ [http_request_datashare] => Array
(
[GLOBAL] => Array
(
)
- [http_request_datashare] => Array
+ [http_request_datashare_lock] => Array
(
[GLOBAL] => Array
(
)
- [http_request_datashare_lock] => Array
+ [http_request_pool] => Array
(
[GLOBAL] => Array
(