5.3 compatibility
[m6w6/ext-http] / tests / client030.phpt
index 582087f93f3fa93aadb0c483ffd3e69a61b0f6bb..2a07128f7d921450c670e5c898cf1e756e62d7f8 100644 (file)
@@ -17,9 +17,9 @@ class test implements SplObserver {
 }
 server("proxy.inc", function($port) {
        $client = new http\Client;
-       $client->configure([
+       $client->configure(array(
                        "use_eventloop" => true,
-       ]);
+       ));
        $client->attach(new test);
        $client->enqueue(new http\Client\Request("GET", "http://localhost:$port/"), function($r) {
                var_dump($r->getResponseCode());