- removed error prone macros, fixes bug #10151 (build fails dynamic linking on Mac...
[m6w6/ext-http] / tests / exceptions.phpt
index aef60595ab0108c19fccad565f094159133fd97c..1febe33275e33ab9737d1a507c4fc217194fa6eb 100644 (file)
@@ -3,7 +3,7 @@ exceptions
 --SKIPIF--
 <?php
 include 'skip.inc';
-checkver(5);
+checkmin(5);
 ?>
 --FILE--
 <?php
@@ -34,15 +34,6 @@ foreach ($e as $i => $c) {
                printf("%2d: %s\n", $i, get_class($x));
        }
 }
-if (http_support(HTTP_SUPPORT_REQUESTS)) {
-       try {
-               $tmp = http_get(null);
-       } catch (HttpRequestException $x) {
-               printf("%s (%d)\n", $x->getMessage(), $x->getCode());
-       }
-} else {
-       echo "Could not perform request: URL using bad/illegal format or missing URL (8)\n";
-}
 echo "Done\n";
 ?>
 --EXPECTF--
@@ -59,5 +50,4 @@ echo "Done\n";
 10: HttpSocketException
 11: HttpResponseException
 12: HttpUrlException
-Could not perform request: URL using bad/illegal format or missing URL (8)
 Done