- ws
authorMichael Wallner <mike@php.net>
Mon, 7 Nov 2005 12:41:39 +0000 (12:41 +0000)
committerMichael Wallner <mike@php.net>
Mon, 7 Nov 2005 12:41:39 +0000 (12:41 +0000)
# must be some sort of complex that everything needs to be aligned...

tests/HttpRequestPool_003.phpt

index 48f6adfe9bc7864f9e84063b582bddb252d3120b..ccec043c45d2ec44d7254038a44493a557223bae 100644 (file)
@@ -48,7 +48,7 @@ class Pool extends HttpRequestPool
                                        HttpRequest::METH_GET,
                                        array(
                                                'redirect'      => 5,
                                        HttpRequest::METH_GET,
                                        array(
                                                'redirect'      => 5,
-                        'compress'  => GZIP,
+                                               'compress'  => GZIP,
                                                'timeout'       => TOUT,
                                                'connecttimeout' => TOUT,
                                                'lastmodified' => is_file($file)?filemtime($file):0
                                                'timeout'       => TOUT,
                                                'connecttimeout' => TOUT,
                                                'lastmodified' => is_file($file)?filemtime($file):0
@@ -114,7 +114,7 @@ define('RMAX', 10);
 chdir(dirname(__FILE__));
 
 $time = microtime(true);
 chdir(dirname(__FILE__));
 
 $time = microtime(true);
-$p = new Pool();
+$pool = new Pool();
 printf("Elapsed: %0.3fs\n", microtime(true)-$time);
 
 echo "Done\n";
 printf("Elapsed: %0.3fs\n", microtime(true)-$time);
 
 echo "Done\n";