silly mistake
[m6w6/ext-http] / tests / persistent_handles_001.phpt
index 45332d97cbe1db07a0f4713032b7caf1e8f1bbb3..05d63b53639dc8d716dba50ffa1259a9e5b3b044 100644 (file)
@@ -4,6 +4,7 @@ persistent handles
 <?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
@@ -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
                 (