don't abuse STR_FREE; ditch http\Url::parse(); fix tests
[m6w6/ext-http] / tests / urlparser001.phpt
index 73bd9d4e81b318b09ef478cec300ac823951c69a..e7ccc5999a5cdd31e2b737bbc3e6031cbac073e3 100644 (file)
@@ -21,7 +21,7 @@ $urls = array(
 
 foreach ($urls as $url) {
        printf("\n%s\n", $url);
-       var_dump(http\Url::parse($url));
+       var_dump(new http\Url($url, null, 0));
 }
 
 ?>