refactor for 7.2
[m6w6/ext-http] / tests / urlparser010.phpt
index e1675ce409f3985acce0f6af9be3767e4bd884bf..f5382085e17a481ac626c3fa0a50a75bdeb9058e 100644 (file)
@@ -4,7 +4,7 @@ url parser multibyte/locale/topct
 <?php
 include "skipif.inc";
 if (!defined("http\\Url::PARSE_MBLOC") or
-       !stristr(setlocale(LC_CTYPE, "C.UTF-8"), ".utf")) {
+       !utf8locale()) {
        die("skip need http\\Url::PARSE_MBLOC support and LC_CTYPE=*.UTF-8");
 }