restore php-5.3 compatibility
[m6w6/ext-http] / tests / client018.phpt
index 7acb911ad6c94a92ea51dd5a203be964200cceaa..c3ca9f96f3f655b9dff2f602187ed8f32b704955 100644 (file)
@@ -17,7 +17,7 @@ server("pipeline.inc", function($port, $stdin, $stdout, $stderr) {
        fputs($stdin, "3\n");
        
        $client = new http\Client(null);
-       $client->configure(["pipelining" => true, "max_host_connections" => 0]);
+       $client->configure(array("pipelining" => true, "max_host_connections" => 0));
        
        /* this is just to let curl know the server may be capable of pipelining */
        $client->enqueue(new http\Client\Request("GET", "http://localhost:$port"));