projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix incompatible pointer types
[m6w6/ext-http]
/
tests
/
urlparser010.phpt
diff --git
a/tests/urlparser010.phpt
b/tests/urlparser010.phpt
index ae63ae7b4050e4eba43b60049a565d9736e0342e..c7f800af141f89577a15335a78ebcd683ab31364 100644
(file)
--- a/
tests/urlparser010.phpt
+++ b/
tests/urlparser010.phpt
@@
-4,14
+4,18
@@
url parser multibyte/locale/topct
<?php
include "skipif.inc";
if (!defined("http\\Url::PARSE_MBLOC") or
<?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");
}
die("skip need http\\Url::PARSE_MBLOC support and LC_CTYPE=*.UTF-8");
}
-
+if (PHP_OS == "Darwin") {
+ die("skip Darwin\n");
+}
?>
--FILE--
<?php
echo "Test\n";
?>
--FILE--
<?php
echo "Test\n";
+include "skipif.inc";
+utf8locale();
$urls = array(
"http://mike:paßwort@𐌀𐌁𐌂.it/for/€/?by=¢#ø"
$urls = array(
"http://mike:paßwort@𐌀𐌁𐌂.it/for/€/?by=¢#ø"