better PHP-5.3 compatibility
[m6w6/ext-http] / tests / response003.phpt
index f83df3b8656f1a3d28579ec6d865d66c9586913b..8331e0f8c721cb1c2759c17c8ec4961cdf2a3358 100644 (file)
@@ -12,7 +12,7 @@ a=b
 $r = new http\Env\Response;
 $r->setContentType("text/plain");
 $r->setContentDisposition(
-    ["attachment" => ["filename" => basename(__FILE__)]]
+    array("attachment" => array("filename" => basename(__FILE__)))
 );
 $r->setBody(new http\Message\Body(fopen(__FILE__, "rb")));
 $r->send();