Merge branch 'v2.6.x'
[m6w6/ext-http] / tests / gh-issue47.phpt
index 6956588cf077d0bcdb7351f94a74198b70899393..1a09b8d3579dca58b2c05b4211f6c4ce48791ada 100644 (file)
@@ -13,7 +13,7 @@ $urls = [
     "? = ="
 ];
 
     "? = ="
 ];
 
-$url0=new http\Url($urls[0]);
+$url0=new http\Url($urls[0], null, http\Url::FROM_ENV);
 $url1=$url0->mod($urls[1]);
 
 echo $url1;
 $url1=$url0->mod($urls[1]);
 
 echo $url1;