- s/uri/url/gi
[m6w6/ext-http] / tests / skip.inc
index 268edf16d1e96d49ff18836d080c92f0db0e0f99..5665d5dddd141f65563b86bfea15a3911cdae10e 100644 (file)
@@ -7,5 +7,6 @@ function checkmin($ver) { skipif(round($ver,1) > round((double) PHP_VERSION,1),
 function checkmax($ver) { skipif(round($ver,1) < round((double) PHP_VERSION,1), sprintf("need PHP <= v%0.1f",$ver)); }
 function checkurl($url) { skipif(!@fsockopen($url, 80), "$url not responsive"); }
 function checkcls($cls) { skipif(!class_exists($cls), "need class $cls"); }
+function checkver($ver) { checkmin($ver); }
 checkext('http');
 ?>