- fix tests
[m6w6/ext-http] / tests / HttpRequest_002.phpt
index 56006a8af8e3e2118095b04d0040811f04d5cbc9..e2e9672081d0fe1871076b4da9eb0c17bcd1d6cb 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('http://www.google.com');
 ?>
 --FILE--
 <?php