restore php-5.3 compatibility
[m6w6/ext-http] / tests / client015.phpt
index 70b5f43bc603c8a417bc08eeeac0d5c5787ba674..f378653808824a2eb873857fe5242d8267fb86bc 100644 (file)
@@ -16,8 +16,8 @@ server("proxy.inc", function($port) {
        $client1 = new http\Client;
        $client2 = new http\Client;
        
-       $client1->configure(["use_eventloop" => true]);
-       $client2->configure(["use_eventloop" => true]);
+       $client1->configure(array("use_eventloop" => true));
+       $client2->configure(array("use_eventloop" => true));
        
        $client1->enqueue(new http\Client\Request("GET", "http://localhost:$port/"));
        $client2->enqueue(new http\Client\Request("GET", "http://localhost:$port/"));