add CURLINFO_RETRY_AFTER
[m6w6/ext-http] / tests / urlparser004.phpt
index d1cd1eea061a1ac4f362b6e49d2dc8913bf1f5cd..4eab3b749a053169fd22bc4dac68fc40002fa5ba 100644 (file)
@@ -4,13 +4,15 @@ url parser multibyte/locale
 <?php
 include "skipif.inc";
 if (!defined("http\\Url::PARSE_MBLOC") or
-       !stristr(setlocale(LC_CTYPE, NULL), "utf")) {
+       !utf8locale()) {
        die("skip need http\\Url::PARSE_MBLOC support and LC_CTYPE=*.UTF-8");
 }
 ?>
 --FILE--
 <?php
 echo "Test\n";
+include "skipif.inc";
+utf8locale();
 
 $urls = array(
        "s\xc3\xa7heme:",