PHP 8 compatibility
[m6w6/ext-http] / tests / urlparser004.phpt
index 36d6983eed9e09bb4fc65f1331b42d5358c65621..4eab3b749a053169fd22bc4dac68fc40002fa5ba 100644 (file)
@@ -11,7 +11,8 @@ if (!defined("http\\Url::PARSE_MBLOC") or
 --FILE--
 <?php
 echo "Test\n";
-setlocale(LC_CTYPE, "C.UTF-8");
+include "skipif.inc";
+utf8locale();
 
 $urls = array(
        "s\xc3\xa7heme:",