- fix some gcc warnings
[m6w6/ext-http] / tests / HttpRequest_002.phpt
index 56006a8af8e3e2118095b04d0040811f04d5cbc9..3e95b4570029bb088a01d56b172e162d48d5e77e 100644 (file)
@@ -3,7 +3,8 @@ HttpRequest GET/POST
 --SKIPIF--
 <?php
 include 'skip.inc';
-(5 > (int) PHP_VERSION) and die('skip PHP5 is required for Http classes');
+checkver(5);
+checkurl('www.google.com');
 ?>
 --FILE--
 <?php
@@ -52,3 +53,4 @@ Array
 int(501)
 int(501)
 bool(true)
+