restore php-5.3 compatibility
[m6w6/ext-http] / tests / client008.phpt
index f8b8774eb8edc1c7511b8c7961438470fd9d5a88..98fc8f8aebc34d9da458bbf1a252a10f208b8e83 100644 (file)
@@ -18,7 +18,7 @@ server("pipeline.inc", function($port, $stdin) {
        $request = new http\Client\Request("GET", "http://localhost:$port");
        
        $client = new http\Client();
-       $client->configure(["pipelining" => true, "use_eventloop" => true]);
+       $client->configure(array("pipelining" => true, "use_eventloop" => true));
 
        $client->enqueue($request);
        $client->send();