don't abuse STR_FREE; ditch http\Url::parse(); fix tests
[m6w6/ext-http] / tests / urlparser009.phpt
index f3e2b831d993073eaff789841dccf0d08063d862..57080f4a999212ec82a36403b317b0fb1eacd417 100644 (file)
@@ -26,7 +26,7 @@ $urls = array(
 foreach ($urls as $url) {
        try {
                printf("\n%s\n", $url);
-               var_dump(http\Url::parse($url));
+               var_dump(new http\Url($url, null, 0));
        } catch (Exception $e) {
                echo $e->getMessage(),"\n";
        }