fix PHP-5.3 compatibility
[m6w6/ext-http] / tests / params015.phpt
index ad3948cb0581cda7dd60ec86a4c4a36768f30eb0..7501167971d0a0dcc5b573d1f325ee6390d772ec 100644 (file)
@@ -7,7 +7,7 @@ include "skipif.inc";
 --FILE--
 <?php
 echo "Test\n";
-$p = new http\Params(["attachment"=>["filename"=>"foo.bar"]]);
+$p = new http\Params(array("attachment"=>array("filename"=>"foo.bar")));
 var_dump($p->params);
 var_dump((string)$p);
 ?>