release v3.2.2
[m6w6/ext-http] / tests / gh-issue47.phpt
index 6956588cf077d0bcdb7351f94a74198b70899393..29205ecf16f0a8b763da910c8c36bf490ec50707 100644 (file)
@@ -8,12 +8,12 @@ include "skipif.inc";
 <?php
 echo "Test\n";
 
-$urls = [
+$urls = array(
     "",
     "? = ="
-];
+);
 
-$url0=new http\Url($urls[0]);
+$url0=new http\Url($urls[0], null, http\Url::FROM_ENV);
 $url1=$url0->mod($urls[1]);
 
 echo $url1;