projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
release 1.6.1
[m6w6/ext-http]
/
tests
/
persistent_handles_002.phpt
diff --git
a/tests/persistent_handles_002.phpt
b/tests/persistent_handles_002.phpt
index fb4c8fa721b45f12f24125cae83507ad94cf1693..5b5d28cf60af23c4f0e40525077284a7b9d760f3 100644
(file)
--- a/
tests/persistent_handles_002.phpt
+++ b/
tests/persistent_handles_002.phpt
@@
-3,7
+3,7
@@
persistent handles
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
-checkmin(
5
);
+checkmin(
"5.2.5"
);
skipif(!http_support(HTTP_SUPPORT_REQUESTS), "need request support");
skipif(function_exists('zend_thread_id'), "need non-ZTS build");
?>
skipif(!http_support(HTTP_SUPPORT_REQUESTS), "need request support");
skipif(function_exists('zend_thread_id'), "need non-ZTS build");
?>
@@
-18,7
+18,7
@@
echo "No free handles!\n";
foreach (http_persistent_handles_count() as $provider => $idents) {
foreach ((array)$idents as $ident => $counts) {
if (!empty($counts["free"])) {
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"]);
}
}
}
}
}
}
@@
-40,7
+40,7
@@
print_r(http_persistent_handles_count());
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
-%
s
TEST
+%
a
TEST
No free handles!
One free request handle within GLOBAL: int(1)
Reusing request handle: bool(true)
No free handles!
One free request handle within GLOBAL: int(1)
Reusing request handle: bool(true)